|
||||||||||
| 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.AdminHandler
Family 0x0007 - Account Administration.
Used for stuff like changing the formating of your screen name, changing your email address, requesting an account confirmation email, getting account info.
SNACHandler| Constructor Summary | |
AdminHandler()
Family 0x0007 |
|
| Method Summary | |
void |
changePassword(AIMSession sess,
AIMConnection conn,
java.lang.String newPw,
java.lang.String curPw)
Subtype 0x0004 - Change password. |
void |
getInfo(AIMSession sess,
AIMConnection conn,
int info)
Subtype 0x0002 - Request a bit of account info. |
void |
handleSNAC(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
AIMInputStream buffer)
Handles incoming SNAC's. |
void |
reqConfirm(AIMSession sess,
AIMConnection conn)
Subtype 0x0006 - Request account confirmation. |
void |
setEmail(AIMSession sess,
AIMConnection conn,
java.lang.String newEmail)
Subtype 0x0004 - Change email address. |
void |
setNick(AIMSession sess,
AIMConnection conn,
java.lang.String newNick)
Subtype 0x0004 - Set screenname formatting. |
| 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 AdminHandler()
| Method Detail |
public void getInfo(AIMSession sess,
AIMConnection conn,
int info)
throws java.io.IOException
sess - the oscar sessionconn - the bos connection for this sessioninfo - the type of info to request
java.io.IOException - if an error occurs
public void setNick(AIMSession sess,
AIMConnection conn,
java.lang.String newNick)
throws java.io.IOException
sess - the oscar sesionconn - the bos connection for this sessionnewNick - the new nick
java.io.IOException - if an error occurs
public void changePassword(AIMSession sess,
AIMConnection conn,
java.lang.String newPw,
java.lang.String curPw)
throws java.io.IOException
sess - the oscar sesionconn - the bos connection for this sessionnewPw - the new passwordcurPw - the current password
java.io.IOException - if an error occurs
public void setEmail(AIMSession sess,
AIMConnection conn,
java.lang.String newEmail)
throws java.io.IOException
sess - the oscar sessionconn - the bos connection for this sessionnewEmail - the new email address
java.io.IOException - if an error occurs
public void reqConfirm(AIMSession sess,
AIMConnection conn)
throws java.io.IOException
sess - the oscar sessionconn - the bos connection for this session
java.io.IOException - if an error occurs
public void handleSNAC(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
AIMInputStream buffer)
throws java.io.IOException
handleSNAC in class SNACHandlersess - the oscar sessionhandler - the handlerframe - the incoming framesnac - the incoming SNACbuffer - the incoming buffer
java.io.IOException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||