RTI Connext Traditional C++ API  Version 5.3.1
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups Pages
DDS_ServiceRequest Struct Reference

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.
 
struct DDS_GUID_t instance_id
 Each ServiceRequest is keyed on the instance_id.
 
struct DDS_OctetSeq request_body
 Service-specific information.
 

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

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
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.

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

RTI Connext Traditional C++ API Version 5.3.1 Copyright © Mon Feb 19 2018 Real-Time Innovations, Inc