RTI Connext Java API
Version 5.1.0
|
Contains the parameters for creating a com.rti.connext.requestreply.SimpleReplier<TReq,TRep> More...
Inherits EntityParams.
Public Member Functions | |
SimpleReplierParams (DomainParticipant participant, SimpleReplierListener< TReq, TRep > listener, TypeSupport requestTypeSupport, TypeSupport replyTypeSupport) | |
Creates SimpleReplierParams with the parameters that a SimpleReplier always needs. | |
SimpleReplierParams< TReq, TRep > | setServiceName (String serviceName) |
The service name the Replier offers and Requesters use to match. | |
SimpleReplierParams< TReq, TRep > | setRequestTopicName (String requestTopicName) |
Sets a specific request topic name. | |
SimpleReplierParams< TReq, TRep > | setReplyTopicName (String replyTopicName) |
Sets a specific reply topic name. | |
SimpleReplierParams< TReq, TRep > | setDatawriterQos (DataWriterQos dataWriterQos) |
Sets the quality of service of the reply DataWriter. | |
SimpleReplierParams< TReq, TRep > | setDatareaderQos (DataReaderQos dataReaderQos) |
Sets the quality of service of the request DataReader. | |
SimpleReplierParams< TReq, TRep > | setQosProfile (String qosLibraryName, String qosProfileName) |
Sets a QoS profile for the entities in this replier. | |
SimpleReplierParams< TReq, TRep > | setPublisher (Publisher publisher) |
Sets a specific Publisher. | |
SimpleReplierParams< TReq, TRep > | setSubscriber (Subscriber subscriber) |
Sets a specific Subscriber. | |
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.SimpleReplier<TReq,TRep>
The parameters for a SimpleReplier are identical to those of the Replier, except for the SimpleReplierListener, which is required and has a different user callback.
SimpleReplierParams | ( | DomainParticipant | participant, |
SimpleReplierListener< TReq, TRep > | listener, | ||
TypeSupport | requestTypeSupport, | ||
TypeSupport | replyTypeSupport | ||
) |
Creates SimpleReplierParams with the parameters that a SimpleReplier always needs.
In addition to these parameters, a SimpleReplier needs either:
The other parameters are optional.
participant | The DomainParticipant that this SimpleReplier uses to join a domain. |
listener | The listener where the user callback that a SimpleReplier calls is implemented. |
requestTypeSupport | The type support for type TReq |
replyTypeSupport | The type support for type Trep |
SimpleReplierParams<TReq, TRep> setServiceName | ( | String | serviceName | ) |
The service name the Replier offers and Requesters use to match.
SimpleReplierParams<TReq, TRep> setRequestTopicName | ( | String | requestTopicName | ) |
Sets a specific request topic name.
This is an alternative to setServiceName(String)
SimpleReplierParams<TReq, TRep> setReplyTopicName | ( | String | replyTopicName | ) |
Sets a specific reply topic name.
This is an alternative to setServiceName(String)
SimpleReplierParams<TReq, TRep> setDatawriterQos | ( | DataWriterQos | dataWriterQos | ) |
Sets the quality of service of the reply DataWriter.
SimpleReplierParams<TReq, TRep> setDatareaderQos | ( | DataReaderQos | dataReaderQos | ) |
Sets the quality of service of the request DataReader.
SimpleReplierParams<TReq, TRep> setQosProfile | ( | String | qosLibraryName, |
String | qosProfileName | ||
) |
Sets a QoS profile for the entities in this replier.
SimpleReplierParams<TReq, TRep> setPublisher | ( | Publisher | publisher | ) |
Sets a specific Publisher.
SimpleReplierParams<TReq, TRep> setSubscriber | ( | Subscriber | subscriber | ) |
Sets a specific Subscriber.