com.adventnet.agent.tl1
Class MonitorData

java.lang.Object
  |
  +--com.adventnet.agent.tl1.MonitorData

public class MonitorData
extends java.lang.Object

This class is used to give the count for the requsets, responses,autonomous, acknowledgements and delay activated objects between the period of agent start and stop.


Constructor Summary
MonitorData()
           
 
Method Summary
 int getAcknowledge()
          Used to give the number of acknowledgement messages.
 int getAutonomous()
          Used to give the number of autonomous messages.
 int getCompld()
          Used to give the number of Successfull commands.
 int getDelay()
          Returns the number of times "Delay" has been shown.
 int getDeny()
          Used to give the number of failed commands.
 int getInput()
          Used to give the number of input commands.
 int getPRTL()
          Returns the number "Prtl" responses sent.
 int getRTRV()
          Returns the number of times the response had "RTRV" as it's completion code.
(package private)  void incAcknowledge()
          This will be called each and every time acknowledgement is sent.
(package private)  void incAutonomous()
          This will be called each and every time autonomous is sent.
(package private)  void incCompld()
          This will be called each and every time, the command is succeeded.
(package private)  void incDelay()
          This will increase the Delay count.
(package private)  void incDeny()
          This will be called each and every time, the command is failed.
(package private)  void incInput()
          This will be called each and every time,input comes.
(package private)  void incPRTL()
          Increses the "prtl" count.
(package private)  void incRTRV()
          Increas the "RTRV" count.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorData

public MonitorData()
Method Detail

getCompld

public int getCompld()
Used to give the number of Successfull commands.

incCompld

void incCompld()
This will be called each and every time, the command is succeeded.

getDeny

public int getDeny()
Used to give the number of failed commands.

incDeny

void incDeny()
This will be called each and every time, the command is failed.

getInput

public int getInput()
Used to give the number of input commands.

incInput

void incInput()
This will be called each and every time,input comes.

getAutonomous

public int getAutonomous()
Used to give the number of autonomous messages.

incAutonomous

void incAutonomous()
This will be called each and every time autonomous is sent.

getAcknowledge

public int getAcknowledge()
Used to give the number of acknowledgement messages.

incAcknowledge

void incAcknowledge()
This will be called each and every time acknowledgement is sent.

incDelay

void incDelay()
This will increase the Delay count.

getDelay

public int getDelay()
Returns the number of times "Delay" has been shown.

incPRTL

void incPRTL()
Increses the "prtl" count.

getPRTL

public int getPRTL()
Returns the number "Prtl" responses sent.

incRTRV

void incRTRV()
Increas the "RTRV" count.

getRTRV

public int getRTRV()
Returns the number of times the response had "RTRV" as it's completion code.