Package com.wombat.mama
Interface MamaTransportListener
-
public interface MamaTransportListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAccept(short cause, java.lang.Object platformInfo)Invoked on the publisher when the transport accepts a connection.voidonAcceptReconnect(short cause, java.lang.Object platformInfo)Invoked on the publisher when the transport accepts a reconnection.voidonConnect(short cause, java.lang.Object platformInfo)Invoked on the subscriber when the transport connects.voidonDisconnect(short cause, java.lang.Object platformInfo)Invoked when transport disconnects.voidonNamingServiceConnect(short cause, java.lang.Object platformInfo)Invoked on the subscriber on connection to the naming service.voidonNamingServiceDisconnect(short cause, java.lang.Object platformInfo)Invoked on the subscriber on disconnection to the naming service.voidonPublisherDisconnect(short cause, java.lang.Object platformInfo)Invoked on the subscriber when the transport disconnects from the publisher.voidonQuality(short cause, java.lang.Object platformInfo)Invoked on data quality event.voidonReconnect(short cause, java.lang.Object platformInfo)Invoked when transport reconnects.
-
-
-
Method Detail
-
onDisconnect
void onDisconnect(short cause, java.lang.Object platformInfo)Invoked when transport disconnects.- Parameters:
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)
-
onReconnect
void onReconnect(short cause, java.lang.Object platformInfo)Invoked when transport reconnects.- Parameters:
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 Middleware
-
onQuality
void onQuality(short cause, java.lang.Object platformInfo)Invoked on data quality event.- Parameters:
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 Middleware
-
onConnect
void onConnect(short cause, java.lang.Object platformInfo)Invoked on the subscriber when the transport connects.- Parameters:
cause- The cause of the transport connectionplatformInfo- Info associated with the transport connection The following middlewares are supported: Wombat Middleware
-
onAccept
void onAccept(short cause, java.lang.Object platformInfo)Invoked on the publisher when the transport accepts a connection.- Parameters:
cause- The cause of the transport connectionplatformInfo- Info associated with the transport connection The following middlewares are supported: Wombat Middleware
-
onAcceptReconnect
void onAcceptReconnect(short cause, java.lang.Object platformInfo)Invoked on the publisher when the transport accepts a reconnection.- Parameters:
cause- The cause of the reconnectionplatformInfo- Info associated with the reconnection The following middlewares are supported: Wombat Middleware
-
onPublisherDisconnect
void onPublisherDisconnect(short cause, java.lang.Object platformInfo)Invoked on the subscriber when the transport disconnects from the publisher.- Parameters:
cause- The cause of the disconnectionplatformInfo- Info associated with the disconnection The following middlewares are supported: Wombat Middleware
-
onNamingServiceConnect
void onNamingServiceConnect(short cause, java.lang.Object platformInfo)Invoked on the subscriber on connection to the naming service.- Parameters:
cause- The cause of the connectionplatformInfo- Info associated with the connection The following middlewares are supported: Wombat Middleware
-
onNamingServiceDisconnect
void onNamingServiceDisconnect(short cause, java.lang.Object platformInfo)Invoked on the subscriber on disconnection to the naming service.- Parameters:
cause- The cause of the disconnectionplatformInfo- Info associated with the disconnection The following middlewares are supported: Wombat Middleware
-
-