RTI Connext Java API
Version 7.0.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. More... | |
SimpleReplierParams< TReq, TRep > | setServiceName (String serviceName) |
The service name the Replier offers and Requesters use to match. More... | |
SimpleReplierParams< TReq, TRep > | setRequestTopicName (String requestTopicName) |
Sets a specific request topic name. More... | |
SimpleReplierParams< TReq, TRep > | setReplyTopicName (String replyTopicName) |
Sets a specific reply topic name. More... | |
SimpleReplierParams< TReq, TRep > | setDatawriterQos (DataWriterQos dataWriterQos) |
Sets the quality of service of the reply DataWriter. More... | |
SimpleReplierParams< TReq, TRep > | setDatareaderQos (DataReaderQos dataReaderQos) |
Sets the quality of service of the request DataReader. More... | |
SimpleReplierParams< TReq, TRep > | setQosProfile (String qosLibraryName, String qosProfileName) |
Sets a QoS profile for the entities in this replier. More... | |
SimpleReplierParams< TReq, TRep > | setPublisher (Publisher publisher) |
Sets a specific Publisher. More... | |
SimpleReplierParams< TReq, TRep > | setSubscriber (Subscriber subscriber) |
Sets a specific Subscriber. More... | |
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.