CoreDX DDS C++ Reference Manual
Public Member Functions | List of all members
DDS::rpc::ReplierListener< TReq, TRep > Class Template Referenceabstract

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

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

Public Member Functions

virtual void on_request_available (Replier< TReq, TRep > &)=0
 Invoked when the Replier has one or more requests pending. More...
 

Detailed Description

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

ReplierLister can be installed on a Replier.

ReplierListener<TReq, TRep> interface is used to provide an asynchronous request listener for a Replier. It is passed to the Replier constructor through ReplierParams. It extends ListenerBase interface and enables asynchronous processing of the requests. The callback is provided the Replier object and returns void.

See also
ReplierParams

Member Function Documentation

template<class TReq, class TRep>
virtual void DDS::rpc::ReplierListener< TReq, TRep >::on_request_available ( Replier< TReq, TRep > &  )
pure virtual

Invoked when the Replier has one or more requests pending.

The method can process the available requests and send replies as required.


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