|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.adventnet.agent.tl1.TL1Agent
|
+--com.adventnet.adaptors.tl1.TL1Adaptor.MyTL1Agent
| Inner classes inherited from class com.adventnet.agent.tl1.TL1Agent |
com.adventnet.agent.tl1.TL1Agent.SessionTimeOutMaintainer |
| Fields inherited from class com.adventnet.agent.tl1.TL1Agent |
ackFlag,
acknow,
ackSenderFlag,
ackTime,
api,
authFlag,
autoTable,
autoVec,
builtCommands,
builtCommandsName,
builtInFlag,
channelFlag,
craftSession,
delay,
formatter,
inhibitFlag,
isAutoAlreadySent,
isCraftSessionAlive,
isResponseSent,
isSent,
mainView,
monitor,
monitorFlag,
requestVector,
securityFlag,
selfMonitor,
server,
sessionTimeOutTable,
standAloneFlag,
timeOutSeconds,
tl1Log,
vendorName |
| Constructor Summary | |
TL1Adaptor.MyTL1Agent()
|
|
| Method Summary | |
void |
callback(TL1Session session,
java.lang.String message,
java.lang.String ctag,
byte type)
This method will be invoked whenever a message is received from the agent and parsing is disabled. |
boolean |
callback(TL1Session session,
TL1Message message,
java.lang.String ctag)
This is implemented for sending response messages for the input message got through the session. |
void |
processErrorMessage(TL1Session session,
java.lang.String err)
This method will be invoked, if the syntax of the message received from the agent is not compliant to TL1 standards. |
| Methods inherited from class com.adventnet.agent.tl1.TL1Agent |
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public TL1Adaptor.MyTL1Agent()
throws java.lang.Exception
| Method Detail |
public boolean callback(TL1Session session,
TL1Message message,
java.lang.String ctag)
session - - TL1Session through which to send message.message - - Input message for which response is to be sent.
public void callback(TL1Session session,
java.lang.String message,
java.lang.String ctag,
byte type)
session - TL1Session instance.responseString - The raw/unparsed data received in the form of a
String.tag - This tag is the Correlation Tag of the responseString which
could be either an acknowledgement/response message.
message
mesgType - Type of message as byte.
This byte constant can be any one of the four bytes, viz
TL1API.INPUT_MESSAGE ,
TL1API.ACK_MESSAGE ,
TL1API.RESPONSE_MESSAGE and
TL1API.AUTONOMOUS_MESSAGE.
If it is an invalid message this byte constant value is -1.
public void processErrorMessage(TL1Session session,
java.lang.String err)
session - TL1Session instance.errorMsg - Error String.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||