Package net.sf.eBus.feed.historic
Interface HistoricNotifyCallback
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface HistoricNotifyCallbackAn eBus client implementingIEHistoricSubscribermay choose to implement this functional interface as aprivatemethod instead of implementing thepublicIEHistoricSubscriber.notify(ENotificationMessage, EHistoricSubscribeFeed)method. This privateHistoricNotifyCallbackmethod is then passed toEHistoricSubscribeFeed.Builder.notifyCallback(HistoricNotifyCallback).Note: this callback may only be set when building an
EHistoricSubscribeFeedinstance. Once built, the notification callback target may not be changed.Note: failure to implement
IEHistoricSubscriber.notifyor to pass aHistoricNotifyCallbackmethod toBuilder.notifyCallbackresults in aBuilder.build()failure.- Author:
- Charles W. Rapp
- See Also:
EHistoricSubscribeFeed,HistoricFeedStatusCallback,HistoricFeedDoneCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcall(ENotificationMessage msg, EHistoricSubscribeFeed feed)An incoming notification message from an historic notification feed.
-
-
-
Method Detail
-
call
void call(ENotificationMessage msg, EHistoricSubscribeFeed feed)
An incoming notification message from an historic notification feed.- Parameters:
msg- eBus notification message.feed- message from this historic notification feed.
-
-