CoreDX Data Distribution Service
The High Performance, Small Footprint DDS from Twin Oaks Computing, Inc
DDS::rpc::SimpleReplierListener< TReq, TRep > Class Template Referenceabstract

SimpleReplierListener can be installed on a Replier. More...

Inheritance diagram for DDS::rpc::SimpleReplierListener< TReq, TRep >:
DDS::rpc::ListenerBase

Public Member Functions

virtual TRep * process_request (const Sample< TReq > &, const DDS::SampleIdentity_t &)=0
 Invoked when the Replier has recieved a request. More...
 

Detailed Description

template<class TReq, class TRep>
class DDS::rpc::SimpleReplierListener< TReq, TRep >

SimpleReplierListener can be installed on a Replier.

SimpleReplierListener<TReq, TRep> is used to provide an asynchronous request listener for a Replier. ReplierParams is used to pass an instance of SimpleReplierListener<TReq, TRep>. It extends the ListenerBase abstract class and enables asynchronous processing of the requests. The callback is provided the request object and must return a reply.

See also
ReplierParams

Member Function Documentation

◆ process_request()

template<class TReq, class TRep>
virtual TRep* DDS::rpc::SimpleReplierListener< TReq, TRep >::process_request ( const Sample< TReq > &  ,
const DDS::SampleIdentity_t  
)
pure virtual

Invoked when the Replier has recieved a request.

Must initilaize and return a Reply.


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