|
|||||||||
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.MailHandler
public class MailHandler
Family 0x0018 - Email notification.
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 Summary | |
---|---|
MailHandler()
Family 0x0018. |
Method Summary | |
---|---|
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. |
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 MailHandler()
Method Detail |
---|
public void sendCookies(AIMSession sess) throws IOException
sess
- the oscar session
IOException
- if an error occurspublic void activate(AIMSession sess) throws IOException
sess
- the oscar session
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 |