public class AdvertHandler extends SNACHandler
SNACHandler| Constructor and Description |
|---|
AdvertHandler()
Family 0x0005.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleSNAC(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
AIMInputStream buffer)
Handles incoming SNAC's.
|
void |
requestAds(AIMSession sess,
AIMConnection conn)
Subtype 0x0002 - Request a block of ads.
|
getFamily, getVersion, setFamily, setVersionpublic void requestAds(AIMSession sess, AIMConnection conn) throws IOException
sess - the oscar sessionconn - the bos connection for this sessionIOException - 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