CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
|
Public Member Functions | |
void | close () |
bool | is_null () |
void | bind (String i_name) |
void | unbind () |
bool | is_bound () |
String | get_bound_instance_name () |
List< String > | get_discovered_service_instances () |
ReturnCode_t | wait_for_service () |
ReturnCode_t | wait_for_service (Duration_t maxWait) |
ReturnCode_t | wait_for_service (String instanceName) |
ReturnCode_t | wait_for_service (Duration_t max_wait, String instanceName) |
ReturnCode_t | wait_for_services (uint count) |
ReturnCode_t | wait_for_services (Duration_t max_wait, uint count) |
ReturnCode_t | wait_for_services (List< String > instanceNames) |
ReturnCode_t | wait_for_services (Duration_t max_wait, List< String > instanceNames) |
ServiceProxy class defines type-independent operations for Requester and the Client. For example, binding to a specific instance, waiting for an instance to discover, closing the service, and more. ServiceProxy shall not be instantiated directly.
TReq | : | RequestType | |
TReq | : | new() | |
TRep | : | ReplyType | |
TRep | : | new() |
|
inline |
Bind the ServiceProxy to service(s) with the provided 'instance_name'.
The ServiceProxy will communicate only with services that have a matching 'instance_name'.
|
inline |
|
inline |
Provides the instance_name to which the ServiceProxy is currently bound.
|
inline |
Access a list of instance_names that have been discovered by the ServiceProxy.
The returned list is a snapshot in time of the currently known services.
|
inline |
Indicates if the ServiceProxy is currently bound to a particular instance_name.
|
inline |
|
inline |
Undo any previous 'bind()' operation.
After this, the ServiceProxy will communicate with any known services.
|
inline |
Block until any service is discovered.
RETCODE_OK | : When matched with requested service[s]. |
|
inline |
Block up to 'maxWait' until any service is discovered.
RETCODE_OK | : If matched with requested service[s]. |
RETCODE_TIMEOUT | : If the maxWait time passes without discovering a service. |
|
inline |
Wait for a service with matching 'instanceName' to be discovered.
RETCODE_OK | : When matched with requested service[s]. |
|
inline |
Block up to 'maxWait' until a service matching 'instanceNmae' is discovered.
RETCODE_OK | : If matched with requested service[s]. |
RETCODE_TIMEOUT | : If the maxWait time passes without discovering a service. |
|
inline |
Block until at least 'count' services have been discovered.
RETCODE_OK | : When matched with requested service[s]. |
|
inline |
Block until at least 'count' services have been discovered or 'maxWait' time elapses.
RETCODE_OK | : If matched with requested service[s]. |
RETCODE_TIMEOUT | : If the maxWait time passes without discovering 'count' services. |
|
inline |
Block until discovering a service for each of the listed 'instanceNames'.
RETCODE_OK | : When matched with requested service[s]. |
|
inline |
Block until discovering a service for each of the listed 'instanceNames', or 'maxWait' elapses.
RETCODE_OK | : If matched with requested service[s]. |
RETCODE_TIMEOUT | : If the maxWait time passes without discovering the specified services. |