public class Oscar extends Object implements ServiceListener, LocateListener, BuddyListListener, ICBMListener, UserLookupListener, PopupListener, BOSListener, StatsListener, ChatNavListener, ChatListener, ODirListener, IconListener, SSIListener, ICQListener, LoginListener, MailListener, MiscListener
Any volunteers?
Constructor and Description |
---|
Oscar()
Creates a new Oscar class.
|
Modifier and Type | Method and Description |
---|---|
void |
accountConfirm(AIMSession sess,
AIMFrame frame,
int status)
Describe
accountConfirm method here. |
void |
addBuddy(AIMSession sess,
String name,
String group)
Describe
addBuddy method here. |
void |
addDeny(AIMSession sess,
String who)
Describe
addDeny method here. |
void |
addPermit(AIMSession sess,
String who)
Describe
addPermit method here. |
void |
bosRights(AIMSession sess,
AIMFrame frame,
int maxpermits,
int maxdenies)
Describe
bosRights method here. |
void |
buddyChange(AIMSession sess,
AIMFrame frame,
UserInfo info)
Describe
buddyChange method here. |
void |
buddylistRights(AIMSession sess,
AIMFrame frame,
int maxbuddies,
int maxwatchers)
Describe
buddylistRights method here. |
String |
capsToText(int caps)
Print user capabilities as text.
|
void |
changeEmail(AIMSession sess,
String eml)
Describe
changeEmail method here. |
void |
changePassword(AIMSession sess,
String oldp,
String newp)
Describe
changePassword method here. |
boolean |
checkIcon(String sn,
byte[] iconcsum) |
boolean |
checkIcon(String sn,
int iconcsum) |
void |
checkMail(AIMSession sess)
Describe
checkMail method here. |
void |
clientAutoresp(AIMSession sess,
AIMFrame frame,
int channel,
String sn,
int reason)
Describe
clientAutoresp method here. |
void |
clientAutoresp(AIMSession sess,
AIMFrame frame,
int channel,
String sn,
int reason,
int state,
String msg)
Describe
clientAutoresp method here. |
void |
confirmAccount(AIMSession sess)
Describe
confirmAccount method here. |
void |
convoClosed(ArrayList dims,
DirectIM who)
Describe
convoClosed method here. |
void |
evilNotify(AIMSession sess,
AIMFrame frame,
int newEvil,
UserInfo userinfo)
Describe
evilNotify method here. |
Buddy |
findBuddy(String sn)
Find a Buddy by name.
|
BuddyGroup |
findBuddyGroupByBuddy(String sn)
Find a BuddyGroup by a buddy.
|
void |
formatScreenname(AIMSession sess,
String sn)
Describe
formatScreenname method here. |
int |
getAIMCaps()
Describe
getAIMCaps method here. |
void |
getAway(AIMSession sess,
String sn)
Describe
getAway method here. |
ArrayList |
getBuddyGroups()
Describe
getBuddyGroups method here. |
void |
getEmail(AIMSession sess)
Describe
getEmail method here. |
void |
getFile(AIMSession sess,
String sn)
Describe
getFile method here. |
static int |
getICQCaps()
Describe
getICQCaps method here. |
ICQPacket |
getICQPacket(AIMFrame frame)
Get an ICQ packet from the given frame.
|
void |
getInfo(AIMSession sess,
String sn)
Describe
getInfo method here. |
String |
getPassword()
Describe
getPassword method here. |
String |
getSN()
Describe
getSN method here. |
void |
godDamnICQ(AIMSession sess,
AIMFrame frame,
String unused)
Describe
godDamnICQ method here. |
void |
icbmRemoveCookie(AIMSession sess,
MsgCookie cookie)
Describe
icbmRemoveCookie method here. |
void |
incomingChatMsg(AIMSession sess,
AIMFrame frame,
UserInfo userinfo,
String msg)
Describe
incomingChatMsg method here. |
void |
incomingIMCH1(AIMSession sess,
AIMFrame frame,
int channel,
UserInfo userinfo,
AOLIM args)
Describe
incomingIMCH1 method here. |
void |
incomingIMCH2(AIMSession sess,
AIMFrame frame,
int channel,
UserInfo userinfo,
IncomingIMCH2 args)
Describe
incomingIMCH2 method here. |
void |
incomingIMCH4(AIMSession sess,
AIMFrame frame,
int channel,
UserInfo userinfo,
IncomingIMCH4 args)
Describe
incomingIMCH4 method here. |
void |
infoChange(AIMSession sess,
AIMFrame frame,
boolean infoChange,
short perms,
short err,
String url,
String sn,
String email)
Describe
infoChange method here. |
void |
infoUpdate(AIMSession sess,
AIMFrame frame,
Chat roominfo,
String roomName,
int userCount,
ArrayList occupants,
String roomdesc,
int flags,
int creationTime,
int maxmsglen,
int maxOccupancy,
int creationPerms,
int maxvisiblemsglen)
Describe
infoUpdate method here. |
void |
interestsReply(AIMSession sess,
AIMFrame frame,
ArrayList interests)
Describe
interestsReply method here. |
void |
invitationSent(AIMSession sess,
AIMFrame frame,
AIMInputStream buffer)
Describe
invitationSent method here. |
void |
invite(AIMSession sess,
String sn,
String name)
Describe
invite method here. |
void |
join(AIMSession sess,
String chat)
Describe
join method here. |
void |
keyParse(AIMSession sess,
AIMFrame frame,
String keystr)
Describe
keyParse method here. |
void |
locateRights(AIMSession sess,
AIMFrame frame,
int maxsiglen)
Describe
locateRights method here. |
void |
login(AIMSession sess,
String sn)
Describe
login method here. |
void |
memRequest(AIMSession sess,
AIMFrame frame,
int offset,
int len,
String modname)
Describe
memRequest method here. |
void |
migrate(AIMSession sess,
AIMFrame frame,
String ip,
byte[] cookie)
Describe
migrate method here. |
void |
missedCall(AIMSession sess,
AIMFrame frame,
int channel,
UserInfo userinfo,
int numMissed,
int reason)
Describe
missedCall method here. |
void |
motd(AIMSession sess,
AIMFrame frame,
int id,
String msg)
Describe
motd method here. |
void |
moveBuddy(AIMSession sess,
String name,
String oldGroup,
String newGroup)
Describe
moveBuddy method here. |
void |
msgAck(AIMSession sess,
AIMFrame frame,
int type,
String sn)
Describe
msgAck method here. |
void |
newUIN(AIMSession sess,
AIMFrame frame,
int uin,
int ip,
int port)
Describe
newUIN method here. |
void |
outgoingIM(AIMSession sess,
AIMFrame frame,
int channel,
String sn,
String msg,
int icbmflags,
short flag1,
short flag2)
Describe
outgoingIM method here. |
void |
paramInfo(AIMSession sess,
AIMFrame frame,
ICBMParams params)
Describe
paramInfo method here. |
void |
parse(AIMSession sess,
AIMFrame frame,
LoginResponseInfo info,
int family,
int subtype)
Describe
parse method here. |
void |
parseAck(AIMSession sess,
AIMFrame frame)
Describe
parseAck method here. |
void |
parseAdd(AIMSession sess,
AIMFrame frame)
Describe
parseAdd method here. |
void |
parseAuthReq(AIMSession sess,
AIMFrame frame,
String sn,
String reason)
Describe
parseAuthReq method here. |
void |
parseData(AIMSession sess,
AIMFrame frame,
int fmtVer,
int numitems,
List list,
int timestamp)
Describe
parseData method here. |
void |
parseDataUnchanged(AIMSession sess,
AIMFrame frame)
Describe
parseDataUnchanged method here. |
void |
parseDel(AIMSession sess,
AIMFrame frame)
Describe
parseDel method here. |
void |
parseIcon(AIMSession sess,
AIMFrame frame,
String sn,
byte[] iconcsum,
byte[] icon)
Describe
parseIcon method here. |
void |
parseInfoCreate(AIMSession sess,
AIMFrame frame,
int subtype,
String fqcn,
int instance,
int exchange,
int flags,
int createtime,
int maxmsglen,
int maxoccupancy,
int createperms,
int unknown,
String name,
String ck)
Describe
parseInfoCreate method here. |
void |
parseInfoPerms(AIMSession sess,
AIMFrame frame,
int subtype,
int maxrooms,
int curexchange,
ArrayList exchanges)
Describe
parseInfoPerms method here. |
void |
parseMod(AIMSession sess,
AIMFrame frame)
Describe
parseMod method here. |
void |
parsePopup(AIMSession sess,
AIMFrame frame,
AIMPopup popup)
Describe
parsePopup method here. |
void |
parseRights(AIMSession sess,
AIMFrame frame,
short[] maxitems)
Describe
parseRights method here. |
void |
printBuddyList()
Describe
printBuddyList method here. |
void |
rateChange(AIMSession sess,
AIMFrame frame,
int code,
RateClass rc)
Describe
rateChange method here. |
void |
rateResp(AIMSession sess,
AIMFrame frame)
Describe
rateResp method here. |
void |
receiveAdded(AIMSession sess,
AIMFrame frame,
String sn)
Describe
receiveAdded method here. |
void |
receiveAuthGrant(AIMSession sess,
AIMFrame frame,
String sn,
String msg)
Describe
receiveAuthGrant method here. |
void |
receiveAuthGranted(AIMSession sess,
AIMFrame frame,
String sn,
byte reply,
String msg)
Describe
receiveAuthGranted method here. |
void |
receiveAuthReply(AIMSession sess,
AIMFrame frame,
String sn,
byte reply,
String msg)
Describe
receiveAuthReply method here. |
void |
receiveAuthRequest(AIMSession sess,
AIMFrame frame,
String sn,
String msg)
Describe
receiveAuthRequest method here. |
void |
redirect(AIMSession sess,
AIMFrame frame,
Redir redir)
Describe
redirect method here. |
void |
remDeny(AIMSession sess,
String who)
Describe
remDeny method here. |
void |
removeBuddy(AIMSession sess,
String name,
String group)
Describe
removeBuddy method here. |
void |
remPermit(AIMSession sess,
String who)
Describe
remPermit method here. |
void |
renameGroup(AIMSession sess,
String oldGroup,
String newGroup)
Describe
renameGroup method here. |
void |
reply(AIMSession sess,
AIMFrame frame,
String searchAddr,
int j,
ArrayList buf)
Describe
reply method here. |
void |
reportAck(AIMSession sess,
AIMFrame frame,
AIMInputStream buffer)
Describe
reportAck method here. |
void |
reportInterval(AIMSession sess,
AIMFrame frame,
int interval)
Describe
reportInterval method here. |
void |
searchReply(AIMSession sess,
AIMFrame frame,
ArrayList matches)
Describe
searchReply method here. |
void |
securID(AIMSession sess,
AIMFrame frame)
Describe
securID method here. |
void |
selfInfo(AIMSession sess,
AIMFrame frame,
UserInfo userinfo)
Describe
selfInfo method here. |
void |
sendFile(AIMSession sess,
String sn,
String file)
Describe
sendFile method here. |
void |
sendIM(AIMSession sess,
String name,
String message,
int imflags)
Describe
sendIM method here. |
void |
serverPause(AIMSession sess,
AIMFrame frame)
Describe
serverPause method here. |
void |
serverResume(AIMSession sess,
AIMFrame frame)
Describe
serverResume method here. |
void |
setAwayAIM(AIMSession sess,
String awaymsg)
Describe
setAwayAIM method here. |
void |
setAwayAIM(AIMSession sess,
String encoding,
byte[] awaymb)
Describe
setAwayAIM method here. |
void |
setAwayICQ(AIMSession sess,
String awaymsg)
Describe
setAwayICQ method here. |
void |
setInfo(AIMSession sess,
String encoding,
String text)
Describe
setInfo method here. |
void |
setPassword(String password)
Describe
setPassword method here. |
void |
setSN(String sn)
Describe
setSN method here. |
void |
snacError(AIMSession sess,
AIMFrame frame,
int error,
Object data)
Describe
snacError method here. |
void |
snacRequestTimedOut(AIMSession sess,
SNAC snac)
Describe
snacRequestTimedOut method here. |
void |
srvMeta10E(AIMSession sess,
AIMFrame frame,
int unknown)
Describe
srvMeta10E method here. |
void |
srvMetaAbout(AIMSession sess,
AIMFrame frame,
String about)
Describe
srvMetaAbout method here. |
void |
srvMetaAboutDone(AIMSession sess,
AIMFrame frame)
Describe
srvMetaAboutDone method here. |
void |
srvMetaBackground(AIMSession sess,
AIMFrame frame,
byte pastCount,
ArrayList pastAreas,
ArrayList pastDescriptions,
byte affiliationCount,
ArrayList affiliationAreas,
ArrayList affiliationDescriptions)
Describe
srvMetaBackground method here. |
void |
srvMetaFound(AIMSession sess,
AIMFrame frame,
ICQMetaFound imf)
Describe
srvMetaFound method here. |
void |
srvMetaGeneral(AIMSession sess,
AIMFrame frame,
ICQMetaGeneral img)
Describe
srvMetaGeneral method here. |
void |
srvMetaGeneralDone(AIMSession sess,
AIMFrame frame)
Describe
srvMetaGeneralDone method here. |
void |
srvMetaInfo(AIMSession sess,
AIMFrame frame,
ICQMetaGeneral img)
Describe
srvMetaInfo method here. |
void |
srvMetaInterest(AIMSession sess,
AIMFrame frame,
byte interestCount,
ArrayList interestAreas,
ArrayList interestDescriptions)
Describe
srvMetaInterest method here. |
void |
srvMetaLast(AIMSession sess,
AIMFrame frame,
ICQMetaFound imf,
int missed)
Describe
srvMetaLast method here. |
void |
srvMetaMore(AIMSession sess,
AIMFrame frame,
ICQMetaMore imm)
Describe
srvMetaMore method here. |
void |
srvMetaMoreDone(AIMSession sess,
AIMFrame frame)
Describe
srvMetaMoreDone method here. |
void |
srvMetaMoreEmail(AIMSession sess,
AIMFrame frame,
byte country,
byte flags,
String email)
Describe
srvMetaMoreEmail method here. |
void |
srvMetaPassDone(AIMSession sess,
AIMFrame frame)
Describe
srvMetaPassDone method here. |
void |
srvMetaRandom(AIMSession sess,
AIMFrame frame,
int uin,
short group,
byte[] externalIP,
int port,
byte[] internalIP,
byte tcpFlags,
short tcpVersion,
byte[] unknown)
Describe
srvMetaRandom method here. |
void |
srvMetaRandomDone(AIMSession sess,
AIMFrame frame)
Describe
srvMetaRandomDone method here. |
void |
srvMetaWork(AIMSession sess,
AIMFrame frame,
ICQMetaWork imw)
Describe
srvMetaWork method here. |
void |
srvOfflineMsg(AIMSession sess,
AIMFrame frame,
ICQOfflineMsg msg)
Describe
srvOfflineMsg method here. |
void |
srvOfflineMsgDone(AIMSession sess,
AIMFrame frame)
Describe
srvOfflineMsgDone method here. |
void |
trillianEncryption(AIMSession sess,
String sn,
String msg)
Describe
trillianEncryption method here. |
void |
typingNotification(AIMSession sess,
AIMFrame frame,
byte[] ck,
short type,
String sn,
short typing)
Describe
typingNotification method here. |
void |
unhandledFrame(AIMSession sess,
AIMFrame frame)
Describe
unhandledFrame method here. |
void |
uploadAck(AIMSession sess,
AIMFrame frame,
byte[] cksum)
Describe
uploadAck method here. |
void |
userInfo(AIMSession sess,
AIMFrame frame,
UserInfo info,
int infoType,
String textEncoding,
String text)
Describe
userInfo method here. |
void |
userlistChange(AIMSession sess,
AIMFrame frame,
int curcount,
ArrayList userinfo)
Describe
userlistChange method here. |
void |
youveGotMail(AIMSession sess,
AIMFrame frame,
EmailInfo ei,
boolean haveNewMail)
Describe
youveGotMail method here. |
public int getAIMCaps()
getAIMCaps
method here.int
valuepublic static int getICQCaps()
getICQCaps
method here.int
valuepublic ICQPacket getICQPacket(AIMFrame frame)
frame
- the framepublic ArrayList getBuddyGroups()
getBuddyGroups
method here.ArrayList
valuepublic void printBuddyList()
printBuddyList
method here.public Buddy findBuddy(String sn)
sn
- the screenname of the buddypublic BuddyGroup findBuddyGroupByBuddy(String sn)
sn
- the screenname of the buddypublic String getSN()
getSN
method here.String
valuepublic void setSN(String sn)
setSN
method here.sn
- a String
valuepublic void setPassword(String password)
setPassword
method here.password
- a String
valuepublic String getPassword()
getPassword
method here.String
valuepublic String capsToText(int caps)
caps
- the capabilitiespublic void sendIM(AIMSession sess, String name, String message, int imflags) throws IOException
sendIM
method here.sess
- an AIMSession
valuename
- a String
valuemessage
- a String
valueimflags
- an int
valueIOException
- if an error occurspublic void sendFile(AIMSession sess, String sn, String file)
sendFile
method here.sess
- an AIMSession
valuesn
- a String
valuefile
- a String
valuepublic void getFile(AIMSession sess, String sn)
getFile
method here.sess
- an AIMSession
valuesn
- a String
valuepublic void trillianEncryption(AIMSession sess, String sn, String msg)
trillianEncryption
method here.sess
- an AIMSession
valuesn
- a String
valuemsg
- a String
valuepublic void join(AIMSession sess, String chat)
join
method here.sess
- an AIMSession
valuechat
- a String
valuepublic void invite(AIMSession sess, String sn, String name)
invite
method here.sess
- an AIMSession
valuesn
- a String
valuename
- a String
valuepublic void getInfo(AIMSession sess, String sn) throws IOException
getInfo
method here.sess
- an AIMSession
valuesn
- a String
valueIOException
- if an error occurspublic void getAway(AIMSession sess, String sn) throws IOException
getAway
method here.sess
- an AIMSession
valuesn
- a String
valueIOException
- if an error occurspublic void setInfo(AIMSession sess, String encoding, String text) throws IOException
setInfo
method here.sess
- an AIMSession
valueencoding
- a String
valuetext
- a String
valueIOException
- if an error occurspublic void setAwayAIM(AIMSession sess, String encoding, byte[] awaymb) throws IOException
setAwayAIM
method here.sess
- an AIMSession
valueencoding
- a String
valueawaymb
- a byte[]
valueIOException
- if an error occurspublic void setAwayAIM(AIMSession sess, String awaymsg) throws IOException
setAwayAIM
method here.sess
- an AIMSession
valueawaymsg
- a String
valueIOException
- if an error occurspublic void setAwayICQ(AIMSession sess, String awaymsg) throws IOException
setAwayICQ
method here.sess
- an AIMSession
valueawaymsg
- a String
valueIOException
- if an error occurspublic void addBuddy(AIMSession sess, String name, String group) throws IOException
addBuddy
method here.sess
- an AIMSession
valuename
- a String
valuegroup
- a String
valueIOException
- if an error occurspublic void moveBuddy(AIMSession sess, String name, String oldGroup, String newGroup) throws IOException
moveBuddy
method here.sess
- an AIMSession
valuename
- a String
valueoldGroup
- a String
valuenewGroup
- a String
valueIOException
- if an error occurspublic void removeBuddy(AIMSession sess, String name, String group) throws IOException
removeBuddy
method here.sess
- an AIMSession
valuename
- a String
valuegroup
- a String
valueIOException
- if an error occurspublic void renameGroup(AIMSession sess, String oldGroup, String newGroup) throws IOException
renameGroup
method here.sess
- an AIMSession
valueoldGroup
- a String
valuenewGroup
- a String
valueIOException
- if an error occurspublic void login(AIMSession sess, String sn) throws IOException
login
method here.sess
- an AIMSession
valuesn
- a String
valueIOException
- if an error occurspublic void checkMail(AIMSession sess) throws IOException
checkMail
method here.sess
- an AIMSession
valueIOException
- if an error occurspublic void addPermit(AIMSession sess, String who) throws IOException
addPermit
method here.sess
- an AIMSession
valuewho
- a String
valueIOException
- if an error occurspublic void addDeny(AIMSession sess, String who) throws IOException
addDeny
method here.sess
- an AIMSession
valuewho
- a String
valueIOException
- if an error occurspublic void remPermit(AIMSession sess, String who) throws IOException
remPermit
method here.sess
- an AIMSession
valuewho
- a String
valueIOException
- if an error occurspublic void remDeny(AIMSession sess, String who) throws IOException
remDeny
method here.sess
- an AIMSession
valuewho
- a String
valueIOException
- if an error occurspublic void getEmail(AIMSession sess) throws IOException
getEmail
method here.sess
- an AIMSession
valueIOException
- if an error occurspublic void confirmAccount(AIMSession sess) throws IOException
confirmAccount
method here.sess
- an AIMSession
valueIOException
- if an error occurspublic void changeEmail(AIMSession sess, String eml) throws IOException
changeEmail
method here.sess
- an AIMSession
valueeml
- a String
valueIOException
- if an error occurspublic void formatScreenname(AIMSession sess, String sn) throws IOException
formatScreenname
method here.sess
- an AIMSession
valuesn
- a String
valueIOException
- if an error occurspublic void changePassword(AIMSession sess, String oldp, String newp) throws IOException
changePassword
method here.sess
- an AIMSession
valueoldp
- a String
valuenewp
- a String
valueIOException
- if an error occurspublic void convoClosed(ArrayList dims, DirectIM who)
convoClosed
method here.dims
- an ArrayList
valuewho
- a DirectIM
valuepublic void infoChange(AIMSession sess, AIMFrame frame, boolean infoChange, short perms, short err, String url, String sn, String email)
infoChange
method here.sess
- an AIMSession
valueframe
- an AIMFrame
valueinfoChange
- a boolean
valueperms
- a short
valueerr
- a short
valueurl
- a String
valuesn
- a String
valueemail
- a String
valuepublic void accountConfirm(AIMSession sess, AIMFrame frame, int status)
accountConfirm
method here.sess
- an AIMSession
valueframe
- an AIMFrame
valuestatus
- an int
valuepublic void godDamnICQ(AIMSession sess, AIMFrame frame, String unused)
godDamnICQ
method here.godDamnICQ
in interface LoginListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueunused
- a String
valuepublic void parse(AIMSession sess, AIMFrame frame, LoginResponseInfo info, int family, int subtype)
parse
method here.parse
in interface LoginListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueinfo
- a LoginResponseInfo
valuefamily
- an int
valuesubtype
- an int
valuepublic void keyParse(AIMSession sess, AIMFrame frame, String keystr)
keyParse
method here.keyParse
in interface LoginListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuekeystr
- a String
valuepublic void newUIN(AIMSession sess, AIMFrame frame, int uin, int ip, int port)
newUIN
method here.newUIN
in interface LoginListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueuin
- an int
valueip
- an int
valueport
- an int
valuepublic void securID(AIMSession sess, AIMFrame frame)
securID
method here.securID
in interface LoginListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void bosRights(AIMSession sess, AIMFrame frame, int maxpermits, int maxdenies)
bosRights
method here.bosRights
in interface BOSListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuemaxpermits
- an int
valuemaxdenies
- an int
valuepublic void buddyChange(AIMSession sess, AIMFrame frame, UserInfo info)
buddyChange
method here.buddyChange
in interface BuddyListListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueinfo
- an UserInfo
valuepublic void buddylistRights(AIMSession sess, AIMFrame frame, int maxbuddies, int maxwatchers)
buddylistRights
method here.buddylistRights
in interface BuddyListListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuemaxbuddies
- an int
valuemaxwatchers
- an int
valuepublic void outgoingIM(AIMSession sess, AIMFrame frame, int channel, String sn, String msg, int icbmflags, short flag1, short flag2)
outgoingIM
method here.outgoingIM
in interface ICBMListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuechannel
- an int
valuesn
- a String
valuemsg
- a String
valueicbmflags
- an int
valueflag1
- a short
valueflag2
- a short
valuepublic void incomingIMCH1(AIMSession sess, AIMFrame frame, int channel, UserInfo userinfo, AOLIM args)
incomingIMCH1
method here.incomingIMCH1
in interface ICBMListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuechannel
- an int
valueuserinfo
- an UserInfo
valueargs
- an AOLIM
valuepublic boolean checkIcon(String sn, int iconcsum)
sn
- the screennameiconcsum
- the icon checksumpublic boolean checkIcon(String sn, byte[] iconcsum)
sn
- the screennameiconcsum
- the icon checksumpublic void incomingIMCH2(AIMSession sess, AIMFrame frame, int channel, UserInfo userinfo, IncomingIMCH2 args)
incomingIMCH2
method here.incomingIMCH2
in interface ICBMListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuechannel
- an int
valueuserinfo
- an UserInfo
valueargs
- an IncomingIMCH2
valuepublic void incomingIMCH4(AIMSession sess, AIMFrame frame, int channel, UserInfo userinfo, IncomingIMCH4 args)
incomingIMCH4
method here.incomingIMCH4
in interface ICBMListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuechannel
- an int
valueuserinfo
- an UserInfo
valueargs
- an IncomingIMCH4
valuepublic void paramInfo(AIMSession sess, AIMFrame frame, ICBMParams params)
paramInfo
method here.paramInfo
in interface ICBMListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueparams
- an ICBMParams
valuepublic void missedCall(AIMSession sess, AIMFrame frame, int channel, UserInfo userinfo, int numMissed, int reason)
missedCall
method here.missedCall
in interface ICBMListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuechannel
- an int
valueuserinfo
- an UserInfo
valuenumMissed
- an int
valuereason
- an int
valuepublic void clientAutoresp(AIMSession sess, AIMFrame frame, int channel, String sn, int reason)
clientAutoresp
method here.clientAutoresp
in interface ICBMListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuechannel
- an int
valuesn
- a String
valuereason
- an int
valuepublic void clientAutoresp(AIMSession sess, AIMFrame frame, int channel, String sn, int reason, int state, String msg)
clientAutoresp
method here.clientAutoresp
in interface ICBMListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuechannel
- an int
valuesn
- a String
valuereason
- an int
valuestate
- an int
valuemsg
- a String
valuepublic void msgAck(AIMSession sess, AIMFrame frame, int type, String sn)
msgAck
method here.msgAck
in interface ICBMListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuetype
- an int
valuesn
- a String
valuepublic void typingNotification(AIMSession sess, AIMFrame frame, byte[] ck, short type, String sn, short typing)
typingNotification
method here.typingNotification
in interface ICBMListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueck
- a byte[]
valuetype
- a short
valuesn
- a String
valuetyping
- a short
valuepublic void locateRights(AIMSession sess, AIMFrame frame, int maxsiglen)
locateRights
method here.locateRights
in interface LocateListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuemaxsiglen
- an int
valuepublic void userInfo(AIMSession sess, AIMFrame frame, UserInfo info, int infoType, String textEncoding, String text)
userInfo
method here.userInfo
in interface LocateListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueinfo
- an UserInfo
valueinfoType
- an int
valuetextEncoding
- a String
valuetext
- a String
valuepublic void invitationSent(AIMSession sess, AIMFrame frame, AIMInputStream buffer)
invitationSent
method here.sess
- an AIMSession
valueframe
- an AIMFrame
valuebuffer
- an AIMInputStream
valuepublic void reply(AIMSession sess, AIMFrame frame, String searchAddr, int j, ArrayList buf)
reply
method here.reply
in interface UserLookupListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuesearchAddr
- a String
valuej
- an int
valuebuf
- a ArrayList
valuepublic void parsePopup(AIMSession sess, AIMFrame frame, AIMPopup popup)
parsePopup
method here.parsePopup
in interface PopupListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepopup
- an AIMPopup
valuepublic void reportInterval(AIMSession sess, AIMFrame frame, int interval)
reportInterval
method here.reportInterval
in interface StatsListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueinterval
- an int
valuepublic void reportAck(AIMSession sess, AIMFrame frame, AIMInputStream buffer)
reportAck
method here.reportAck
in interface StatsListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuebuffer
- an AIMInputStream
valuepublic void parseInfoPerms(AIMSession sess, AIMFrame frame, int subtype, int maxrooms, int curexchange, ArrayList exchanges)
parseInfoPerms
method here.parseInfoPerms
in interface ChatNavListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuesubtype
- an int
valuemaxrooms
- an int
valuecurexchange
- an int
valueexchanges
- a ArrayList
valuepublic void parseInfoCreate(AIMSession sess, AIMFrame frame, int subtype, String fqcn, int instance, int exchange, int flags, int createtime, int maxmsglen, int maxoccupancy, int createperms, int unknown, String name, String ck)
parseInfoCreate
method here.parseInfoCreate
in interface ChatNavListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuesubtype
- an int
valuefqcn
- a String
valueinstance
- an int
valueexchange
- an int
valueflags
- an int
valuecreatetime
- an int
valuemaxmsglen
- an int
valuemaxoccupancy
- an int
valuecreateperms
- an int
valueunknown
- an int
valuename
- a String
valueck
- a String
valuepublic void infoUpdate(AIMSession sess, AIMFrame frame, Chat roominfo, String roomName, int userCount, ArrayList occupants, String roomdesc, int flags, int creationTime, int maxmsglen, int maxOccupancy, int creationPerms, int maxvisiblemsglen)
infoUpdate
method here.infoUpdate
in interface ChatListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueroominfo
- a Chat
valueroomName
- a String
valueuserCount
- an int
valueoccupants
- a ArrayList
valueroomdesc
- a String
valueflags
- an int
valuecreationTime
- an int
valuemaxmsglen
- an int
valuemaxOccupancy
- an int
valuecreationPerms
- an int
valuemaxvisiblemsglen
- an int
valuepublic void userlistChange(AIMSession sess, AIMFrame frame, int curcount, ArrayList userinfo)
userlistChange
method here.userlistChange
in interface ChatListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuecurcount
- an int
valueuserinfo
- a ArrayList
valuepublic void incomingChatMsg(AIMSession sess, AIMFrame frame, UserInfo userinfo, String msg)
incomingChatMsg
method here.incomingChatMsg
in interface ChatListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueuserinfo
- an UserInfo
valuemsg
- a String
valuepublic void searchReply(AIMSession sess, AIMFrame frame, ArrayList matches)
searchReply
method here.searchReply
in interface ODirListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuematches
- a ArrayList
valuepublic void interestsReply(AIMSession sess, AIMFrame frame, ArrayList interests)
interestsReply
method here.interestsReply
in interface ODirListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueinterests
- a ArrayList
valuepublic void uploadAck(AIMSession sess, AIMFrame frame, byte[] cksum)
uploadAck
method here.uploadAck
in interface IconListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuecksum
- a byte[]
valuepublic void parseIcon(AIMSession sess, AIMFrame frame, String sn, byte[] iconcsum, byte[] icon)
parseIcon
method here.parseIcon
in interface IconListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuesn
- a String
valueiconcsum
- a byte[]
valueicon
- a byte[]
valuepublic void youveGotMail(AIMSession sess, AIMFrame frame, EmailInfo ei, boolean haveNewMail)
youveGotMail
method here.youveGotMail
in interface MailListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueei
- an EmailInfo
valuehaveNewMail
- a boolean
valuepublic void snacError(AIMSession sess, AIMFrame frame, int error, Object data)
snacError
method here.snacError
in interface MiscListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueerror
- an int
valuedata
- an Object
valuepublic void icbmRemoveCookie(AIMSession sess, MsgCookie cookie)
icbmRemoveCookie
method here.icbmRemoveCookie
in interface MiscListener
sess
- an AIMSession
valuecookie
- a MsgCookie
valuepublic void snacRequestTimedOut(AIMSession sess, SNAC snac)
snacRequestTimedOut
method here.snacRequestTimedOut
in interface MiscListener
sess
- an AIMSession
valuesnac
- a SNAC
valuepublic void unhandledFrame(AIMSession sess, AIMFrame frame)
unhandledFrame
method here.unhandledFrame
in interface MiscListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void parseRights(AIMSession sess, AIMFrame frame, short[] maxitems)
parseRights
method here.parseRights
in interface SSIListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuemaxitems
- a short[]
valuepublic void parseData(AIMSession sess, AIMFrame frame, int fmtVer, int numitems, List list, int timestamp)
parseData
method here.parseData
in interface SSIListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuefmtVer
- an int
valuenumitems
- an int
valuelist
- a List
valuetimestamp
- an int
valuepublic void parseAck(AIMSession sess, AIMFrame frame)
parseAck
method here.parseAck
in interface SSIListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void parseDataUnchanged(AIMSession sess, AIMFrame frame)
parseDataUnchanged
method here.parseDataUnchanged
in interface SSIListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void parseAuthReq(AIMSession sess, AIMFrame frame, String sn, String reason)
parseAuthReq
method here.parseAuthReq
in interface SSIListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuesn
- a String
valuereason
- a String
valuepublic void receiveAuthGranted(AIMSession sess, AIMFrame frame, String sn, byte reply, String msg)
receiveAuthGranted
method here.receiveAuthGranted
in interface SSIListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuesn
- a String
valuereply
- a byte
valuemsg
- a String
valuepublic void receiveAdded(AIMSession sess, AIMFrame frame, String sn)
receiveAdded
method here.receiveAdded
in interface SSIListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuesn
- a String
valuepublic void parseAdd(AIMSession sess, AIMFrame frame)
parseAdd
method here.parseAdd
in interface SSIListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void parseMod(AIMSession sess, AIMFrame frame)
parseMod
method here.parseMod
in interface SSIListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void parseDel(AIMSession sess, AIMFrame frame)
parseDel
method here.parseDel
in interface SSIListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void receiveAuthGrant(AIMSession sess, AIMFrame frame, String sn, String msg)
receiveAuthGrant
method here.receiveAuthGrant
in interface SSIListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuesn
- a String
valuemsg
- a String
valuepublic void receiveAuthRequest(AIMSession sess, AIMFrame frame, String sn, String msg)
receiveAuthRequest
method here.receiveAuthRequest
in interface SSIListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuesn
- a String
valuemsg
- a String
valuepublic void receiveAuthReply(AIMSession sess, AIMFrame frame, String sn, byte reply, String msg)
receiveAuthReply
method here.receiveAuthReply
in interface SSIListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuesn
- a String
valuereply
- a byte
valuemsg
- a String
valuepublic void srvOfflineMsgDone(AIMSession sess, AIMFrame frame)
srvOfflineMsgDone
method here.srvOfflineMsgDone
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void srvMetaGeneralDone(AIMSession sess, AIMFrame frame)
srvMetaGeneralDone
method here.srvMetaGeneralDone
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void srvMetaMoreDone(AIMSession sess, AIMFrame frame)
srvMetaMoreDone
method here.srvMetaMoreDone
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void srvMetaAboutDone(AIMSession sess, AIMFrame frame)
srvMetaAboutDone
method here.srvMetaAboutDone
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void srvMetaPassDone(AIMSession sess, AIMFrame frame)
srvMetaPassDone
method here.srvMetaPassDone
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void srvMetaGeneral(AIMSession sess, AIMFrame frame, ICQMetaGeneral img)
srvMetaGeneral
method here.srvMetaGeneral
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueimg
- an ICQMetaGeneral
valuepublic void srvMetaWork(AIMSession sess, AIMFrame frame, ICQMetaWork imw)
srvMetaWork
method here.srvMetaWork
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueimw
- an ICQMetaWork
valuepublic void srvMetaMore(AIMSession sess, AIMFrame frame, ICQMetaMore imm)
srvMetaMore
method here.srvMetaMore
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueimm
- an ICQMetaMore
valuepublic void srvMetaAbout(AIMSession sess, AIMFrame frame, String about)
srvMetaAbout
method here.srvMetaAbout
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueabout
- a String
valuepublic void srvMetaMoreEmail(AIMSession sess, AIMFrame frame, byte country, byte flags, String email)
srvMetaMoreEmail
method here.srvMetaMoreEmail
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuecountry
- a byte
valueflags
- a byte
valueemail
- a String
valuepublic void srvMetaInterest(AIMSession sess, AIMFrame frame, byte interestCount, ArrayList interestAreas, ArrayList interestDescriptions)
srvMetaInterest
method here.srvMetaInterest
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueinterestCount
- a byte
valueinterestAreas
- a ArrayList
valueinterestDescriptions
- a ArrayList
valuepublic void srvMetaBackground(AIMSession sess, AIMFrame frame, byte pastCount, ArrayList pastAreas, ArrayList pastDescriptions, byte affiliationCount, ArrayList affiliationAreas, ArrayList affiliationDescriptions)
srvMetaBackground
method here.srvMetaBackground
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepastCount
- a byte
valuepastAreas
- a ArrayList
valuepastDescriptions
- a ArrayList
valueaffiliationCount
- a byte
valueaffiliationAreas
- a ArrayList
valueaffiliationDescriptions
- a ArrayList
valuepublic void srvMetaInfo(AIMSession sess, AIMFrame frame, ICQMetaGeneral img)
srvMetaInfo
method here.srvMetaInfo
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueimg
- an ICQMetaGeneral
valuepublic void srvMeta10E(AIMSession sess, AIMFrame frame, int unknown)
srvMeta10E
method here.srvMeta10E
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueunknown
- an int
valuepublic void srvMetaFound(AIMSession sess, AIMFrame frame, ICQMetaFound imf)
srvMetaFound
method here.srvMetaFound
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueimf
- an ICQMetaFound
valuepublic void srvMetaLast(AIMSession sess, AIMFrame frame, ICQMetaFound imf, int missed)
srvMetaLast
method here.srvMetaLast
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueimf
- an ICQMetaFound
valuemissed
- an int
valuepublic void srvMetaRandom(AIMSession sess, AIMFrame frame, int uin, short group, byte[] externalIP, int port, byte[] internalIP, byte tcpFlags, short tcpVersion, byte[] unknown)
srvMetaRandom
method here.srvMetaRandom
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueuin
- an int
valuegroup
- a short
valueexternalIP
- a byte[]
valueport
- an int
valueinternalIP
- a byte[]
valuetcpFlags
- a byte
valuetcpVersion
- a short
valueunknown
- a byte[]
valuepublic void srvMetaRandomDone(AIMSession sess, AIMFrame frame)
srvMetaRandomDone
method here.srvMetaRandomDone
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void srvOfflineMsg(AIMSession sess, AIMFrame frame, ICQOfflineMsg msg)
srvOfflineMsg
method here.srvOfflineMsg
in interface ICQListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuemsg
- an ICQOfflineMsg
valuepublic void rateResp(AIMSession sess, AIMFrame frame)
rateResp
method here.rateResp
in interface ServiceListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void rateChange(AIMSession sess, AIMFrame frame, int code, RateClass rc)
rateChange
method here.rateChange
in interface ServiceListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuecode
- an int
valuerc
- a RateClass
valuepublic void serverPause(AIMSession sess, AIMFrame frame)
serverPause
method here.serverPause
in interface ServiceListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void serverResume(AIMSession sess, AIMFrame frame)
serverResume
method here.serverResume
in interface ServiceListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuepublic void selfInfo(AIMSession sess, AIMFrame frame, UserInfo userinfo)
selfInfo
method here.selfInfo
in interface ServiceListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueuserinfo
- an UserInfo
valuepublic void evilNotify(AIMSession sess, AIMFrame frame, int newEvil, UserInfo userinfo)
evilNotify
method here.evilNotify
in interface ServiceListener
sess
- an AIMSession
valueframe
- an AIMFrame
valuenewEvil
- an int
valueuserinfo
- an UserInfo
valuepublic void migrate(AIMSession sess, AIMFrame frame, String ip, byte[] cookie)
migrate
method here.migrate
in interface ServiceListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueip
- a String
valuecookie
- a byte[]
valuepublic void motd(AIMSession sess, AIMFrame frame, int id, String msg)
motd
method here.motd
in interface ServiceListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueid
- an int
valuemsg
- a String
valuepublic void memRequest(AIMSession sess, AIMFrame frame, int offset, int len, String modname)
memRequest
method here.memRequest
in interface ServiceListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueoffset
- an int
valuelen
- an int
valuemodname
- a String
valuepublic void redirect(AIMSession sess, AIMFrame frame, Redir redir)
redirect
method here.redirect
in interface ServiceListener
sess
- an AIMSession
valueframe
- an AIMFrame
valueredir
- a Redir
value