com.hazelcast.client.spi

## Interface EventHandler<E>

- Type Parameters:
    `E` - event type

      public interface EventHandler<E>

  Base interface for all client `EventHandler`s.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `beforeListenerRegister()` This method is called before registration request is sent to node.
    `void` | `handle(E event)`
    `void` | `onListenerRegister()` This method is called when registration request response is successfully returned from node.

- - ### Method Detail

    - #### handle

          void handle(E event)

    - #### beforeListenerRegister

          void beforeListenerRegister()

      This method is called before registration request is sent to node. Note that this method will also be called while first registered node is dead and re-registering to a second node.

    - #### onListenerRegister

          void onListenerRegister()

      This method is called when registration request response is successfully returned from node. Note that this method will also be called while first registered node is dead and re-registering to a second node.

Copyright © 2018. All rights reserved.