com.hazelcast.spi
Interface EventRegistration

All Superinterfaces:
DataSerializable
All Known Implementing Classes:
EventServiceImpl.Registration

public interface EventRegistration
extends DataSerializable

The result of a Event Registration.


Method Summary
 EventFilter getFilter()
          Returns EventFilter attached to this registration.
 String getId()
          Returns event registration id.
 Address getSubscriber()
          Returns 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 event registration id.

Returns:
event registration id

getFilter

EventFilter getFilter()
Returns EventFilter attached to this registration.

Returns:
event filter attached to this registration

getSubscriber

Address getSubscriber()
Returns subscriber of this registration.

Returns:
subscriber of this registration

isLocalOnly

boolean isLocalOnly()
Returns true if this registration is for locally fired events only.

Returns:
true if this registration is local only, false otherwise.


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.