com.adventnet.agent.tl1
Class SelfMonitor

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

public class SelfMonitor
extends java.lang.Object
implements TL1RequestHandler

This class implements the methods TL1RequestHandler. The method doAction() will be called if the self monitoring related comments are to be executed.


Field Summary
(package private)  int count
           
(package private)  boolean[] nameEqualsValue
           
(package private)  java.lang.String[] respKeys
           
(package private)  java.lang.String respValue
           
(package private)  TL1Agent tl1Agent
           
 
Constructor Summary
SelfMonitor(TL1Agent tl1Agent)
          Constructor for SelfMonitor.
 
Method Summary
 TL1AgentResponseInfo doAction(TL1AgentRequestInfo reqInfo)
          This method will be invoked by the TL1 NE for processing the input Message.
 java.lang.String getAck(TL1AgentRequestInfo reqinfo)
          This method will be invoked from the TL1 NE before processing the TL1 input message.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tl1Agent

TL1Agent tl1Agent

respValue

java.lang.String respValue

count

int count

respKeys

java.lang.String[] respKeys

nameEqualsValue

boolean[] nameEqualsValue
Constructor Detail

SelfMonitor

public SelfMonitor(TL1Agent tl1Agent)
Constructor for SelfMonitor.
Parameters:
tl1Agent - - TL1Agent
Method Detail

getAck

public java.lang.String getAck(TL1AgentRequestInfo reqinfo)
This method will be invoked from the TL1 NE before processing the TL1 input message. If returns null, then no acknowlegement will be sent.
Specified by:
getAck in interface TL1RequestHandler

doAction

public TL1AgentResponseInfo doAction(TL1AgentRequestInfo reqInfo)
                              throws TL1AgentException
This method will be invoked by the TL1 NE for processing the input Message.
Specified by:
doAction in interface TL1RequestHandler
Returns:
- a TL1AgentResponseInfo Object.
Throws:
- - TL1AgentException.