RTI Connext Traditional C++ API Version 7.2.0

A request coming from one of the built-in services. More...

Public Attributes

DDS_Long service_id
 The id of the service that the request was sent on. More...
 
struct DDS_GUID_t instance_id
 Each ServiceRequest is keyed on the instance_id. More...
 
struct DDS_OctetSeq request_body
 Service-specific information. More...
 

Detailed Description

A request coming from one of the built-in services.

Data associated with the built-in topic DDS_SERVICE_REQUEST_TOPIC_NAME. It contains service-specific information.

See also
DDS_SERVICE_REQUEST_TOPIC_NAME
DDSParticipantBuiltinTopicDataDataReader

Member Data Documentation

◆ service_id

DDS_Long DDS_ServiceRequest::service_id

The id of the service that the request was sent on.

There can be multiple services that use the built-in ServiceRequest topic. The service_id identifies which service a specific request was sent from.

See also
DDS_UNKNOWN_SERVICE_REQUEST_ID
DDS_TOPIC_QUERY_SERVICE_REQUEST_ID

◆ instance_id

struct DDS_GUID_t DDS_ServiceRequest::instance_id

Each ServiceRequest is keyed on the instance_id.

The instance_id provides a way for users to differentiate between different requests coming from the same service.

◆ request_body

struct DDS_OctetSeq DDS_ServiceRequest::request_body

Service-specific information.

Each service uses the request_body field to send information specific to that service in the form of an opaque sequence of bytes. Each service provides a helper function that will deserialize the information from the request body.

See also
DDSTopicQueryHelper::topic_query_data_from_service_request