public class RemoteTopicPublisher<T,M> extends AbstractStatelessClient<TopicPublisherHandler.EventId> implements TopicPublisher<T,M>
csp, hub| Constructor and Description |
|---|
RemoteTopicPublisher(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() |
checkIsData, close, proxyReturnBoolean, proxyReturnBooleanWithArgs, proxyReturnBooleanWithSequence, proxyReturnByte, proxyReturnByte, proxyReturnInt, proxyReturnLong, proxyReturnTypedObject, proxyReturnUint16, proxyReturnVoid, proxyReturnVoid, proxyReturnWireConsumer, proxyReturnWireConsumerInOut, readBoolean, readInt, readReply, readReplyConsumer, sendEvent, sendEventAsync, sendEventAsyncWithoutLock, toParameters, writeAsyncMetaData, writeMetaDataForKnownTID, writeMetaDataStartTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitkeyedViewpublic RemoteTopicPublisher(@NotNull
RequestContext context,
Asset asset,
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.