public class RegistrarEvent extends ServiceEvent
| Modifier and Type | Field and Description | 
|---|---|
protected Object | 
item
The new state of the item, or null if the item has been deleted from the lookup service. 
 | 
protected ServiceID | 
servID
The service ID of the item that triggered the event. 
 | 
serviceID, transitioneventID, handback, seqNum, source| Constructor and Description | 
|---|
RegistrarEvent(Object source,
              long eventID,
              long seqNo,
              MarshalledObject handback,
              ServiceID serviceID,
              int transition,
              Item item)
Simple constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ServiceID | 
getServiceID()
Returns the serviceID of the item that triggered the event. 
 | 
ServiceItem | 
getServiceItem()
Returns the new state of the item, or null if the item was deleted from the lookup service. 
 | 
void | 
setTransition(int transition)  | 
getTransition, toStringgetID, getRegistrationObject, getSequenceNumbergetSourceprotected Object item
protected transient ServiceID servID
public RegistrarEvent(Object source, long eventID, long seqNo, MarshalledObject handback, ServiceID serviceID, int transition, Item item)
source - the ServiceRegistrar that generated the eventeventID - the registration eventIDseqNo - the sequence number of this eventhandback - the client handbackserviceID - the serviceID of the item that triggered the eventtransition - the transition that triggered the eventitem - the new state of the item, or null if deletedpublic ServiceItem getServiceItem()
getServiceItem in class ServiceEventpublic ServiceID getServiceID()
ServiceEventgetServiceID in class ServiceEventpublic void setTransition(int transition)
Copyright © GigaSpaces.