RTI Connext Java API
Version 5.0.0
|
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. | |
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>.
void onRequestAvailable | ( | Replier< TReq, TRep > | replier | ) |
User callback.