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