|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.jibble.pircbot.DccChat
This class is used to allow the bot to interact with a DCC Chat session.
| Constructor Summary | |
DccChat(PircBot bot,
String sourceNick,
String address,
int port)
The constructor connects to the DCC Chat client. |
|
| Method Summary | |
void |
close()
Closes the DCC Chat connection. |
String |
readLine()
Reads the next line of text from the client at the other end of our DCC Chat connection. |
void |
sendLine(String line)
Sends a line of text to the client at the other end of our DCC Chat connection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DccChat(PircBot bot,
String sourceNick,
String address,
int port)
throws IOException
| Method Detail |
public String readLine()
throws IOException
IOException
public void sendLine(String line)
throws IOException
line - The line of text to be sent. This should not include
linefeed characters.
IOException
public void close()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||