public class VanillaTopicPublisher<T,M> extends Object implements TopicPublisher<T,M>
| Constructor and Description |
|---|
VanillaTopicPublisher(RequestContext context,
Asset asset,
MapView<T,M,M> underlying) |
| Modifier and Type | Method and Description |
|---|---|
Asset |
asset() |
void |
publish(T topic,
M message) |
void |
registerTopicSubscriber(TopicSubscriber<T,M> topicSubscriber) |
MapView<T,M,M> |
underlying() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitkeyedViewpublic VanillaTopicPublisher(@NotNull
RequestContext context,
Asset asset,
@NotNull
MapView<T,M,M> underlying)
throws AssetNotFoundException
AssetNotFoundExceptionpublic void publish(T topic, M message)
publish in interface TopicPublisher<T,M>public void registerTopicSubscriber(TopicSubscriber<T,M> topicSubscriber) throws AssetNotFoundException
registerTopicSubscriber in interface TopicPublisher<T,M>AssetNotFoundExceptionCopyright © 2015. All rights reserved.