Package org.sensorhub.api.system
Class SystemAddedEvent
java.lang.Object
org.sensorhub.api.event.Event
org.sensorhub.api.system.SystemEvent
org.sensorhub.api.system.SystemAddedEvent
Event sent when a system is added to the hub or to a parent system
-
Field Summary
Fields inherited from class org.sensorhub.api.system.SystemEvent
sourceID, systemID, systemUID -
Constructor Summary
ConstructorsConstructorDescriptionSystemAddedEvent(long timeStamp, String sysUID, String parentGroupUID) SystemAddedEvent(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
-
SystemAddedEvent
- Parameters:
timeStamp- time of event generation (unix time in milliseconds, base 1970)sysUID- Unique ID of added systemparentGroupUID- ID of parent system (or null if system is not a member of any parent system)
-
SystemAddedEvent
Helper constructor that sets the timestamp to current system time
-
-
Method Details
-
getParentGroupUID
- Returns:
- Unique ID of parent system
-