com.hazelcast.client.proxy
Class ClientTopicProxy<E>
java.lang.Object
com.hazelcast.client.spi.ClientProxy
com.hazelcast.client.proxy.ClientTopicProxy<E>
- All Implemented Interfaces:
- DistributedObject, ITopic<E>
public class ClientTopicProxy<E>
- extends ClientProxy
- implements ITopic<E>
| Methods inherited from class com.hazelcast.client.spi.ClientProxy |
destroy, equals, getContext, getId, getName, getPartitionKey, getServiceName, hashCode, invoke, invoke, invokeInterruptibly, listen, listen, onDestroy, onInitialize, onShutdown, setContext, stopListening, throwExceptionIfNull, toData, toObject |
| Methods inherited from interface com.hazelcast.core.ITopic |
getName |
ClientTopicProxy
public ClientTopicProxy(String serviceName,
String objectId)
publish
public void publish(E message)
- Specified by:
publish in interface ITopic<E>
addMessageListener
public String addMessageListener(MessageListener<E> listener)
- Specified by:
addMessageListener in interface ITopic<E>
removeMessageListener
public boolean removeMessageListener(String registrationId)
- Specified by:
removeMessageListener in interface ITopic<E>
getLocalTopicStats
public LocalTopicStats getLocalTopicStats()
- Specified by:
getLocalTopicStats in interface ITopic<E>
invoke
protected <T> T invoke(ClientRequest req)
- Overrides:
invoke in class ClientProxy
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.