com.adventnet.agent.tl1.security
Class CommandSecurityCommands

java.lang.Object
  |
  +--com.adventnet.agent.tl1.security.CommandSecurityCommands

public class CommandSecurityCommands
extends java.lang.Object
implements TL1RequestHandler

This class contains the implementation for the Command security view related commands.


Inner Class Summary
(package private)  class CommandSecurityCommands.CommandParser
          This internal class is to parse the Command and verify if the command is legal.
 
Constructor Summary
CommandSecurityCommands(TL1Agent agent)
          This constructor gets the reference of TL1Agent and from that it gets the SecurityView instance.
 
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
 

Constructor Detail

CommandSecurityCommands

public CommandSecurityCommands(TL1Agent agent)
This constructor gets the reference of TL1Agent and from that it gets the SecurityView instance.
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 which contains the response values, the line types and all the required information to form the response.