ITopicTAddMessageListener Method (ActionMessageT)Hazelcast .Net Client Class Library
Subscribes to this topic.

Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.5.0.6
Syntax

string AddMessageListener(
	Action<Message<T>> listener
)

Parameters

listener
Type: SystemActionMessageT

Return Value

Type: String
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