Package org.sensorhub.api.command
Class CommandStatusEvent
java.lang.Object
org.sensorhub.api.event.Event
org.sensorhub.api.system.SystemEvent
org.sensorhub.api.command.CommandStreamEvent
org.sensorhub.api.command.CommandStatusEvent
Event carrying command status data
-
Field Summary
FieldsFields inherited from class org.sensorhub.api.command.CommandStreamEvent
cmdStreamID
Fields inherited from class org.sensorhub.api.system.SystemEvent
sourceID, systemID, systemUID
-
Constructor Summary
ConstructorsConstructorDescriptionCommandStatusEvent
(long timeStamp, String sysUID, String controlInputName, long correlationID, ICommandStatus status) CommandStatusEvent
(IStreamingControlInterface controlInterface, long correlationID, ICommandStatus status) -
Method Summary
Methods inherited from class org.sensorhub.api.command.CommandStreamEvent
assignCommandStreamID, getCommandStreamID, getControlInputName, getSourceID
Methods inherited from class org.sensorhub.api.system.SystemEvent
assignSystemID, getSystemID, getSystemUID
Methods inherited from class org.sensorhub.api.event.Event
getSource, getTimeStamp, toString
-
Field Details
-
correlationID
protected long correlationID -
status
-
-
Constructor Details
-
CommandStatusEvent
public CommandStatusEvent(long timeStamp, String sysUID, String controlInputName, long correlationID, ICommandStatus status) -
CommandStatusEvent
public CommandStatusEvent(IStreamingControlInterface controlInterface, long correlationID, ICommandStatus status)
-
-
Method Details
-
getCorrelationID
public long getCorrelationID() -
getStatus
-
withCorrelationID
-