@FunctionalInterface public interface TopicSubscriber<T,M> extends ISubscriber
| Modifier and Type | Method and Description |
|---|---|
void |
onMessage(T topic,
M message)
Called when a topic in a group has an new message/event
|
onEndOfSubscriptionvoid onMessage(T topic, M message) throws InvalidSubscriberException
topic - the message was associated withmessage - publishedInvalidSubscriberException - to throw when this subscriber is no longer valid.Copyright © 2015. All rights reserved.