Classes Files

com::wombat::mama::MamaTransportListener

Public Functions

  Name
void onDisconnect(short cause, final Object platformInfo)
void onReconnect(short cause, final Object platformInfo)
void onQuality(short cause, final Object platformInfo)
void onConnect(short cause, final Object platformInfo)
void onAccept(short cause, final Object platformInfo)
void onAcceptReconnect(short cause, final Object platformInfo)
void onPublisherDisconnect(short cause, final Object platformInfo)
void onNamingServiceConnect(short cause, final Object platformInfo)
void onNamingServiceDisconnect(short cause, final Object platformInfo)

Public Functions Documentation

function onDisconnect

void onDisconnect(
    short cause,
    final Object platformInfo
)

Parameters:

  • cause The cause of the transport disconnection
  • platformInfo Info associated with the transport disconnection

Invoked when transport disconnects.

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)

function onReconnect

void onReconnect(
    short cause,
    final Object platformInfo
)

Parameters:

  • cause The cause of the transport reconnection
  • platformInfo Info associated with the transport reconnection

Invoked when transport reconnects.

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

function onQuality

void onQuality(
    short cause,
    final Object platformInfo
)

Parameters:

  • cause The cause of the data quality event
  • platformInfo Info associated with the data quality event

Invoked on 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

function onConnect

void onConnect(
    short cause,
    final Object platformInfo
)

Parameters:

  • cause The cause of the transport connection
  • platformInfo Info associated with the transport connection

Invoked on the subscriber when the transport connects.

The following middlewares are supported:

Wombat Middleware

function onAccept

void onAccept(
    short cause,
    final Object platformInfo
)

Parameters:

  • cause The cause of the transport connection
  • platformInfo Info associated with the transport connection

Invoked on the publisher when the transport accepts a connection.

The following middlewares are supported:

Wombat Middleware

function onAcceptReconnect

void onAcceptReconnect(
    short cause,
    final Object platformInfo
)

Parameters:

  • cause The cause of the reconnection
  • platformInfo Info associated with the reconnection

Invoked on the publisher when the transport accepts a reconnection.

The following middlewares are supported:

Wombat Middleware

function onPublisherDisconnect

void onPublisherDisconnect(
    short cause,
    final Object platformInfo
)

Parameters:

  • cause The cause of the disconnection
  • platformInfo Info associated with the disconnection

Invoked on the subscriber when the transport disconnects from the publisher.

The following middlewares are supported:

Wombat Middleware

function onNamingServiceConnect

void onNamingServiceConnect(
    short cause,
    final Object platformInfo
)

Parameters:

  • cause The cause of the connection
  • platformInfo Info associated with the connection

Invoked on the subscriber on connection to the naming service.

The following middlewares are supported:

Wombat Middleware

function onNamingServiceDisconnect

void onNamingServiceDisconnect(
    short cause,
    final Object platformInfo
)

Parameters:

  • cause The cause of the disconnection
  • platformInfo Info associated with the disconnection

Invoked on the subscriber on disconnection to the naming service.

The following middlewares are supported:

Wombat Middleware


Updated on 2023-03-31 at 15:29:44 +0100