public class MailHandler extends SNACHandler
Used for being alerted when the email address(es) associated with
your screen name get new electronic-m. For normal AIM accounts, you
get the email address screenname@netscape.net. AOL accounts have
screenname@aol.com, and can also activate a netscape.net
account.
SNACHandler| Constructor and Description |
|---|
MailHandler()
Family 0x0018.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate(AIMSession sess)
Subtype 0x0016 - Send something or other.
|
void |
handleSNAC(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
AIMInputStream buffer)
Handles incoming SNAC's.
|
void |
sendCookies(AIMSession sess)
Subtype 0x0006 - Request information about your email account.
|
getFamily, getVersion, setFamily, setVersionpublic void sendCookies(AIMSession sess) throws IOException
sess - the oscar sessionIOException - if an error occurspublic void activate(AIMSession sess) throws IOException
sess - the oscar 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