|
|||||||||
| 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
public class 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,
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 IOException
sess - the oscar sessionconn - the chat connection
IOException - if an error occurs
public void createRoom(AIMSession sess,
AIMConnection conn,
String name,
int exchange)
throws IOException
sess - the oscar sessionconn - the chat connectionname - the chat room nameexchange - the chat room exchange
IOException - if an error occurs
public void handleSNAC(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
AIMInputStream buffer)
throws IOException
handleSNAC in class SNACHandlersess - the oscar sessionhandler - the handlerframe - the incoming framesnac - the incoming SNACbuffer - the incoming buffer
IOException - if an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||