Transport callback.
More...
#include <MamaTransport.h>
|
virtual | ~MamaTransportCallback () |
|
virtual void | onDisconnect (MamaTransport *transport, const void *platformInfo) |
| Invoked on a publisher when a subscriber disconnects. More...
|
|
virtual void | onReconnect (MamaTransport *transport, const void *platformInfo) |
| Invoked when the transport reconnects. More...
|
|
virtual void | onQuality (MamaTransport *transport, short cause, const void *platformInfo)=0 |
| Invoked when the quality of this transport changes. More...
|
|
virtual void | onConnect (MamaTransport *transport, const void *platformInfo) |
| Invoked on the subscriber when the transport connects. More...
|
|
virtual void | onAccept (MamaTransport *transport, const void *platformInfo) |
| Invoked on the publisher when the transport accepts a connection. More...
|
|
virtual void | onAcceptReconnect (MamaTransport *transport, const void *platformInfo) |
| Invoked on the publisher when the transport accepts a reconnection. More...
|
|
virtual void | onPublisherDisconnect (MamaTransport *transport, const void *platformInfo) |
| Invoked on the subscriber when the transport disconnects from the publisher. More...
|
|
virtual void | onNamingServiceConnect (MamaTransport *transport, const void *platformInfo) |
| Invoked on the subscriber when the naming service connects. More...
|
|
virtual void | onNamingServiceDisconnect (MamaTransport *transport, const void *platformInfo) |
| Invoked on the subscriber when the naming service disconnects. More...
|
|
◆ ~MamaTransportCallback()
virtual Wombat::MamaTransportCallback::~MamaTransportCallback |
( |
| ) |
|
|
virtual |
◆ onDisconnect()
virtual void Wombat::MamaTransportCallback::onDisconnect |
( |
MamaTransport * |
transport, |
|
|
const void * |
platformInfo |
|
) |
| |
|
virtual |
Invoked on a publisher when a subscriber disconnects.
- Parameters
-
transport | The transport which has disconnected. |
platformInfo | Info associated with the 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 char* version of the tibrv advisory message. wmw: provides a pointer to a C mamaConnection struct for the event
◆ onReconnect()
virtual void Wombat::MamaTransportCallback::onReconnect |
( |
MamaTransport * |
transport, |
|
|
const void * |
platformInfo |
|
) |
| |
|
virtual |
Invoked when the transport reconnects.
- Parameters
-
transport | The transport which has reconnected. |
platformInfo | Info associated with the 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 char* version of the tibrv advisory message. wmw: provides a pointer to a C mamaConnection struct for the event
◆ onQuality()
virtual void Wombat::MamaTransportCallback::onQuality |
( |
MamaTransport * |
transport, |
|
|
short |
cause, |
|
|
const void * |
platformInfo |
|
) |
| |
|
pure virtual |
Invoked when the quality of this transport changes.
- Parameters
-
transport | The transport on which the quality has changed. |
cause | The cause of the quality event. |
platformInfo | Info associated with the 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 char* version of the tibrv advisory message.
◆ onConnect()
virtual void Wombat::MamaTransportCallback::onConnect |
( |
MamaTransport * |
transport, |
|
|
const void * |
platformInfo |
|
) |
| |
|
virtual |
Invoked on the subscriber when the transport connects.
- Parameters
-
transport | The transport which has connected. |
platformInfo | Info associated with the event. |
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
◆ onAccept()
virtual void Wombat::MamaTransportCallback::onAccept |
( |
MamaTransport * |
transport, |
|
|
const void * |
platformInfo |
|
) |
| |
|
virtual |
Invoked on the publisher when the transport accepts a connection.
- Parameters
-
transport | The transport which has accepted. |
platformInfo | Info associated with the event. |
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
◆ onAcceptReconnect()
virtual void Wombat::MamaTransportCallback::onAcceptReconnect |
( |
MamaTransport * |
transport, |
|
|
const void * |
platformInfo |
|
) |
| |
|
virtual |
Invoked on the publisher when the transport accepts a reconnection.
- Parameters
-
transport | The transport which has reconnected on |
platformInfo | Info associated with the event. |
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
◆ onPublisherDisconnect()
virtual void Wombat::MamaTransportCallback::onPublisherDisconnect |
( |
MamaTransport * |
transport, |
|
|
const void * |
platformInfo |
|
) |
| |
|
virtual |
Invoked on the subscriber when the transport disconnects from the publisher.
- Parameters
-
transport | The transport which has disconnected on |
platformInfo | Info associated with the event. |
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
◆ onNamingServiceConnect()
virtual void Wombat::MamaTransportCallback::onNamingServiceConnect |
( |
MamaTransport * |
transport, |
|
|
const void * |
platformInfo |
|
) |
| |
|
virtual |
Invoked on the subscriber when the naming service connects.
- Parameters
-
transport | The transport which has connected. |
platformInfo | Info associated with the event. |
◆ onNamingServiceDisconnect()
virtual void Wombat::MamaTransportCallback::onNamingServiceDisconnect |
( |
MamaTransport * |
transport, |
|
|
const void * |
platformInfo |
|
) |
| |
|
virtual |
Invoked on the subscriber when the naming service disconnects.
- Parameters
-
transport | The transport which has connected. |
platformInfo | Info associated with the event. |
The documentation for this class was generated from the following file: