|
||||||||||
| 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.ICQHandler
Family 0x0015 - Encapsulated ICQ.
SNACHandler| Constructor Summary | |
ICQHandler()
Family 0x0015. |
|
| Method Summary | |
void |
ackOfflineMsgs(AIMSession sess)
Ack offline messages. |
void |
handleSNAC(AIMSession sess,
SNACHandler handler,
AIMFrame frame,
SNAC snac,
AIMInputStream buffer)
Handles incoming SNAC's. |
void |
identifyClient(AIMSession sess)
Identify this client to the server. |
void |
metaReqBasicInfo(AIMSession sess,
int uin)
Request basic user information. |
void |
metaReqInfo(AIMSession sess,
int uin)
Request user information. |
void |
metaReqUnkInfo(AIMSession sess,
int uin)
Request unk user information. |
void |
metaSearchWP(AIMSession sess,
ICQMetaWP wp)
Search the white pages. |
void |
metaSetAbout(AIMSession sess,
java.lang.String about)
Set the about information. |
void |
metaSetGeneral(AIMSession sess,
ICQMetaGeneral user)
Set general information. |
void |
metaSetMore(AIMSession sess,
ICQMetaMore user)
Set more information. |
void |
metaSetOrg(AIMSession sess,
byte orgCount,
java.util.ArrayList orgAreas,
java.util.ArrayList orgDescriptions,
byte affiliationCount,
java.util.ArrayList affiliationAreas,
java.util.ArrayList affiliationDescriptions)
Set your organization information. |
void |
metaSetPassword(AIMSession sess,
java.lang.String newPassword)
Set the password. |
void |
metaSetSecurity(AIMSession sess,
byte auth,
byte webAware,
byte direct,
byte kind)
Set your security information. |
void |
metaSomething(AIMSession sess)
Dunno. |
void |
reqOfflineMsgs(AIMSession sess)
Request offline messages. |
void |
reqXML(AIMSession sess)
Request XML information. |
void |
searchByMail(AIMSession sess,
java.lang.String email)
Search for a user by email. |
void |
searchByPersInf(AIMSession sess,
java.lang.String name,
java.lang.String surname,
java.lang.String nick,
java.lang.String email)
Search for a user by personal information. |
void |
searchByUIN(AIMSession sess,
int uin)
Search for a user by UIN. |
void |
searchRandom(AIMSession sess,
int group)
Search for a random user to chat with. |
void |
sendSMS(AIMSession sess,
ICQSMSMessage sms)
Send an SMS (Short Message Service) message. |
void |
setRandom(AIMSession sess,
int group)
Set your random chat information. |
| 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 ICQHandler()
| Method Detail |
public void reqOfflineMsgs(AIMSession sess)
throws java.io.IOException
sess - the oscar session
java.io.IOException - if an error occurs
public void ackOfflineMsgs(AIMSession sess)
throws java.io.IOException
sess - the oscar session
java.io.IOException - if an error occurs
public void metaSetGeneral(AIMSession sess,
ICQMetaGeneral user)
throws java.io.IOException
sess - the oscar sessionuser - the general information
java.io.IOException - if an error occurs
public void metaSetMore(AIMSession sess,
ICQMetaMore user)
throws java.io.IOException
sess - the oscar sessionuser - more information
java.io.IOException - if an error occurs
public void metaSetAbout(AIMSession sess,
java.lang.String about)
throws java.io.IOException
sess - the oscar sessionabout - the about information
java.io.IOException - if an error occurs
public void metaSetOrg(AIMSession sess,
byte orgCount,
java.util.ArrayList orgAreas,
java.util.ArrayList orgDescriptions,
byte affiliationCount,
java.util.ArrayList affiliationAreas,
java.util.ArrayList affiliationDescriptions)
throws java.io.IOException
sess - the oscar sessionorgCount - the org countorgAreas - the org areasorgDescriptions - the org descriptionsaffiliationCount - the affiliation countaffiliationAreas - the affiliation areasaffiliationDescriptions - the affiliation descriptions
java.io.IOException - if an error occurs
public void metaSetSecurity(AIMSession sess,
byte auth,
byte webAware,
byte direct,
byte kind)
throws java.io.IOException
sess - the oscar sessionauth - whether or not you require authorizationwebAware - whether or not others can see your prescence on the webdirect - direct connections with any user, only contact list, or
only authorizedkind - user kind
java.io.IOException - if an error occurs
public void metaSetPassword(AIMSession sess,
java.lang.String newPassword)
throws java.io.IOException
sess - the oscar sessionnewPassword - the new password
java.io.IOException - if an error occurs
public void metaReqBasicInfo(AIMSession sess,
int uin)
throws java.io.IOException
sess - the oscar sessionuin - the UIN to request information for
java.io.IOException - if an error occurs
public void metaReqUnkInfo(AIMSession sess,
int uin)
throws java.io.IOException
sess - the oscar sessionuin - the UIN to request information for
java.io.IOException - if an error occurs
public void metaReqInfo(AIMSession sess,
int uin)
throws java.io.IOException
sess - the oscar sessionuin - the UIN to request information for
java.io.IOException - if an error occurs
public void metaSearchWP(AIMSession sess,
ICQMetaWP wp)
throws java.io.IOException
sess - the oscar sessionwp - the white page information
java.io.IOException - if an error occurs
public void searchByPersInf(AIMSession sess,
java.lang.String name,
java.lang.String surname,
java.lang.String nick,
java.lang.String email)
throws java.io.IOException
sess - the oscar sessionname - the user's namesurname - the user's last namenick - the user's nickemail - the user's email
java.io.IOException - if an error occurs
public void searchByUIN(AIMSession sess,
int uin)
throws java.io.IOException
sess - the oscar sessionuin - the UIN to search for
java.io.IOException - if an error occurs
public void searchByMail(AIMSession sess,
java.lang.String email)
throws java.io.IOException
sess - the oscar sessionemail - the email to search for
java.io.IOException - if an error occurs
public void searchRandom(AIMSession sess,
int group)
throws java.io.IOException
sess - the oscar sessiongroup - the chat group
java.io.IOException - if an error occurs
public void setRandom(AIMSession sess,
int group)
throws java.io.IOException
sess - the oscar sessiongroup - the chat group
java.io.IOException - if an error occurs
public void metaSomething(AIMSession sess)
throws java.io.IOException
sess - the oscar session
java.io.IOException - if an error occurs
public void reqXML(AIMSession sess)
throws java.io.IOException
sess - the oscar session
java.io.IOException - if an error occurs
public void identifyClient(AIMSession sess)
throws java.io.IOException
sess - the oscar session
java.io.IOException - if an error occurs
public void sendSMS(AIMSession sess,
ICQSMSMessage sms)
throws java.io.IOException
Currently this seems to really make my life difficult for making ICQ packets. I need to switch to a TLVChain model.
TLV(0x0001, 0x0016, 0x00000000000000000000000000000000)
sess - the oscar sessionsms - the SMS message
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 | |||||||||