CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
|
Used to pass configuration parameters when constructing a Requester.
RequesterParams is a valuetype that serves as a container of configuration parameters of a Requester. It is designed to mimic the named-parameters feature available in some programming languages, which improves readability.
com.toc.coredx.DDS.rpc.RequesterParams.RequesterParams | ( | ) |
Default constructor
com.toc.coredx.DDS.rpc.RequesterParams.RequesterParams | ( | RequesterParams | other | ) |
Copy constructor
RequesterParams com.toc.coredx.DDS.rpc.RequesterParams.datareader_qos | ( | DataReaderQos | qos | ) |
Assign the DataReaderQos to use.
This QoS will be used when the Requester creates a DataReader.
DataReaderQos com.toc.coredx.DDS.rpc.RequesterParams.datareader_qos | ( | ) |
Access the DataReaderQos configured in this instance of RequesterParams.
RequesterParams com.toc.coredx.DDS.rpc.RequesterParams.datawriter_qos | ( | DataWriterQos | qos | ) |
Assign the DataWriterQos to use.
This QoS will be used when the Requester creates a DataWriter.
DataWriterQos com.toc.coredx.DDS.rpc.RequesterParams.datawriter_qos | ( | ) |
Access the DataWriterQos configured in this instance of RequesterParams.
RequesterParams com.toc.coredx.DDS.rpc.RequesterParams.domain_participant | ( | DomainParticipant | participant | ) |
Assign the DomainParticipant to use.
The requester will use this DomainParticipant to create any required Publisher, Subscriber, DataWriter and DataReader entities.
DomainParticipant com.toc.coredx.DDS.rpc.RequesterParams.domain_participant | ( | ) |
Access the DomainParticipant configured in this instance of RequesterParams.
RequesterParams com.toc.coredx.DDS.rpc.RequesterParams.publisher | ( | Publisher | publisher | ) |
Assign the Publisher to use.
The Requester will use this publisher to create any required DataWriter entities. If not provided the Requester will create its own Publisher.
Publisher com.toc.coredx.DDS.rpc.RequesterParams.publisher | ( | ) |
Access the Publisher configured in this instance of RequesterParams.
RequesterParams com.toc.coredx.DDS.rpc.RequesterParams.reply_topic_name | ( | String | name | ) |
Assign the 'reply_topic_name'.
This overrides the default topic name generation.
String com.toc.coredx.DDS.rpc.RequesterParams.reply_topic_name | ( | ) |
Access the reply_topic_name configured in this instance of RequesterParams.
RequesterParams com.toc.coredx.DDS.rpc.RequesterParams.request_topic_name | ( | String | name | ) |
Assign the 'request_topic_name' to use as the Request topic name.
This overrides the default topic name generation.
String com.toc.coredx.DDS.rpc.RequesterParams.request_topic_name | ( | ) |
Access the request_topic_name configured in this instance of RequesterParams.
RequesterParams com.toc.coredx.DDS.rpc.RequesterParams.requester_listener | ( | RequesterListener<? extends RequestType, ? extends ReplyType > | listener | ) |
Assign the 'requester' listener that will be installed in the Requester.
Only one listener may be installed, either the SimpleListener or RequesterListener.
ListenerBase com.toc.coredx.DDS.rpc.RequesterParams.requester_listener | ( | ) |
Access the RequesterListener configured in this instance of RequesterParams.
RequesterParams com.toc.coredx.DDS.rpc.RequesterParams.service_name | ( | String | name | ) |
Assign the service_name to use when creating the Request and Reply topic names.
The service_name is used when constructing the topic name used for the Request and Reply topics. If not explicitly defined by the request_topic_name() configuration item, the request topic is composed of <service_name>_Request. Similarly, if not overridden by reply_topic_name(), the reply topic name is composed of <service_name>_Reply. If the service_name() item is left unspecified, then the string "Service" is used.
String com.toc.coredx.DDS.rpc.RequesterParams.service_name | ( | ) |
Access the service_name configured in this instance of RequesterParams.
RequesterParams com.toc.coredx.DDS.rpc.RequesterParams.simple_requester_listener | ( | SimpleRequesterListener<? extends ReplyType > | listener | ) |
Assign the 'simple' listener that will be installed in the Requester.
Only one listener may be installed, either the SimpleListener or RequesterListener.
ListenerBase com.toc.coredx.DDS.rpc.RequesterParams.simple_requester_listener | ( | ) |
Access the SimpleRequesterListener configured in this instance of RequesterParams.
RequesterParams com.toc.coredx.DDS.rpc.RequesterParams.subscriber | ( | Subscriber | subscriber | ) |
Assign the Subscriber to use.
The Requester will use this subscriber to create any requried DataReader entities. If not provided, the Requester will create its own Subscriber.
Subscriber com.toc.coredx.DDS.rpc.RequesterParams.subscriber | ( | ) |
Access the Subscriber configured in this instance of RequesterParams.