RTI transport
Version 1.0af [build 01]
|
The API used by a Transport Plugin to notify the NDDS core of dynamic changes in the Transport Plugin. More...
Data Structures | |
struct | NDDS_Transport_Listener |
Structure to hold callback functions that are invoked by a Transport-Plugin instance to notify that a dynamic change in the state of the Transport Plugin has occured. More... | |
Typedefs | |
typedef void(* | NDDS_Transport_Listener_Interface_Changed_Callback )(void *listener_data_in, NDDS_Transport_Plugin *plugin_in, NDDS_Transport_Interface_t *interface_changed_in) |
Callback invoked by the Transport-Plugin instance to notify that the number of interfaces that it can use has changed. | |
The API used by a Transport Plugin to notify the NDDS core of dynamic changes in the Transport Plugin.
NDDS will register a structure, the NDDS_Transport_Listener, with a Transport Plugin. Then upon dynamic changes in the state of Transport Plugin, the plugin should call the appropriate function in the structure to inform NDDS of the change.
For example, if a Transport Plugin can dynamically detect when interfaces that it manages are enabled/disabled, appear or disappear, as they might in IP-based transports when NIC cards are enabled/disabled or are attached and deattached, then the plugin should let NDDS know that this has happened to give NDDS the chance to use these new interfaces or stop using lost interfaces for communications.
typedef void(* NDDS_Transport_Listener_Interface_Changed_Callback)(void *listener_data_in, NDDS_Transport_Plugin *plugin_in, NDDS_Transport_Interface_t *interface_changed_in) |
Callback invoked by the Transport-Plugin instance to notify that the number of interfaces that it can use has changed.
listener_data_in | <<in>> The listener data. |
plugin_in | <<in>> The Transport-Plugin instance that invoked this callback. |
interface_changed_in | <<in>> The changed interface that trigger the callback. |