|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.walluck.oscar.tools.Tool
org.walluck.oscar.tools.LoginTool
public class LoginTool
Login tool.
Field Summary |
---|
Fields inherited from class org.walluck.oscar.tools.Tool |
---|
listeners |
Constructor Summary | |
---|---|
LoginTool()
Creates a new Login tool. |
Method Summary | |
---|---|
void |
addLoginListener(DaimLoginListener l)
Add a listener to get useful events from this tool. |
void |
bosConnectionAvailable()
Method called by the LoginTool once the BOS connection is available. |
void |
godDamnICQ(AIMSession sess,
AIMFrame frame,
String unused)
Describe godDamnICQ method here. |
void |
keyParse(AIMSession sess,
AIMFrame frame,
String keystr)
Describe keyParse method here. |
void |
login()
Describe login method here. |
void |
newUIN(AIMSession sess,
AIMFrame frame,
int uin,
int ip,
int port)
Describe newUIN method here. |
void |
parse(AIMSession sess,
AIMFrame frame,
LoginResponseInfo info,
int family,
int subtype)
Describe parse method here. |
void |
removeLoginListener(DaimLoginListener l)
Remove a listener. |
void |
securID(AIMSession sess,
AIMFrame frame)
Describe securID method here. |
void |
shutdown(AIMSession sess)
Called when the tool is shutting down. |
Methods inherited from class org.walluck.oscar.tools.Tool |
---|
getFamily, getId, getSession, getToolData, getVersion, setFamily, setId, setSession, setToolData, setVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoginTool()
Method Detail |
---|
public void addLoginListener(DaimLoginListener l)
l
- DaimLoginListenerpublic void removeLoginListener(DaimLoginListener l)
l
- public void login() throws IOException
login
method here.
IOException
- if an error occurspublic 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 shutdown(AIMSession sess)
shutdown
in class Tool
sess
- the oscar sessionpublic void bosConnectionAvailable()
bosConnectionAvailable
in class Tool
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |