| 
 | PircBot Java IRC Bot | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jibble.pircbot.DccChat
This class is used to allow the bot to interact with a DCC Chat session.
| Method Summary | |
|  void | accept()Accept this DccChat connection. | 
|  void | close()Closes the DCC Chat connection. | 
|  BufferedReader | getBufferedReader()Returns the BufferedReader used by this DCC Chat. | 
|  BufferedWriter | getBufferedWriter()Returns the BufferedReader used by this DCC Chat. | 
|  String | getHostname()Returns the hostname of the DCC Chat initiator. | 
|  String | getLogin()Returns the login of the DCC Chat initiator. | 
|  String | getNick()Returns the nick of the other user taking part in this file transfer. | 
|  long | getNumericalAddress()Returns the address of the sender as a long. | 
|  Socket | getSocket()Returns the raw Socket used by this DCC Chat. | 
|  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 | 
| Method Detail | 
public void accept()
            throws IOException
IOException
public String readLine()
                throws IOException
IOException - If an I/O error occurs.
public void sendLine(String line)
              throws IOException
line - The line of text to be sent.  This should not include
             linefeed characters.
IOException - If an I/O error occurs.
public void close()
           throws IOException
IOException - If an I/O error occurs.public String getNick()
public String getLogin()
public String getHostname()
public BufferedReader getBufferedReader()
public BufferedWriter getBufferedWriter()
public Socket getSocket()
public long getNumericalAddress()
| 
 | PircBot Java IRC Bot | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||