RTI Connext .Net APIs  Version 5.2.0
 All Classes Namespaces Functions Variables Enumerations Properties Groups Pages
RTI.Connext.RequestReply.SimpleReplierParams< TReq, TRep > Class Template Reference

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

Inherits RTI.Connext.RequestReply.Infrastructure.EntityParams.

Public Member Functions

 SimpleReplierParams (DDS.DomainParticipant participant, SimpleReplierListener< TReq, TRep > listener, DDS.TypeSupport requestTypeSupport, DDS.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 (DDS.DataWriterQos dataWriterQos)
 Sets the quality of service of the reply DataWriter.
 
SimpleReplierParams< TReq, TRep > SetDataReaderQos (DDS.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 (DDS.Publisher publisher)
 Sets a specific Publisher.
 
SimpleReplierParams< TReq, TRep > SetSubscriber (DDS.Subscriber subscriber)
 Sets a specific Subscriber.
 
SimpleReplierParams< TReq, TRep > SetSimpleReplierListener (SimpleReplierListener< TReq, TRep > simpleReplierListener)
 Sets a listener that is called when requests are available.
 
- Public Member Functions inherited from RTI.Connext.RequestReply.Infrastructure.EntityParams
virtual void Validate ()
 

Additional Inherited Members

- Properties inherited from RTI.Connext.RequestReply.Infrastructure.EntityParams
DDS.DomainParticipant Participant [get, set]
 
String ServiceName [get, set]
 
String RequestTopicName [get, set]
 
String ReplyTopicName [get, set]
 
DDS.DataWriterQos DataWriterQos [get, set]
 
DDS.DataReaderQos DataReaderQos [get, set]
 
String QosLibraryName [get, set]
 
String QosProfileName [get, set]
 
DDS.Publisher Publisher [get, set]
 
DDS.Subscriber Subscriber [get, set]
 

Detailed Description

Contains the parameters for creating a 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
RTI::Connext::RequestReply::ReplierParams<TReq,TRep>
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

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

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> RTI.Connext.RequestReply.SimpleReplierParams< TReq, TRep >.SetServiceName ( String  serviceName)
inline

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

See Also
RTI::Connext::RequestReply::RequesterParams::SetServiceName
SimpleReplierParams<TReq, TRep> RTI.Connext.RequestReply.SimpleReplierParams< TReq, TRep >.SetRequestTopicName ( String  requestTopicName)
inline

Sets a specific request topic name.

This is an alternative to SetServiceName

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

Sets a specific reply topic name.

This is an alternative to SetServiceName

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

Sets the quality of service of the reply DataWriter.

See Also
SetQosProfile
SimpleReplierParams<TReq, TRep> RTI.Connext.RequestReply.SimpleReplierParams< TReq, TRep >.SetDataReaderQos ( DDS.DataReaderQos  dataReaderQos)
inline

Sets the quality of service of the request DataReader.

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

Sets a QoS profile for the entities in this replier.

See Also
RTI::Connext::RequestReply::ReplierParams<TReq,TRep>::SetQosProfile
SimpleReplierParams<TReq, TRep> RTI.Connext.RequestReply.SimpleReplierParams< TReq, TRep >.SetPublisher ( DDS.Publisher  publisher)
inline
SimpleReplierParams<TReq, TRep> RTI.Connext.RequestReply.SimpleReplierParams< TReq, TRep >.SetSubscriber ( DDS.Subscriber  subscriber)
inline
SimpleReplierParams<TReq, TRep> RTI.Connext.RequestReply.SimpleReplierParams< TReq, TRep >.SetSimpleReplierListener ( SimpleReplierListener< TReq, TRep >  simpleReplierListener)
inline

Sets a listener that is called when requests are available.

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

RTI Connext .Net APIs Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc