CoreDX DDS C# Reference Manual
Public Member Functions | List of all members
ReplierListener< TReq, TRep > Interface Template Reference
Inheritance diagram for ReplierListener< TReq, TRep >:
ListenerBase

Public Member Functions

void on_request_available (Replier< TReq, TRep > replier)
 

Detailed Description

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
Type Constraints
TReq :RequestType 
TReq :new() 
TRep :ReplyType 
TRep :new() 

Member Function Documentation

void on_request_available ( Replier< TReq, TRep >  replier)

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.