CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
|
Public Member Functions | |
TRep | process_request (Sample< TReq > sample, SampleIdentity_t sample_id) |
SimpleReplierListener can be installed on a Replier.
SimpleReplierListener<TReq, TRep> is used to provide a synchronous request listener for a Replier. ReplierParams is used to pass an instance of SimpleReplierListener<TReq, TRep>. It extends the ListenerBase abstract class and enables synchronous processing of the requests. The callback is provided the request object and must return a reply.
TReq | : | RequestType | |
TReq | : | new() | |
TRep | : | ReplyType | |
TRep | : | new() |
TRep process_request | ( | Sample< TReq > | sample, |
SampleIdentity_t | sample_id | ||
) |
Invoked when the Replier has recieved a request.
Must initilaize and return a Reply.