RTI Connext .Net APIs  Version 6.0.1
RTI.Connext.RequestReply.ReplierParams< TReq, TRep > Class Template Reference

Contains the parameters for creating a RTI::Connext::RequestReply::Replier<TReq,TRep>. More...

Inherits RTI.Connext.RequestReply.Infrastructure.EntityParams.

Public Member Functions

 ReplierParams (DDS.DomainParticipant participant, DDS.TypeSupport requestTypeSupport, DDS.TypeSupport replyTypeSupport)
 Creates a ReplierParams with the parameters that a Replier always needs. More...
 
ReplierParams< TReq, TRep > SetServiceName (String serviceName)
 The service name the Replier offers and Requesters use to match. More...
 
ReplierParams< TReq, TRep > SetRequestTopicName (String requestTopicName)
 Sets a specific request topic name. More...
 
ReplierParams< TReq, TRep > SetReplyTopicName (String replyTopicName)
 Sets a specific reply topic name. More...
 
ReplierParams< TReq, TRep > SetDataWriterQos (DDS.DataWriterQos dataWriterQos)
 Sets the quality of service of the reply DataWriter. More...
 
ReplierParams< TReq, TRep > SetDataReaderQos (DDS.DataReaderQos dataReaderQos)
 Sets the quality of service of the request DataReader. More...
 
ReplierParams< TReq, TRep > SetQosProfile (String qosLibraryName, String qosProfileName)
 Sets a QoS profile for the entities in this replier. More...
 
ReplierParams< TReq, TRep > SetPublisher (DDS.Publisher publisher)
 Sets a specific Publisher. More...
 
ReplierParams< TReq, TRep > SetSubscriber (DDS.Subscriber subscriber)
 Sets a specific Subscriber. More...
 
ReplierParams< TReq, TRep > SetReplierListener (ReplierListener< TReq, TRep > replierListener)
 Sets a listener that is called when requests are available. More...
 

Detailed Description

Contains the parameters for creating a RTI::Connext::RequestReply::Replier<TReq,TRep>.

See also
RTI::Connext::RequestReply::RequesterParams
Type Constraints
TReq :class 
TReq :global 
TReq :DDS.ICopyable<TReq> 
TReq :new() 
TRep :class 
TRep :global 
TRep :DDS.ICopyable<TRep> 
TRep :new() 

Constructor & Destructor Documentation

◆ ReplierParams()

RTI.Connext.RequestReply.ReplierParams< TReq, TRep >.ReplierParams ( DDS.DomainParticipant  participant,
DDS.TypeSupport  requestTypeSupport,
DDS.TypeSupport  replyTypeSupport 
)
inline

Creates a ReplierParams with the parameters that a Replier always needs.

In addition to the parameters this constructor takes, 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

◆ SetServiceName()

ReplierParams<TReq, TRep> RTI.Connext.RequestReply.ReplierParams< TReq, TRep >.SetServiceName ( String  serviceName)
inline

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

See also
RTI::Connext::RequestReply::RequesterParams::SetServiceName

◆ SetRequestTopicName()

ReplierParams<TReq, TRep> RTI.Connext.RequestReply.ReplierParams< TReq, TRep >.SetRequestTopicName ( String  requestTopicName)
inline

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. If that topic already exists, it will be reused. This is useful to have the Replier use a DDS::ContentFilteredTopic to receive only certain requests.

◆ SetReplyTopicName()

ReplierParams<TReq, TRep> RTI.Connext.RequestReply.ReplierParams< TReq, TRep >.SetReplyTopicName ( String  replyTopicName)
inline

Sets a specific reply topic name.

The specified topic name will be used, instead of allowing a topic name to be generated based on c the SetServiceName. If that topic already exists, it will be reused.

◆ SetDataWriterQos()

ReplierParams<TReq, TRep> RTI.Connext.RequestReply.ReplierParams< TReq, TRep >.SetDataWriterQos ( DDS.DataWriterQos  dataWriterQos)
inline

Sets the quality of service of the reply DataWriter.

See also
SetQosProfile

◆ SetDataReaderQos()

ReplierParams<TReq, TRep> RTI.Connext.RequestReply.ReplierParams< TReq, TRep >.SetDataReaderQos ( DDS.DataReaderQos  dataReaderQos)
inline

Sets the quality of service of the request DataReader.

See also
SetQosProfile

◆ SetQosProfile()

ReplierParams<TReq, TRep> RTI.Connext.RequestReply.ReplierParams< TReq, TRep >.SetQosProfile ( String  qosLibraryName,
String  qosProfileName 
)
inline

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
RTI::Connext::RequestReply::RequesterParams::SetQosProfile
Configuring Request-Reply QoS profiles
Configuring QoS Profiles with XML

◆ SetPublisher()

ReplierParams<TReq, TRep> RTI.Connext.RequestReply.ReplierParams< TReq, TRep >.SetPublisher ( DDS.Publisher  publisher)
inline

◆ SetSubscriber()

ReplierParams<TReq, TRep> RTI.Connext.RequestReply.ReplierParams< TReq, TRep >.SetSubscriber ( DDS.Subscriber  subscriber)
inline

◆ SetReplierListener()

ReplierParams<TReq, TRep> RTI.Connext.RequestReply.ReplierParams< TReq, TRep >.SetReplierListener ( ReplierListener< TReq, TRep >  replierListener)
inline

Sets a listener that is called when requests are available.

See also
RTI::Connext::RequestReply::ReplierListener<TReq,TRep>

Referenced by RTI.Connext.RequestReply.ReplierParams< TReq, TRep >.ReplierParams(), and RTI.Connext.RequestReply.SimpleReplier< TReq, TRep >.SimpleReplier().


RTI Connext .Net APIs Version 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc