|
|||||||||
| 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
public class 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,
String newPw,
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,
String newEmail)
Subtype 0x0004 - Change email address. |
void |
setNick(AIMSession sess,
AIMConnection conn,
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 IOException
sess - the oscar sessionconn - the bos connection for this sessioninfo - the type of info to request
IOException - if an error occurs
public void setNick(AIMSession sess,
AIMConnection conn,
String newNick)
throws IOException
sess - the oscar sesionconn - the bos connection for this sessionnewNick - the new nick
IOException - if an error occurs
public void changePassword(AIMSession sess,
AIMConnection conn,
String newPw,
String curPw)
throws IOException
sess - the oscar sesionconn - the bos connection for this sessionnewPw - the new passwordcurPw - the current password
IOException - if an error occurs
public void setEmail(AIMSession sess,
AIMConnection conn,
String newEmail)
throws IOException
sess - the oscar sessionconn - the bos connection for this sessionnewEmail - the new email address
IOException - if an error occurs
public void reqConfirm(AIMSession sess,
AIMConnection conn)
throws IOException
sess - the oscar sessionconn - the bos connection for this session
IOException - if an error occurs
public 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 buffer
IOException - if an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||