com.adventnet.agent.tl1
Interface TL1RequestHandler

All Known Implementing Classes:
SelfMonitor, TL1BuiltInCommand, ChannelSecurityCommands, OperationSecurityCommands, CommandSecurityCommands, SecurityLogCommands, UserSecurityCommands, ResourceSecurityCommands

public interface TL1RequestHandler

This interface contains the methods getAck() for sending acknowlegement and doAction() for executing the commands and returning response. This interface should be implemented by the class which are implementing the command code.


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.
 

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.

doAction

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