Lisamaterjalide loend
Algne fail: vana_veeb/pjirc/doc/javadoc/irc/dcc/DCCChat.html.
========== START OF NAVBAR ==========
=========== END OF NAVBAR ===========
======== START OF CLASS DATA ========
irc.dcc
Class DCCChat
java.lang.Object
|
+--irc.IRCObject
|
+--irc.Source
|
+--irc.dcc.DCCSource
|
+--irc.dcc.DCCChat
- public class DCCChat
- extends DCCSource
The DCCChat source.
|
Method Summary |
java.lang.String |
getName()
Get this source name. |
void |
leave()
Request to leave (close) this source. |
void |
openActive(java.lang.String ip,
java.lang.String port)
Open active communication. |
java.lang.String |
openPassive()
Open passive communication. |
boolean |
talkable()
Test wether this source can accept messages from user. |
| Methods inherited from class irc.Source |
action, activate, addSourceListener, clear, getInterpretor, getServer, isActive, messageReceived, noticeReceived, removeSourceListener, report, sendString, setCTCPFilter, setInterpretor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DCCChat
public DCCChat(IRCConfiguration config,
DCCChatServer s,
java.lang.String nick)
- Create a new DCCChat.
- Parameters:
config - global configuration.nick - remove nick.
getName
public java.lang.String getName()
- Description copied from class:
Source
- Get this source name.
- Specified by:
getName in class Source
- Returns:
- source name.
talkable
public boolean talkable()
- Description copied from class:
Source
- Test wether this source can accept messages from user.
- Specified by:
talkable in class Source
- Returns:
- true if this source accepts user input, false otherwise.
leave
public void leave()
- Description copied from class:
Source
- Request to leave (close) this source.
- Specified by:
leave in class Source
openPassive
public java.lang.String openPassive()
- Open passive communication.
- Returns:
- string to send to peer in order to initiate the communication.
openActive
public void openActive(java.lang.String ip,
java.lang.String port)
- Open active communication.
- Parameters:
ip - ip to contact.port - port to contact.