RTI Connext Java API
Version 5.3.0
|
Helpers to provide utility operations related to com.rti.dds.subscription.TopicQuery. More...
Static Public Member Functions | |
static void | topic_query_data_from_service_request (TopicQueryData dst, ServiceRequest serviceRequest) |
Retrieves the com.rti.dds.subscription.TopicQueryData data contained in the specified com.rti.dds.topic.builtin.ServiceRequest. | |
Helpers to provide utility operations related to com.rti.dds.subscription.TopicQuery.
|
static |
Retrieves the com.rti.dds.subscription.TopicQueryData data contained in the specified com.rti.dds.topic.builtin.ServiceRequest.
This operation will extract the content from the request body of the com.rti.dds.topic.builtin.ServiceRequest and place it into the specified com.rti.dds.subscription.TopicQueryData object.
The specified com.rti.dds.topic.builtin.ServiceRequest must be a valid sample associated with the service id com.rti.dds.topic.builtin.ServiceRequest.TOPIC_QUERY_SERVICE_ID. Otherwise this operation will return com.rti.dds.infrastructure.false.
This operation can be called within the context of a com.rti.dds.publication.DataWriterListener::on_service_request_accepted to retrieve the com.rti.dds.subscription.TopicQueryData of a com.rti.dds.topic.builtin.ServiceRequest that has been received with service id com.rti.dds.topic.builtin.ServiceRequest.TOPIC_QUERY_SERVICE_ID
dst | <<inout>> A com.rti.dds.subscription.TopicQueryData object where the content from the service request is extracted. Cannot be NULL. |
serviceRequest | <<in>> Input com.rti.dds.topic.builtin.ServiceRequest that contains the com.rti.dds.subscription.TopicQueryData as part of its request body. Cannot be NULL. |