public class MiscHandler extends SNACHandler
SNACHandler| Constructor and Description |
|---|
MiscHandler()
Group 0xffff.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getFamily, getVersion, setFamily, setVersionpublic 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 messageIOException - 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 subtypeIOException - 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 subtypeIOException - 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 ackIOException - 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 dataIOException - 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 dataIOException - if an error occurspublic 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 bufferIOException - if an error occurs