|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.dxc.api.datatypes.DxcData
org.dxc.api.datatypes.CommandData
public class CommandData
Command datatype.
Constructor Summary | |
---|---|
CommandData()
Empty constructor. |
|
CommandData(CommandSet commands)
Constructor. |
|
CommandData(long timestamp,
CommandSet commands)
Constructor. |
|
CommandData(long timestamp,
String commandID,
Value value)
Constructor. |
|
CommandData(String commandID,
Value value)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getCommandID()
Get first command ID string |
CommandSet |
getCommands()
Get commands |
Value |
getValue()
Get first command Value |
int |
hashCode()
|
OutputStream |
put(OutputStream os)
Prints DxcData. |
void |
setCommands(CommandSet commands)
Set commands |
Methods inherited from class org.dxc.api.datatypes.DxcData |
---|
getCurrentTime, getSource, getTimeStamp, setSource, setTimeStamp, toString |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CommandData(long timestamp, CommandSet commands)
timestamp
- - message timestampcommands
- - map of command id , value pairspublic CommandData(CommandSet commands)
commands
- - map of command id, value pairspublic CommandData()
public CommandData(long timestamp, String commandID, Value value)
timestamp
- - message timestampcommandID
- - command ID stringvalue
- - the Value of the commandpublic CommandData(String commandID, Value value)
commandID
- - command ID stringvalue
- - the Value of the commandMethod Detail |
---|
public String getCommandID()
public Value getValue()
public CommandSet getCommands()
public void setCommands(CommandSet commands)
public OutputStream put(OutputStream os)
DxcData
put
in class DxcData
public boolean equals(Object o)
equals
in class DxcData
public int hashCode()
hashCode
in class DxcData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |