|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.walluck.oscar.handlers.SNACHandler
org.walluck.oscar.handlers.ChatNavHandler
Family 0x000d - Handle ChatNav.
The ChatNav(igation) service does various things to keep chat alive. It provides room information, room searching and creating, as well as giving users the right ("permission") to use chat.
SNACHandler
Constructor Summary | |
ChatNavHandler()
Family 0x0009. |
Method Summary | |
void |
createRoom(AIMSession sess,
AIMConnection conn,
java.lang.String name,
int exchange)
Subtype 0x0008 - Create a chat room. |
void |
handleSNAC(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
AIMInputStream buffer)
Handles incoming SNAC's. |
void |
reqRights(AIMSession sess,
AIMConnection conn)
Subtype 0x0002 - Request chat rights. |
Methods inherited from class org.walluck.oscar.handlers.SNACHandler |
getFamily, getVersion, setFamily, setVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChatNavHandler()
Method Detail |
public void reqRights(AIMSession sess, AIMConnection conn) throws java.io.IOException
sess
- the oscar sessionconn
- the chat connection
java.io.IOException
- if an error occurspublic void createRoom(AIMSession sess, AIMConnection conn, java.lang.String name, int exchange) throws java.io.IOException
sess
- the oscar sessionconn
- the chat connectionname
- the chat room nameexchange
- the chat room exchange
java.io.IOException
- if an error occurspublic void handleSNAC(AIMSession sess, SNACHandler handler, AIMFrame frame, SNAC snac, AIMInputStream buffer) throws java.io.IOException
handleSNAC
in class SNACHandler
sess
- the oscar sessionhandler
- the handlerframe
- the incoming framesnac
- the incoming SNACbuffer
- the incoming buffer
java.io.IOException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |