ReliableTopicEventHandlers<T> Class
Namespace: Hazelcast.DistributedObjects
Assembly: Hazelcast.Net.dll
Represents the event handler for reliable topic.
public sealed class ReliableTopicEventHandlers<T> : EventHandlersBase<IReliableTopicEventHandlerBase>, IEnumerable<IReliableTopicEventHandlerBase>, IEnumerable
Inherited Members
Type Parameters
| T | Type of topic message. |
Methods
| Name | Description |
|---|---|
| Exception(Action<IHReliableTopic<T>, ReliableTopicExceptionEventArgs>) | Sets the handler when runs on exception. |
| Exception(Func<IHReliableTopic<T>, ReliableTopicExceptionEventArgs, ValueTask>) | Sets the handler when runs on exception. |
| Message(Action<IHReliableTopic<T>, ReliableTopicMessageEventArgs<T>>) | Adds the handler which runs when a message is received. |
| Message(Func<IHReliableTopic<T>, ReliableTopicMessageEventArgs<T>, ValueTask>) | Adds the handler which runs when a message is received. |
| Terminated(Action<IHReliableTopic<T>, ReliableTopicTerminatedEventArgs>) | Sets the handler which runs after the subscription is terminated and no further event will be raised. |
| Terminated(Func<IHReliableTopic<T>, ReliableTopicTerminatedEventArgs, ValueTask>) | Sets the handler which runs after the subscription is terminated and no further event will be raised. |