RTI Connext Traditional C++ API  Version 6.0.0
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
connext::ReplierListener< TReq, TRep > Class Template Referenceabstract

Called when a connext::Replier has new available requests. More...

Inherited by connext::details::SimpleReplierImpl< TReq, TRep >::InnerRequestListener.

Public Member Functions

virtual void on_request_available (Replier< TReq, TRep > &replier)=0
 User callback.
 

Detailed Description

template<class TReq, class TRep>
class connext::ReplierListener< TReq, TRep >

Called when a connext::Replier has new available requests.

A replier listener is a way to implement a callback that will be invoked when requests are available. It is an optional connext::ReplierParams.

This listener simply notifies when requests are available. The callback implementation can then use connext::Replier::take_requests(int) to retrieve them.

A simpler callback mechanism, where one request sample is a parameter and the reply is the callback return value, is implemented by the connext::SimpleReplier.

See Also
connext::Replier::Replier(const ReplierParams&)

Member Function Documentation

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

RTI Connext Traditional C++ API Version 6.0.0 Copyright © Sun Mar 3 2019 Real-Time Innovations, Inc