|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface provides a convenient way to get a notification with regards to incoming events
This interface is being returned by the StateMachineListenerInFactory The ETA implementer MUST instantiate and use at least one StateMachineListenerIn object per thread. Two threads MUST NOT share the same StateMachineListenerIn object. If it is invoked, it MUST be done before open method is invoked (or after close is invoked). Invoking setStateMachineListenerInFactory after open was invoked will cause the ETA implementation to throw InvalidApplicationStateException exception.
StateMachineListenerInFactory
Method Summary | |
void |
notifyConnect(java.lang.String identifier,
int port,
ConnectInfo info)
Receives notification regarding receiving connect message |
void |
notifyConnectResponse(java.lang.String identifier,
int port,
ConnectResponseInfo info)
Receives notification regarding receiving connect response message |
void |
notifyDataAck(java.lang.String identifier,
int port,
DataAckInfo info)
Receives notifications regarding receiving Data Ack message |
void |
notifyDisconnect(java.lang.String identifier,
int port,
DisconnectInfo info)
Receives notification regarding receiving disconnection message |
void |
notifyError(java.lang.String identifier,
int port,
ErrorInfo info)
Receives notifications regarding receiving Error message |
void |
notifyFinalTemplateDataAck(java.lang.String identifier,
int port,
FinalTemplateDataAckInfo info)
Receives notifications regarding receiving Final Template Data Ack message |
void |
notifyFlowStart(java.lang.String identifier,
int port,
FlowStartInfo info)
Receives notifications regarding receiving flow start message |
void |
notifyFlowStop(java.lang.String identifier,
int port,
FlowStopInfo info)
Receives notifications regarding receiving flow stop message |
void |
notifyGetSessions(java.lang.String identifier,
int port,
GetSessionsInfo info)
Receives notifications regarding receiving get sessions request message |
void |
notifyGetTemplates(java.lang.String identifier,
int port,
GetTemplatesInfo info)
Receives notifications regarding receiving get templates request message |
void |
notifyKeepAlive(java.lang.String identifier,
int port,
KeepAliveInfo info)
Receives notifications regarding receiving keep alive message |
void |
notifyModifyTemplate(java.lang.String identifier,
int port,
ModifyTemplateInfo info)
Receives notifications regarding receiving Modify Template |
void |
notifyRequest(java.lang.String identifier,
int port,
RequestInfo info)
Receives notifications regarding receiving request message |
void |
notifyResponse(java.lang.String identifier,
int port,
ResponseInfo info,
java.lang.Object param)
Receives notifications regarding receiving response message |
void |
notifyStartNegotiation(java.lang.String identifier,
int port,
StartNegotiationInfo info)
Receives notifications regarding receiving Start Negotiation message |
Method Detail |
public void notifyResponse(java.lang.String identifier, int port, ResponseInfo info, java.lang.Object param)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the response message informationparam
- the object send as param to the sendRequest
ExporterManager.sendRequest(byte, short, java.util.Hashtable, java.lang.Object)
public void notifyRequest(java.lang.String identifier, int port, RequestInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the request message information
public void notifyDisconnect(java.lang.String identifier, int port, DisconnectInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the disconnect message information
public void notifyConnectResponse(java.lang.String identifier, int port, ConnectResponseInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the connect response message information
public void notifyConnect(java.lang.String identifier, int port, ConnectInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the connect message information
public void notifyFlowStart(java.lang.String identifier, int port, FlowStartInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the flow start message information
public void notifyFlowStop(java.lang.String identifier, int port, FlowStopInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the flow stop message information
public void notifyGetSessions(java.lang.String identifier, int port, GetSessionsInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the get sessions message information
public void notifyGetTemplates(java.lang.String identifier, int port, GetTemplatesInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the get templates message information
public void notifyKeepAlive(java.lang.String identifier, int port, KeepAliveInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the keep alive message information
public void notifyModifyTemplate(java.lang.String identifier, int port, ModifyTemplateInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the modify template message information
public void notifyFinalTemplateDataAck(java.lang.String identifier, int port, FinalTemplateDataAckInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the final template data acknowledge message information
public void notifyStartNegotiation(java.lang.String identifier, int port, StartNegotiationInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the start negotiation message information
public void notifyDataAck(java.lang.String identifier, int port, DataAckInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the data acknowledge message information
public void notifyError(java.lang.String identifier, int port, ErrorInfo info)
identifier
- the collector identifier (IPv4 "dotted decimal notation")port
- TCP port of the collectorinfo
- the error message information
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |