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.
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
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
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.
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.