com.wombat.mama
public interface MamaTransportListener
Modifier and Type | Method and Description |
---|---|
void |
onAccept(short cause,
java.lang.Object platformInfo)
Invoked on the publisher when the transport accepts a connection.
|
void |
onAcceptReconnect(short cause,
java.lang.Object platformInfo)
Invoked on the publisher when the transport accepts a reconnection.
|
void |
onConnect(short cause,
java.lang.Object platformInfo)
Invoked on the subscriber when the transport connects.
|
void |
onDisconnect(short cause,
java.lang.Object platformInfo)
Invoked when transport disconnects.
|
void |
onNamingServiceConnect(short cause,
java.lang.Object platformInfo)
Invoked on the subscriber on connection to the naming service.
|
void |
onNamingServiceDisconnect(short cause,
java.lang.Object platformInfo)
Invoked on the subscriber on disconnection to the naming service.
|
void |
onPublisherDisconnect(short cause,
java.lang.Object platformInfo)
Invoked on the subscriber when the transport disconnects from the publisher.
|
void |
onQuality(short cause,
java.lang.Object platformInfo)
Invoked on data quality event.
|
void |
onReconnect(short cause,
java.lang.Object platformInfo)
Invoked when transport reconnects.
|
void onDisconnect(short cause, java.lang.Object platformInfo)
cause
- The cause of the transport disconnectionplatformInfo
- Info associated with the transport disconnection
The cause and platformInfo are supplied only by some middlewares.
The information provided by platformInfo is middleware specific.
The following middlewares are supported:
tibrv: provides the String object version of the tibrv advisory message
Wombat Middleware (JNI only)void onReconnect(short cause, java.lang.Object platformInfo)
cause
- The cause of the transport reconnectionplatformInfo
- Info associated with the transport reconnection
The cause and platformInfo are supplied only by some middlewares.
The information provided by platformInfo is middleware specific.
The following middlewares are supported:
tibrv: provides the String object version of the tibrv advisory message
Wombat Middlewarevoid onQuality(short cause, java.lang.Object platformInfo)
cause
- The cause of the data quality eventplatformInfo
- Info associated with the data quality event
The cause and platformInfo are supplied only by some middlewares.
The information provided by platformInfo is middleware specific.
The following middlewares are supported:
tibrv: provides the String object version of the tibrv advisory message
Wombat Middlewarevoid onConnect(short cause, java.lang.Object platformInfo)
cause
- The cause of the transport connectionplatformInfo
- Info associated with the transport connection
The following middlewares are supported:
Wombat Middlewarevoid onAccept(short cause, java.lang.Object platformInfo)
cause
- The cause of the transport connectionplatformInfo
- Info associated with the transport connection
The following middlewares are supported:
Wombat Middlewarevoid onAcceptReconnect(short cause, java.lang.Object platformInfo)
cause
- The cause of the reconnectionplatformInfo
- Info associated with the reconnection
The following middlewares are supported:
Wombat Middlewarevoid onPublisherDisconnect(short cause, java.lang.Object platformInfo)
cause
- The cause of the disconnectionplatformInfo
- Info associated with the disconnection
The following middlewares are supported:
Wombat Middlewarevoid onNamingServiceConnect(short cause, java.lang.Object platformInfo)
cause
- The cause of the connectionplatformInfo
- Info associated with the connection
The following middlewares are supported:
Wombat Middlewarevoid onNamingServiceDisconnect(short cause, java.lang.Object platformInfo)
cause
- The cause of the disconnectionplatformInfo
- Info associated with the disconnection
The following middlewares are supported:
Wombat MiddlewareCopyright 2011 NYSE Technologies