public class StatsTool extends Tool implements StatsListener
Constructor and Description |
---|
StatsTool()
Creates a new Stats tool.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getFamily, getId, getSession, getToolData, getVersion, setFamily, setId, setSession, setToolData, setVersion
public void shutdown(AIMSession sess)
public 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