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.
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
tl1Agent
TL1Agent tl1Agent
respValue
java.lang.String respValue
count
int count
respKeys
java.lang.String[] respKeys
nameEqualsValue
boolean[] nameEqualsValue
SelfMonitor
public SelfMonitor(TL1Agent tl1Agent)
- Constructor for SelfMonitor.
- Parameters:
tl1Agent - - TL1Agent
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.