RTI Connext Java API  Version 5.1.0
ReplierParams< TReq, TRep > Class Reference

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 ()
 

Detailed Description

Constructor & Destructor Documentation

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.

Parameters
participantThe DomainParticipant that this replier uses to join a domain.
requestTypeSupportThe type support for type TReq
replyTypeSupportThe type support for type Trep

Member Function Documentation

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

See Also
setQosProfile(String,String)
ReplierParams<TReq, TRep> setDataReaderQos ( DataReaderQos  dataReaderQos)

Sets the quality of service of the request DataReader.

See Also
setQosProfile(String,String)
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.

Parameters
qosLibraryNameThe name of the QoS library
qosProfileNameThe name of the QoS profile inside the QoS library
See Also
com.rti.connext.requestreply.RequesterParams.setQosProfile(String,String)
Configuring Request-Reply QoS profiles
Configuring QoS Profiles with XML
ReplierParams<TReq, TRep> setPublisher ( Publisher  publisher)
ReplierParams<TReq, TRep> setSubscriber ( Subscriber  subscriber)
ReplierParams<TReq, TRep> setReplierListener ( ReplierListener< TReq, TRep >  replierListener)

Sets a listener that is called when requests are available.

See Also
com.rti.connext.requestreply.ReplierListener<TReq,TRep>

RTI Connext Java API Version 5.1.0 Copyright © Mon Feb 3 2014 Real-Time Innovations, Inc