|
|||||||||
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.StatsTool
public class StatsTool
Stats tool.
Field Summary |
---|
Fields inherited from class org.walluck.oscar.tools.Tool |
---|
listeners |
Constructor Summary | |
---|---|
StatsTool()
Creates a new Stats tool. |
Method Summary | |
---|---|
void |
bosConnectionAvailable()
Method called by the LoginTool once the BOS connection is available. |
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 |
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 StatsTool()
Method Detail |
---|
public void shutdown(AIMSession sess)
shutdown
in class Tool
sess
- the oscar sessionpublic void bosConnectionAvailable()
bosConnectionAvailable
in class Tool
public 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
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |