RTI Connext Java API
Version 5.1.0
|
Contains the parameters for creating a com.rti.connext.requestreply.Replier<TReq,TRep>. More...
Inherits EntityParams.
Public Member Functions | |
ReplierParams (DomainParticipant participant, TypeSupport requestTypeSupport, TypeSupport replyTypeSupport) | |
Creates a ReplierParams with the parameters that a Replier always needs. | |
ReplierParams< TReq, TRep > | setServiceName (String serviceName) |
The service name the Replier offers and Requesters use to match. | |
ReplierParams< TReq, TRep > | setRequestTopicName (String requestTopicName) |
Sets a specific request topic name. | |
ReplierParams< TReq, TRep > | setReplyTopicName (String replyTopicName) |
Sets a specific reply topic name. | |
ReplierParams< TReq, TRep > | setDataWriterQos (DataWriterQos dataWriterQos) |
Sets the quality of service of the reply DataWriter. | |
ReplierParams< TReq, TRep > | setDataReaderQos (DataReaderQos dataReaderQos) |
Sets the quality of service of the request DataReader. | |
ReplierParams< TReq, TRep > | setQosProfile (String qosLibraryName, String qosProfileName) |
Sets a QoS profile for the entities in this replier. | |
ReplierParams< TReq, TRep > | setPublisher (Publisher publisher) |
Sets a specific Publisher. | |
ReplierParams< TReq, TRep > | setSubscriber (Subscriber subscriber) |
Sets a specific Subscriber. | |
ReplierParams< TReq, TRep > | setReplierListener (ReplierListener< TReq, TRep > replierListener) |
Sets a listener that is called when requests are available. | |
Public Member Functions inherited from EntityParams | |
DomainParticipant | getParticipant () |
String | getServiceName () |
String | getRequestTopicName () |
String | getReplyTopicName () |
DataWriterQos | getDataWriterQos () |
DataReaderQos | getDataReaderQos () |
String | getQosLibraryName () |
String | getQosProfileName () |
Publisher | getPublisher () |
Subscriber | getSubscriber () |
void | validate () |
Contains the parameters for creating a com.rti.connext.requestreply.Replier<TReq,TRep>.
ReplierParams | ( | DomainParticipant | participant, |
TypeSupport | requestTypeSupport, | ||
TypeSupport | replyTypeSupport | ||
) |
Creates a ReplierParams with the parameters that a Replier always needs.
In addition to these parameters, a Replier needs either:
The other parameters are optional.
participant | The DomainParticipant that this replier uses to join a domain. |
requestTypeSupport | The type support for type TReq |
replyTypeSupport | The type support for type Trep |
ReplierParams<TReq, TRep> setServiceName | ( | String | serviceName | ) |
The service name the Replier offers and Requesters use to match.
ReplierParams<TReq, TRep> setRequestTopicName | ( | String | requestTopicName | ) |
Sets a specific request topic name.
The specified topic name will be used, instead of allowing a topic name to be generated based on the setServiceName(String).
ReplierParams<TReq, TRep> setReplyTopicName | ( | String | replyTopicName | ) |
Sets a specific reply topic name.
The specified topic name will be used, instead of allowing a topic name to be generated based on the setServiceName(String).
ReplierParams<TReq, TRep> setDataWriterQos | ( | DataWriterQos | dataWriterQos | ) |
Sets the quality of service of the reply DataWriter.
ReplierParams<TReq, TRep> setDataReaderQos | ( | DataReaderQos | dataReaderQos | ) |
Sets the quality of service of the request DataReader.
ReplierParams<TReq, TRep> setQosProfile | ( | String | qosLibraryName, |
String | qosProfileName | ||
) |
Sets a QoS profile for the entities in this replier.
Specifies the XML QoS profile that will be used to configure the quality of service for the Replier's underlying reply DataWriter and request DataReader.
qosLibraryName | The name of the QoS library |
qosProfileName | The name of the QoS profile inside the QoS library |
ReplierParams<TReq, TRep> setPublisher | ( | Publisher | publisher | ) |
Sets a specific Publisher.
ReplierParams<TReq, TRep> setSubscriber | ( | Subscriber | subscriber | ) |
Sets a specific Subscriber.
ReplierParams<TReq, TRep> setReplierListener | ( | ReplierListener< TReq, TRep > | replierListener | ) |
Sets a listener that is called when requests are available.