Package org.sensorhub.api.system
Class SystemRemovedEvent
java.lang.Object
org.sensorhub.api.event.Event
org.sensorhub.api.system.SystemEvent
org.sensorhub.api.system.SystemRemovedEvent
Event sent when a system is removed from the hub or from its parent system
- 
Field Summary
Fields inherited from class org.sensorhub.api.system.SystemEvent
sourceID, systemID, systemUID - 
Constructor Summary
ConstructorsConstructorDescriptionSystemRemovedEvent(long timeStamp, String sysUID, String parentGroupUID) SystemRemovedEvent(String sysUID, String parentGroupUID) Helper constructor that sets the timestamp to current system time - 
Method Summary
Methods inherited from class org.sensorhub.api.system.SystemEvent
assignSystemID, getSourceID, getSystemID, getSystemUIDMethods inherited from class org.sensorhub.api.event.Event
getSource, getTimeStamp, toString 
- 
Constructor Details
- 
SystemRemovedEvent
- Parameters:
 timeStamp- time of event generation (unix time in milliseconds, base 1970)sysUID- Unique ID of removed systemparentGroupUID- Unique ID of parent system (or null if system is not a member of any parent system)
 - 
SystemRemovedEvent
Helper constructor that sets the timestamp to current system time 
 - 
 - 
Method Details
- 
getParentGroupUID
- Returns:
 - Unique ID of parent system
 
 
 -