RTI Connext Java API Version 7.1.0
SimpleReplierParams< TReq, TRep > Class Template Reference

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...
 

Detailed Description

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.

See also
com.rti.connext.requestreply.ReplierParams<TReq,TRep>

Constructor & Destructor Documentation

◆ SimpleReplierParams()

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.

Parameters
participantThe DomainParticipant that this SimpleReplier uses to join a domain.
listenerThe listener where the user callback that a SimpleReplier calls is implemented.
requestTypeSupportThe type support for type TReq
replyTypeSupportThe type support for type Trep

Member Function Documentation

◆ setServiceName()

SimpleReplierParams< TReq, TRep > setServiceName ( String  serviceName)

The service name the Replier offers and Requesters use to match.

See also
com.rti.connext.requestreply.RequesterParams.setServiceName(String)

Referenced by SimpleReplier< TReq, TRep >.SimpleReplier().

◆ setRequestTopicName()

SimpleReplierParams< TReq, TRep > setRequestTopicName ( String  requestTopicName)

Sets a specific request topic name.

This is an alternative to setServiceName(String)

◆ setReplyTopicName()

SimpleReplierParams< TReq, TRep > setReplyTopicName ( String  replyTopicName)

Sets a specific reply topic name.

This is an alternative to setServiceName(String)

◆ setDatawriterQos()

SimpleReplierParams< TReq, TRep > setDatawriterQos ( DataWriterQos  dataWriterQos)

Sets the quality of service of the reply DataWriter.

See also
setQosProfile(String,String)

◆ setDatareaderQos()

SimpleReplierParams< TReq, TRep > setDatareaderQos ( DataReaderQos  dataReaderQos)

Sets the quality of service of the request DataReader.

See also
setQosProfile(String,String)

◆ setQosProfile()

SimpleReplierParams< TReq, TRep > setQosProfile ( String  qosLibraryName,
String  qosProfileName 
)

Sets a QoS profile for the entities in this replier.

See also
com.rti.connext.requestreply.ReplierParams<TReq,TRep>.setQosProfile(String,String)

◆ setPublisher()

SimpleReplierParams< TReq, TRep > setPublisher ( Publisher  publisher)

◆ setSubscriber()

SimpleReplierParams< TReq, TRep > setSubscriber ( Subscriber  subscriber)