RTI Connext .Net APIs  Version 5.3.0

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

#include <managed_builtin.h>

Inheritance diagram for DDS::ServiceRequest:
DDS::ICopyable< ServiceRequest^>

Public Attributes

System::Int32 service_id
 The id of the service that the request was sent on. More...
 
GUID_t instance_id
 Each ServiceRequest is keyed on the instance_id. More...
 
ByteSeqrequest_body
 Service-specific information. More...
 

Properties

static System::Int32 UNKNOWN_SERVICE_ID [get]
 An invalid Service Id. More...
 
static System::Int32 TOPIC_QUERY_SERVICE_ID [get]
 Service Id for the DDS::TopicQuery Service. More...
 

Detailed Description

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

Data associated with the built-in topic DDS::ServiceRequestTypeSupport::SERVICE_REQUEST_TOPIC_NAME. It contains service-specific information.

See also
DDS::ServiceRequestTypeSupport::SERVICE_REQUEST_TOPIC_NAME
DDS::ParticipantBuiltinTopicDataDataReader

Member Data Documentation

◆ service_id

System::Int32 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::ServiceRequest::UNKNOWN_SERVICE_REQUEST_ID
DDS::ServiceRequest::TOPIC_QUERY_SERVICE_ID

◆ instance_id

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

ByteSeq ^ 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 .Net APIs Version 5.3.0 Copyright © Sun Jun 25 2017 Real-Time Innovations, Inc