RTI Connext .NET API (legacy)
Version 6.1.1
|
A callback-based replier. More...
Inherits AlreadyDisposedHelper< SimpleReplier< TReq, TRep >>, and IDisposable.
Public Member Functions | |
SimpleReplier (DomainParticipant participant, String serviceName, SimpleReplierListener< TReq, TRep > listener, TypeSupport requestTypeSupport, TypeSupport replyTypeSupport) | |
Creates a new SimpleReplier. More... | |
SimpleReplier (SimpleReplierParams< TReq, TRep > parameters) | |
Creates a new SimpleReplier. More... | |
void | Dispose () |
Releases the resources created by this SimpleReplier. More... | |
Properties | |
DataWriter | ReplyDataWriter [get] |
Retrieves the underlying DDS::DataWriter. More... | |
TypedDataReader< TReq > | RequestDataReader [get] |
Retrieves the underlying DDS::DataReader. More... | |
A callback-based replier.
A SimpleReplier is based on a RTI::Connext::RequestReply::SimpleReplierListener<TReq,TRep> that users provide. Requests are passed to the callback, which returns a reply. The reply is directed only to the Requester that sent the request.
SimpleRepliers are useful for simple use cases where a single reply for a request can be generated quickly, for example, looking up a table.
When more than one reply for a request can be generated or the processing is complex or needs to happen asynchronously, use a RTI::Connext::RequestReply::Replier<TReq,TRep> instead.
TReq | : | class | |
TReq | : | global | |
TReq | : | DDS.ICopyable<TReq> | |
TReq | : | new() | |
TRep | : | class | |
TRep | : | global | |
TRep | : | DDS.ICopyable<TRep> | |
TRep | : | new() |
|
inline |
Creates a new SimpleReplier.
|
inline |
Creates a new SimpleReplier.
|
inline |
Releases the resources created by this SimpleReplier.
|
get |
Retrieves the underlying DDS::DataWriter.
Referenced by RTI.Connext.RequestReply.SimpleReplier< TReq, TRep >.SimpleReplier().
|
get |
Retrieves the underlying DDS::DataReader.