com.hazelcast.spi

## Interface EventRegistration

- All Superinterfaces:
    DataSerializable

      public interface EventRegistration
      extends DataSerializable

  The result of a Event Registration.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `EventFilter` | `getFilter()` Returns the `EventFilter` attached to this registration.
    `String` | `getId()` Returns the event registration ID.
    `Address` | `getSubscriber()` Returns the subscriber of this registration.
    `boolean` | `isLocalOnly()` Returns true if this registration is for locally fired events only.

    - ### Methods inherited from interface com.hazelcast.nio.serialization.DataSerializable

      `readData, writeData`

- - ### Method Detail

    - #### getId

          String getId()

      Returns the event registration ID.
      Returns:
        the event registration ID

    - #### getFilter

          EventFilter getFilter()

      Returns the `EventFilter` attached to this registration.
      Returns:
        the event filter attached to this registration

    - #### getSubscriber

          Address getSubscriber()

      Returns the subscriber of this registration.
      Returns:
        the subscriber of this registration

    - #### isLocalOnly

          boolean isLocalOnly()

      Returns true if this registration is for locally fired events only.
      Returns:
        true if this registration is for locally fired events only, false otherwise.

Copyright © 2019. All rights reserved.