#include <MamaTransport.h>
Name | |
---|---|
virtual | ~MamaTransportCallback() |
virtual void | onDisconnect(MamaTransport * transport, const void * platformInfo) |
virtual void | onReconnect(MamaTransport * transport, const void * platformInfo) |
virtual void | onQuality(MamaTransport * transport, short cause, const void * platformInfo) =0 |
virtual void | onConnect(MamaTransport * transport, const void * platformInfo) |
virtual void | onAccept(MamaTransport * transport, const void * platformInfo) |
virtual void | onAcceptReconnect(MamaTransport * transport, const void * platformInfo) |
virtual void | onPublisherDisconnect(MamaTransport * transport, const void * platformInfo) |
virtual void | onNamingServiceConnect(MamaTransport * transport, const void * platformInfo) |
virtual void | onNamingServiceDisconnect(MamaTransport * transport, const void * platformInfo) |
class Wombat::MamaTransportCallback;
Transport callback.
inline virtual ~MamaTransportCallback()
inline virtual void onDisconnect(
MamaTransport * transport,
const void * platformInfo
)
Parameters:
Invoked on a publisher when a subscriber 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 char* version of the tibrv advisory message. wmw: provides a pointer to a C mamaConnection struct for the event
inline virtual void onReconnect(
MamaTransport * transport,
const void * platformInfo
)
Parameters:
Invoked when the 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 char* version of the tibrv advisory message. wmw: provides a pointer to a C mamaConnection struct for the event
virtual void onQuality(
MamaTransport * transport,
short cause,
const void * platformInfo
) =0
Parameters:
Invoked when the quality of this transport changes.
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 char* version of the tibrv advisory message.
inline virtual void onConnect(
MamaTransport * transport,
const void * platformInfo
)
Parameters:
Invoked on the subscriber when the transport connects.
The cause and platformInfo are supplied only by some middlewares. The information provided by platformInfo is middleware specific. The following middlewares are supported:
wmw: provides a pointer to a C mamaConnection struct for the event
inline virtual void onAccept(
MamaTransport * transport,
const void * platformInfo
)
Parameters:
Invoked on the publisher when the transport accepts a connection.
The cause and platformInfo are supplied only by some middlewares. The information provided by platformInfo is middleware specific. The following middlewares are supported:
wmw: provides a pointer to a C mamaConnection struct for the event
inline virtual void onAcceptReconnect(
MamaTransport * transport,
const void * platformInfo
)
Parameters:
Invoked on the publisher when the transport accepts a reconnection.
The cause and platformInfo are supplied only by some middlewares. The information provided by platformInfo is middleware specific. The following middlewares are supported:
wmw: provides a pointer to a C mamaConnection struct for the event
inline virtual void onPublisherDisconnect(
MamaTransport * transport,
const void * platformInfo
)
Parameters:
Invoked on the subscriber when the transport disconnects from the publisher.
The cause and platformInfo are supplied only by some middlewares. The information provided by platformInfo is middleware specific. The following middlewares are supported:
wmw: provides a pointer to a C mamaConnection struct for the event
inline virtual void onNamingServiceConnect(
MamaTransport * transport,
const void * platformInfo
)
Parameters:
Invoked on the subscriber when the naming service connects.
inline virtual void onNamingServiceDisconnect(
MamaTransport * transport,
const void * platformInfo
)
Parameters:
Invoked on the subscriber when the naming service disconnects.
Updated on 2023-03-31 at 15:29:26 +0100