|
|||||||||
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.MiscHandler
public class MiscHandler
Miscelaneous commands. I don't like this, but it won't really hurt to keep it.
SNACHandler
Constructor Summary | |
---|---|
MiscHandler()
Group 0xffff. |
Method Summary | |
---|---|
void |
genericReqInt(AIMSession sess,
AIMConnection conn,
int family,
int subtype,
int data)
Send a request with a SNAC followed by an integer. |
void |
genericReqInt(AIMSession sess,
AIMConnection conn,
int family,
int subtype,
int data,
boolean wantResponse)
Send a request with a SNAC followed by an integer. |
void |
genericReqNull(AIMSession sess,
AIMConnection conn,
int family,
int subtype)
Generic method for sending commands. |
void |
genericReqNull(AIMSession sess,
AIMConnection conn,
int family,
int subtype,
boolean wantResponse)
Generic method for sending commands. |
void |
genericReqNullSnacID(AIMSession sess,
AIMConnection conn,
int family,
int subtype)
Send a request with a null SNAC. |
void |
genericReqShort(AIMSession sess,
AIMConnection conn,
int family,
int subtype,
int data)
Send a request with a SNAC followed by a short. |
void |
handleSNAC(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
AIMInputStream buffer)
Handles incoming SNAC's. |
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 MiscHandler()
Method Detail |
---|
public void genericReqNull(AIMSession sess, AIMConnection conn, int family, int subtype, boolean wantResponse) throws IOException
sess
- the oscar sessionconn
- the bos connection for this sessionfamily
- the SNAC familysubtype
- the SNAC subtypewantResponse
- whether or not we want an ack for this message
IOException
- if an error occurspublic void genericReqNull(AIMSession sess, AIMConnection conn, int family, int subtype) throws IOException
sess
- the oscar sessionconn
- the bos connection for this sessionfamily
- the SNAC familysubtype
- the SNAC subtype
IOException
- if an error occurspublic void genericReqNullSnacID(AIMSession sess, AIMConnection conn, int family, int subtype) throws IOException
sess
- the oscar sessionconn
- the bos connection for this sessionfamily
- the SNAC familysubtype
- the SNAC subtype
IOException
- if an error occurspublic void genericReqInt(AIMSession sess, AIMConnection conn, int family, int subtype, int data, boolean wantResponse) throws IOException
sess
- the oscar sessionconn
- the bos connection for this sessionfamily
- the SNAC familysubtype
- the SNAC subtypedata
- the integer datawantResponse
- whether or not we want an ack
IOException
- if an error occurspublic void genericReqInt(AIMSession sess, AIMConnection conn, int family, int subtype, int data) throws IOException
sess
- the oscar sessionconn
- the bos connection for this sessionfamily
- the SNAC familysubtype
- the SNAC subtypedata
- the integer data
IOException
- if an error occurspublic void genericReqShort(AIMSession sess, AIMConnection conn, int family, int subtype, int data) throws IOException
sess
- the oscar sessionconn
- the bos connection for this sessionfamily
- the SNAC familysubtype
- the SNAC subtypedata
- the short data
IOException
- if an error occurspublic void handleSNAC(AIMSession sess, SNACHandler handler, AIMFrame frame, SNAC snac, AIMInputStream buffer) throws IOException
handleSNAC
in class SNACHandler
sess
- 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 |