16 #ifndef HAZELCAST_CLIENT_MIXEDTYPE_ITOPIC_H_
17 #define HAZELCAST_CLIENT_MIXEDTYPE_ITOPIC_H_
22 #include "hazelcast/client/proxy/ITopicImpl.h"
23 #include "hazelcast/client/TypedData.h"
25 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
27 #pragma warning(disable: 4251) //for dll export
34 class MessageListener;
49 class HAZELCAST_API
ITopic :
public proxy::ITopicImpl {
61 proxy::ITopicImpl::publish(toData<E>(message));
88 std::string addMessageListener(topic::MessageListener &listener);
98 bool removeMessageListener(
const std::string& registrationId);
101 ITopic(
const std::string& instanceName, spi::ClientContext *context);
107 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
void publish(const E &message)
Publishes the message to all subscribers of this topic.
Definition: ITopic.h:60
Hazelcast provides distribution mechanism for publishing messages that are delivered to multiple subs...
Definition: ITopic.h:49
Definition: MapEntryView.h:32
Hazelcast Client enables you to do all Hazelcast operations without being a member of the cluster...
Definition: HazelcastClient.h:459