com.adventnet.adaptors.tl1
Class TL1MessageHandler

java.lang.Object
  |
  +--com.adventnet.adaptors.tl1.TL1MessageHandler

public class TL1MessageHandler
extends java.lang.Object
implements com.adventnet.agent.tl1.TL1RequestHandler

This class gets registered to the MBeanServer if the code is generated for common instrumentation. This takes care of the TL1 requests in the JMX architecture for common instrumentation.

See Also:
TL1Adaptor

Field Summary
(package private)  java.util.Vector aidElements
           
(package private)  int debugLevel
           
(package private)  boolean groupFlag
           
 java.lang.String[] requestKeys
           
 java.lang.String[] responseKeys
           
(package private)  boolean tableGroupFlag
           
 
Constructor Summary
TL1MessageHandler()
          Default Constructor which initialises the MBeanServer.
 
Method Summary
 com.adventnet.agent.tl1.TL1AgentResponseInfo doAction(com.adventnet.agent.tl1.TL1AgentRequestInfo reqInfo)
          This method will be invoked by the TL1 NE for processing the input Message.
 java.lang.String getAck(com.adventnet.agent.tl1.TL1AgentRequestInfo reqinfo)
          This method will be invoked from the TL1 NE before processing the TL1 input message.
(package private)  void setAdaptorReference(TL1Adaptor adaptor)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

requestKeys

public java.lang.String[] requestKeys

responseKeys

public java.lang.String[] responseKeys

groupFlag

boolean groupFlag

tableGroupFlag

boolean tableGroupFlag

aidElements

java.util.Vector aidElements

debugLevel

int debugLevel
Constructor Detail

TL1MessageHandler

public TL1MessageHandler()
Default Constructor which initialises the MBeanServer.
Method Detail

getAck

public java.lang.String getAck(com.adventnet.agent.tl1.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 com.adventnet.agent.tl1.TL1RequestHandler

doAction

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

setAdaptorReference

void setAdaptorReference(TL1Adaptor adaptor)