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 HistoricNotifyCallback
An eBus client implementingIEHistoricSubscriber
may choose to implement this functional interface as aprivate
method instead of implementing thepublic
IEHistoricSubscriber.notify(ENotificationMessage, EHistoricSubscribeFeed)
method. This privateHistoricNotifyCallback
method is then passed toEHistoricSubscribeFeed.Builder.notifyCallback(HistoricNotifyCallback)
.Note: this callback may only be set when building an
EHistoricSubscribeFeed
instance. Once built, the notification callback target may not be changed.Note: failure to implement
IEHistoricSubscriber.notify
or to pass aHistoricNotifyCallback
method toBuilder.notifyCallback
results 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 void
call(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.
-
-