RTI Connext C# API
7.1.0
|
A builder that allows configuring and creating a new Replier. It can be retrieved via participant.BuildReplier<TRequest, TReply>()
(an extension method defined in DomainParticipantRequestReplyExtensions).
More...
Public Member Functions | |
ReplierBuilder< TRequest, TReply > | WithTopicNames (string requestTopicName, string replyTopicName) |
Sets RequestTopicName and ReplyTopicName. More... | |
ReplierBuilder< TRequest, TReply > | WithServiceName (string serviceName) |
Sets ServiceName. More... | |
ReplierBuilder< TRequest, TReply > | WithRequestsAvailableHandler (Action< Replier< TRequest, TReply >> requestHandler) |
Sets RequestHandler. More... | |
ReplierBuilder< TRequest, TReply > | WithPublisher (Publisher publisher) |
Sets Publisher. More... | |
ReplierBuilder< TRequest, TReply > | WithSubscriber (Subscriber subscriber) |
Sets Subscriber. More... | |
ReplierBuilder< TRequest, TReply > | WithDataWriterQos (DataWriterQos dataWriterQos) |
Sets DataWriterQos. More... | |
ReplierBuilder< TRequest, TReply > | WithDataReaderQos (DataReaderQos dataReaderQos) |
Sets DataReaderQos. More... | |
ReplierBuilder< TRequest, TReply > | WithRequestDynamicType (DynamicType requestDynamicType) |
Sets RequestDynamicType. More... | |
ReplierBuilder< TRequest, TReply > | WithReplyDynamicType (DynamicType replyDynamicType) |
Sets ReplyDynamicType. More... | |
Replier< TRequest, TReply > | Create () |
Creates a new Replier object using the current properties of the ReplierBuilder<TRequest, TReply> instance. More... | |
Properties | |
DomainParticipant | Participant [get] |
The DomainParticipant used by the Replier. More... | |
string | RequestTopicName [get, set] |
The name of the request topic a Requester and a Replier use to match. More... | |
string | ReplyTopicName [get, set] |
The name of the reply topic a Requester and a Replier use to match. More... | |
string | ServiceName [get, set] |
The service name that a Requester and a Replier use to match. More... | |
Action< Replier< TRequest, TReply > > | RequestHandler [get, set] |
The requestHandler to be notified when requests are available. More... | |
Publisher | Publisher [get, set] |
The publisher used by the Replier. More... | |
Subscriber | Subscriber [get, set] |
The subscriber used by the Replier. More... | |
DataWriterQos | DataWriterQos [get, set] |
The QoS used by the Replier's underlying DataWriter<TReply>. More... | |
DataReaderQos | DataReaderQos [get, set] |
The QoS used by the Replier's underlying DataReader<TRequest>. More... | |
DynamicType | RequestDynamicType [get, set] |
The request type, when Rti.Types.Dynamic.DynamicData is used. More... | |
DynamicType | ReplyDynamicType [get, set] |
The reply type, when Rti.Types.Dynamic.DynamicData is used. More... | |
A builder that allows configuring and creating a new Replier. It can be retrieved via participant.BuildReplier<TRequest, TReply>()
(an extension method defined in DomainParticipantRequestReplyExtensions).
The builder's configuration will be used to create the resulting Replier. Either WithTopicNames or WithServiceName has to be used to set the corresponding properties for creation to be successful. The rest of properties will use the default configuration if not specified.
Replier<TRequest, TReply> Create | ( | ) |
ReplierBuilder<TRequest, TReply> WithDataReaderQos | ( | DataReaderQos | dataReaderQos | ) |
Sets DataReaderQos.
dataReaderQos | The new DataReaderQos to be set. |
ReplierBuilder<TRequest, TReply> WithDataWriterQos | ( | DataWriterQos | dataWriterQos | ) |
Sets DataWriterQos.
dataWriterQos | The new DataWriterQos to be set. |
ReplierBuilder<TRequest, TReply> WithPublisher | ( | Publisher | publisher | ) |
ReplierBuilder<TRequest, TReply> WithReplyDynamicType | ( | DynamicType | replyDynamicType | ) |
Sets ReplyDynamicType.
replyDynamicType | The new ReplyDynamicType to be set. |
ReplierBuilder<TRequest, TReply> WithRequestDynamicType | ( | DynamicType | requestDynamicType | ) |
Sets RequestDynamicType.
requestDynamicType | The new RequestDynamicType to be set. |
ReplierBuilder<TRequest, TReply> WithRequestsAvailableHandler | ( | Action< Replier< TRequest, TReply >> | requestHandler | ) |
Sets RequestHandler.
requestHandler | The new RequestHandler to be set. |
Request handlers can be added and removed after creating the Replier. See Replier<TRequest, TReply>.RequestsAvailable event.
ReplierBuilder<TRequest, TReply> WithServiceName | ( | string | serviceName | ) |
Sets ServiceName.
serviceName | The new ServiceName to be set. |
Either the topic names or ServiceName have to be set in order to call Create().
ReplierBuilder<TRequest, TReply> WithSubscriber | ( | Subscriber | subscriber | ) |
ReplierBuilder<TRequest, TReply> WithTopicNames | ( | string | requestTopicName, |
string | replyTopicName | ||
) |
Sets RequestTopicName and ReplyTopicName.
requestTopicName | The new RequestTopicName to be set. |
replyTopicName | The new ReplyTopicName to be set. |
Either the topic names or ServiceName have to be set in order to call Create().
|
getset |
The QoS used by the Replier's underlying DataReader<TRequest>.
|
getset |
The QoS used by the Replier's underlying DataWriter<TReply>.
|
get |
The DomainParticipant used by the Replier.
|
getset |
The reply type, when Rti.Types.Dynamic.DynamicData is used.
This is required when the Replier's TReply is Rti.Types.Dynamic.DynamicData.
|
getset |
The name of the reply topic a Requester and a Replier use to match.
Either both topic names or ServiceName have to be set.
|
getset |
The request type, when Rti.Types.Dynamic.DynamicData is used.
This is required when the Replier's TRequest is Rti.Types.Dynamic.DynamicData.
|
getset |
The requestHandler to be notified when requests are available.
|
getset |
The name of the request topic a Requester and a Replier use to match.
Either both topic names or ServiceName have to be set.
|
getset |
The service name that a Requester and a Replier use to match.
Either both topic names or ServiceName have to be set.
|
getset |
The subscriber used by the Replier.