@FunctionalInterface
public interface ReplyCallback
ERequestor.reply(int, EReplyMessage, ERequestFeed.ERequest)
by passing a ReplyCallback
instance to
ERequestFeed.replyCallback(ReplyCallback)
. This
allows a tighter coupling between a feed and the code for
processing the feed's reply messages.
Note: This must be done after opening a ERequestFeed
and before subscribing.
Modifier and Type | Method and Description |
---|---|
void |
call(int remaining,
EReplyMessage reply,
ERequestFeed.ERequest request)
One or more replies to an outstanding request.
|
void call(int remaining, EReplyMessage reply, ERequestFeed.ERequest request)
remaining
- the number of replies yet to be received.
Zero means all replies received and no more will be
forthcoming.reply
- the latest reply.request
- the reply is for this request.Copyright © 2001 - 2024. Charles W. Rapp. All rights reserved.