RTI Connext .Net APIs  Version 5.0.0
RTI.Connext.RequestReply.ReplierListener< TReq, TRep > Interface Template Reference

Called when a RTI.Connext.RequestReply::Replier<TReq,TRep> has new available requests. More...

Public Member Functions

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

Detailed Description

Called when a 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 RTI.Connext.RequestReply::ReplierParams<TReq,TRep>.

This listener simply notifies when requests are available. The callback implementation can then use 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 RTI.Connext.RequestReply::SimpleReplier<TReq,TRep>.

See Also
RTI.Connext.RequestReply::Replier<TReq,TRep>::Replier(ReplierParams)
Type Constraints
TReq :class 
TReq :global 
TReq :DDS.ICopyable<TReq> 
TReq :new() 
TRep :class 
TRep :global 
TRep :DDS.ICopyable<TRep> 
TRep :new() 

Member Function Documentation

void RTI.Connext.RequestReply.ReplierListener< TReq, TRep >.OnRequestAvailable ( Replier< TReq, TRep >  replier)

RTI Connext .Net APIs Version 5.0.0 Copyright © Thu Aug 30 2012 Real-Time Innovations, Inc