RTI Connext Java API Version 7.2.0
ReplierListener< TReq, TRep > Interface Template Reference

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

Inherits EventListener.

Public Member Functions

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

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

◆ onRequestAvailable()

void onRequestAvailable ( Replier< TReq, TRep >  replier)