public class SendDeviceStreamDataCommand extends SystemCommand implements ISendDeviceStreamDataCommand
Constructor and Description |
---|
SendDeviceStreamDataCommand() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Get data.
|
java.lang.String |
getHardwareId()
Hardware id of device to receive data.
|
long |
getSequenceNumber()
Get sequence number of data chunk.
|
java.lang.String |
getStreamId()
Get id of stream data belongs to.
|
void |
setData(byte[] data) |
void |
setHardwareId(java.lang.String hardwareId) |
void |
setSequenceNumber(long sequenceNumber) |
void |
setStreamId(java.lang.String streamId) |
getType, setType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
public java.lang.String getHardwareId()
ISendDeviceStreamDataCommand
getHardwareId
in interface ISendDeviceStreamDataCommand
public void setHardwareId(java.lang.String hardwareId)
public java.lang.String getStreamId()
ISendDeviceStreamDataCommand
getStreamId
in interface ISendDeviceStreamDataCommand
public void setStreamId(java.lang.String streamId)
public long getSequenceNumber()
ISendDeviceStreamDataCommand
getSequenceNumber
in interface ISendDeviceStreamDataCommand
public void setSequenceNumber(long sequenceNumber)
public byte[] getData()
ISendDeviceStreamDataCommand
getData
in interface ISendDeviceStreamDataCommand
public void setData(byte[] data)