ITopicEAddMessageListener Method Hazelcast .Net Client Class Library
Subscribes to this topic.

Namespace: Hazelcast.Core
Assembly: HazelcastClient3x (in HazelcastClient3x.dll) Version: 3.3.0.9
Syntax

string AddMessageListener(
	IMessageListener<E> listener
)

Parameters

listener
Type: Hazelcast.CoreIMessageListenerE

Return Value

Type: String
returns registration id.
Remarks

Subscribes to this topic. When someone publishes a message on this topic. onMessage() function of the given IMessageListener is called. More than one message listener can be added on one instance.
See Also

Reference