RTI Connext C API  Version 6.0.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
DDS_ServiceRequest Struct Reference

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

Data Fields

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
DDS_ParticipantBuiltinTopicDataDataReader

Field 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
DDS_TopicQueryHelper_topic_query_data_from_service_request

RTI Connext C API Version 6.0.0 Copyright © Sun Mar 3 2019 Real-Time Innovations, Inc