com.hazelcast.spi
Interface EventRegistration

All Superinterfaces:
DataSerializable
All Known Implementing Classes:
Registration

public interface EventRegistration
extends DataSerializable

The result of a Event Registration.


Method Summary
 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 © 2015 Hazelcast, Inc.. All Rights Reserved.