|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.agent.tl1.TL1Agent
com.adventnet.adaptors.tl1.TL1Adaptor.MyTL1Agent
class TL1Adaptor.MyTL1Agent
| Field Summary |
|---|
| Fields inherited from class com.adventnet.agent.tl1.TL1Agent |
|---|
mainView, 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 |
|---|
addMultiProtocolCommand, checkValidAckCode, enableBuiltInCommands, enableSelfMonitorSupport, exceptionToResponseInfo, getAckTime, getAllSession, getAsyncMode, getATag, getDebugLevel, getInstanceOfCommand, getMaxThreads, getMonitorDataReference, getMultiProtocolCommand, getResponsePacketSize, getServerSession, getServerSession, getSessionList, getStandAlone, getTargetId, getTL1MessageFormatterReference, getTL1TcpTableInfo, isActive, isAuthenticationEnabled, isAutoAckEnabled, isAutoInhibitMode, isCraftSession, isCraftSessionAlive, isValidSyntax, processAutonomous, processModule, registerRRCommandsWithCommandRegistry, registerSecondModifierWithCommandRegistry, registerWithCommandRegistry, sendAutonomousMessage, sendMessage, setAckTime, setAsyncMode, setATag, setAutoAckEnabled, setAutoInhibitMode, setChannelSecurityFile, setCommandSecurityFile, setCraftFlag, setDebugLevel, setMaxThreads, setOperationHandlerFileName, setOperationSecurityFile, setPort, setPorts, setResourceHandlerFileName, setResourceSecurityFile, setResponsePacketSize, setSecurityEnabled, setSecurityFlags, setSecurityLogFile, setSecurityLogSize, setSessionTimeOutInSeconds, setStandAlone, setTargetId, setUserRequestHandler, setUserSecurityFile, startAgents, stopAgent, stopAgents, storeAutoInfo |
| 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
java.lang.Exception| Method Detail |
|---|
public boolean callback(TL1Session session,
TL1Message message,
java.lang.String ctag)
com.adventnet.agent.tl1.TL1Agent
callback in interface TL1Clientcallback in class com.adventnet.agent.tl1.TL1Agentsession - - TL1Session through which to send message.message - - Input message for which response is to be sent.ctag - This tag is the Correlation Tag of the TL1AckMessage/
TL1ResponseMessage,if the msg is an instanceof TL1AckMessage/
TL1ResponseMessage
public void callback(TL1Session session,
java.lang.String message,
java.lang.String ctag,
byte type)
TL1Client
callback in interface TL1Clientcallback in class com.adventnet.agent.tl1.TL1Agentsession - TL1Session instance.message - The raw/unparsed data received in the form of a
String.ctag - This tag is the Correlation Tag of the responseString which
could be either an acknowledgement/response message.
message
type - 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)
TL1Client
processErrorMessage in interface TL1ClientprocessErrorMessage in class com.adventnet.agent.tl1.TL1Agentsession - TL1Session instance.err - Error String.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||