CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
SimpleReplierListener< TReq, TRep > Interface Template Reference
Inheritance diagram for SimpleReplierListener< TReq, TRep >:
ListenerBase

Public Member Functions

TRep process_request (Sample< TReq > sample, SampleIdentity_t sample_id)
 

Detailed Description

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.

See also
ReplierParams
Type Constraints
TReq :RequestType 
TReq :new() 
TRep :ReplyType 
TRep :new() 

Member Function Documentation

◆ process_request()

TRep process_request ( Sample< TReq >  sample,
SampleIdentity_t  sample_id 
)

Invoked when the Replier has recieved a request.

Must initilaize and return a Reply.


© 2009-2020 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.