RTI Connext Java API  Version 5.1.0
SimpleReplierParams< TReq, TRep > Class 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.
 
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 ()
 

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

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

See Also
setQosProfile(String,String)
SimpleReplierParams<TReq, TRep> setDatareaderQos ( DataReaderQos  dataReaderQos)

Sets the quality of service of the request DataReader.

See Also
setQosProfile(String,String)
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)
SimpleReplierParams<TReq, TRep> setPublisher ( Publisher  publisher)
SimpleReplierParams<TReq, TRep> setSubscriber ( Subscriber  subscriber)

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