Public Member Functions | |
ClientEndpoint (ClientParams cparams) | |
ClientParams | get_client_params () |
Public Member Functions inherited from ServiceProxy< TReq, TRep > | |
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) |
Protected Member Functions | |
ReturnCode_t | send_request (TReq request) |
bool | receive_reply (Sample< TRep > reply, SampleIdentity_t relatedRequestId) |
A ClientEndpoint provides functions to obtain the underlying DDS entities at the client side. ClientEndpoint inherits from ServiceProxy. A ClientEndpoint shall not be instantiated directly; it can be obtained from a Client object.
TReq | : | RequestType | |
TReq | : | new() | |
TRep | : | ReplyType | |
TRep | : | new() |
|
inline |
Default constructor
|
inline |
Access the ClientParams defining the configuration of this ClientEndpoint.
|
inlineprotected |
Attempts to access a received reply.
This method accepts a parameter of Sample<TRep> & and a SampleIdentity_t. The call will block until a specific reply is found that matches the identity provided the 'relatedRequestId' parameter.
bool | indicating if a reply was found (true) or not (false). |
|
inlineprotected |
Transmits a request to any matched instances of this service This method accepts a parameter of TReq. Populates request.requestHeader