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