Package org.sensorhub.api.command
Class CommandEvent
java.lang.Object
org.sensorhub.api.event.Event
org.sensorhub.api.system.SystemEvent
org.sensorhub.api.command.CommandStreamEvent
org.sensorhub.api.command.CommandEvent
Event carrying command data sent to a command receiver
-
Field Summary
FieldsFields inherited from class org.sensorhub.api.command.CommandStreamEvent
cmdStreamIDFields inherited from class org.sensorhub.api.system.SystemEvent
sourceID, systemID, systemUID -
Constructor Summary
ConstructorsConstructorDescriptionCommandEvent(long timeStamp, String sysUID, String controlInputName, ICommandData command, long correlationID) CommandEvent(String sysUID, String controlInputName, ICommandData command, long correlationID) -
Method Summary
Methods inherited from class org.sensorhub.api.command.CommandStreamEvent
assignCommandStreamID, getCommandStreamID, getControlInputName, getSourceIDMethods inherited from class org.sensorhub.api.system.SystemEvent
assignSystemID, getSystemID, getSystemUIDMethods inherited from class org.sensorhub.api.event.Event
getSource, getTimeStamp, toString
-
Field Details
-
command
-
correlationID
protected long correlationID
-
-
Constructor Details
-
CommandEvent
public CommandEvent(long timeStamp, String sysUID, String controlInputName, ICommandData command, long correlationID) -
CommandEvent
public CommandEvent(String sysUID, String controlInputName, ICommandData command, long correlationID)
-
-
Method Details
-
getCorrelationID
public long getCorrelationID() -
getCommand
-