public class Protocol extends Object implements LocateListener, LoginListener, ICBMListener
Protocol
here.Constructor and Description |
---|
Protocol()
Creates a new
Protocol instance. |
Modifier and Type | Method and Description |
---|---|
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 |
godDamnICQ(AIMSession sess,
AIMFrame frame,
String unused)
Describe
godDamnICQ 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 |
keyParse(AIMSession sess,
AIMFrame frame,
String keystr)
Description of the Method
|
void |
locateRights(AIMSession sess,
AIMFrame frame,
int maxsiglen)
Describe
locateRights method here. |
void |
missedCall(AIMSession sess,
AIMFrame frame,
int channel,
UserInfo userinfo,
int numMissed,
int reason)
Describe
missedCall 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 |
securID(AIMSession sess,
AIMFrame frame)
Describe
securID method here. |
void |
typingNotification(AIMSession sess,
AIMFrame frame,
byte[] ck,
short type,
String sn,
short typing)
Describe
typingNotification method here. |
void |
userInfo(AIMSession sess,
AIMFrame frame,
UserInfo info,
int infoType,
String textEncoding,
String text)
Describe
userInfo method here. |
public 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 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 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 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 keyParse(AIMSession sess, AIMFrame frame, String keystr)
keyParse
in interface LoginListener
sess
- Description of the Parameterframe
- Description of the Parameterkeystr
- Description of the Parameterpublic 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 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 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 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 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 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 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
value