|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.chat.ChatManager
This class establishes a connection for a chat, either incoming or outgoing, and also maintains a list of all the chats currently in progress.
Constructor Summary | |
ChatManager()
|
Method Summary | |
void |
accept(java.net.Socket socket)
Accepts the given socket for a one-to-one chat connection, like an instant messanger. |
void |
blockHost(java.lang.String host)
blocks incoming connections from a particular ip address |
static ChatManager |
instance()
Instance accessor for the ChatManager. |
void |
removeChat(InstantMessenger chat)
Remove the instance of chat from the list of chats in progress. |
Chatter |
request(java.lang.String host,
int port)
Request a chat connection from the host specified returns an uninitialized chat connection. |
void |
unblockHost(java.lang.String host)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChatManager()
Method Detail |
public static ChatManager instance()
public void accept(java.net.Socket socket)
public Chatter request(java.lang.String host, int port)
public void removeChat(InstantMessenger chat)
public void blockHost(java.lang.String host)
public void unblockHost(java.lang.String host)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |