public static class EventServiceImpl.Registration extends Object implements EventRegistration
| Constructor and Description |
|---|
EventServiceImpl.Registration() |
EventServiceImpl.Registration(String id,
String serviceName,
String topic,
EventFilter filter,
Address subscriber,
Object listener,
boolean localOnly) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
EventFilter |
getFilter()
Returns
EventFilter attached to this registration. |
String |
getId()
Returns event registration id.
|
Object |
getListener() |
Address |
getSubscriber()
Returns subscriber of this registration.
|
int |
hashCode() |
boolean |
isLocalOnly()
Returns true if this registration is for locally fired events only.
|
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public EventFilter getFilter()
EventRegistrationEventFilter attached to this registration.getFilter in interface EventRegistrationpublic String getId()
EventRegistrationgetId in interface EventRegistrationpublic Address getSubscriber()
EventRegistrationgetSubscriber in interface EventRegistrationpublic boolean isLocalOnly()
EventRegistrationisLocalOnly in interface EventRegistrationpublic Object getListener()
public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.