@FunctionalInterface public interface NotifyCallback
ESubscriber.notify(ENotificationMessage, IESubscribeFeed)
by passing a NotifyCallback instance to
ESubscribeFeed.notifyCallback(NotifyCallback). This
allows a tighter coupling between a feed and the code for
processing the feed's notification messages.
Note: This must be done after opening a ESubscribeFeed
and before subscribing.
ESubscribeFeed.notifyCallback(NotifyCallback)| Modifier and Type | Method and Description |
|---|---|
void |
call(ENotificationMessage msg,
IESubscribeFeed feed)
An incoming notification message from
feed. |
void call(ENotificationMessage msg, IESubscribeFeed feed)
feed.msg - eBus notification message.feed - the associated subscription feed.Copyright © 2019. All rights reserved.