com.adventnet.agent.tl1
Class TL1BuiltInCommand

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

public class TL1BuiltInCommand
extends java.lang.Object
implements TL1RequestHandler

This class is used to construct some built in commands. This implements TL1RequestHandler so that if any build in command is executed the doAction() in this class is called.


Field Summary
(package private)  java.lang.String[] aidSeparators
           
(package private)  java.lang.Object[] defaultRespVals
           
(package private)  TL1GeneralBlock generalBlock
           
(package private)  int orderNo
           
(package private)  TL1AgentRequestInfo requestInfo
           
(package private)  TL1AgentResponseInfo responseInfo
           
(package private)  java.util.Hashtable[] responseLines
           
(package private)  java.lang.String[] secondModifiers
           
(package private)  java.lang.String str
           
(package private)  TL1Agent tl1Agent
           
 
Constructor Summary
TL1BuiltInCommand(TL1Agent tl1Agent)
          This constructor is used to create a TL1BuiltInCommand.
 
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

responseLines

java.util.Hashtable[] responseLines

defaultRespVals

java.lang.Object[] defaultRespVals

secondModifiers

java.lang.String[] secondModifiers

aidSeparators

java.lang.String[] aidSeparators

str

java.lang.String str

generalBlock

TL1GeneralBlock generalBlock

requestInfo

TL1AgentRequestInfo requestInfo

responseInfo

TL1AgentResponseInfo responseInfo

tl1Agent

TL1Agent tl1Agent

orderNo

int orderNo
Constructor Detail

TL1BuiltInCommand

public TL1BuiltInCommand(TL1Agent tl1Agent)
This constructor is used to create a TL1BuiltInCommand. The TL1Agent instance is passed to this to have the control of the delay activation. The Hashtable (for manual activation) and vector (automatic activation) are controlled with this 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.