AddSubscriber Method
AddSubscriber(Action<HazelcastClientEventHandlers>)
Adds a subscriber.
Declaration
public HazelcastOptions AddSubscriber(Action<HazelcastClientEventHandlers> events)
Parameters
Action<HazelcastClientEventHandlers> | events | An action defining event handlers. |
Returns
HazelcastOptions | The options. |
AddSubscriber(IHazelcastClientEventSubscriber)
Adds a subscriber.
Declaration
public HazelcastOptions AddSubscriber(IHazelcastClientEventSubscriber subscriber)
Parameters
IHazelcastClientEventSubscriber | subscriber | The subscriber. |
Returns
HazelcastOptions | The options. |
AddSubscriber<T>()
Adds a subscriber.
Declaration
public HazelcastOptions AddSubscriber<T>() where T : IHazelcastClientEventSubscriber
Returns
HazelcastOptions | The options. |
Type Parameters
T | The type of the subscriber. |
AddSubscriber(Type)
Adds a subscriber.
Declaration
public HazelcastOptions AddSubscriber(Type type)
Parameters
Type | type | The type of the subscriber. |
Returns
HazelcastOptions | The options. |
AddSubscriber(string)
Adds a subscriber.
Declaration
public HazelcastOptions AddSubscriber(string typename)
Parameters
string | typename | The name of the type of the subscriber. |
Returns
HazelcastOptions | The options. |