RTI Connext Java API  Version 5.2.0
 All Classes Namespaces Functions Variables Groups Pages
ReplierListener< TReq, TRep > Interface Reference

Called when a com.rti.connext.requestreply.Replier<TReq,TRep> has new available requests. More...

Inherits EventListener.

Inherited by SimpleReplier< TReq, TRep >.ReplierListenerAdapter.

Public Member Functions

void onRequestAvailable (Replier< TReq, TRep > replier)
 User callback.
 

Detailed Description

Called when a com.rti.connext.requestreply.Replier<TReq,TRep> 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 com.rti.connext.requestreply.ReplierParams<TReq,TRep>.

This listener simply notifies when requests are available. The callback implementation can then use com.rti.connext.requestreply.Replier<TReq,TRep>.takeRequests(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 com.rti.connext.requestreply.SimpleReplier<TReq,TRep>.

See Also
com.rti.connext.requestreply.Replier<TReq,TRep>.Replier(ReplierParams)

Member Function Documentation

void onRequestAvailable ( Replier< TReq, TRep >  replier)

RTI Connext Java API Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc