org.walluck.oscar.tools
Class UserLookupTool
java.lang.Object
org.walluck.oscar.tools.Tool
org.walluck.oscar.tools.UserLookupTool
- All Implemented Interfaces:
- Listener, UserLookupListener
public class UserLookupTool
- extends Tool
- implements UserLookupListener
UserLookup tool.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- David Walluck
Fields inherited from class org.walluck.oscar.tools.Tool |
listeners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserLookupTool
public UserLookupTool()
- Creates a new UserLookup tool. Family 0x000a.
shutdown
public void shutdown(AIMSession sess)
- Called when the tool is shutting down.
- Specified by:
shutdown
in class Tool
- Parameters:
sess
- the oscar session
bosConnectionAvailable
public void bosConnectionAvailable()
- Method called by the LoginTool once the BOS connection is available. This allows
the other tools to get registered and get involved in the process.
- Specified by:
bosConnectionAvailable
in class Tool
reply
public void reply(AIMSession sess,
AIMFrame frame,
String searchAddr,
int count,
ArrayList data)
- Describe
reply
method here.
- Specified by:
reply
in interface UserLookupListener
- Parameters:
sess
- an AIMSession
valueframe
- an AIMFrame
valuesearchAddr
- a String
valuecount
- an int
valuedata
- a ArrayList
value