public class DeviceStreamData extends DeviceEvent implements IDeviceStreamData, java.io.Serializable
Constructor and Description |
---|
DeviceStreamData() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Get chunk data.
|
java.lang.Long |
getSequenceNumber()
Get sequence number for ordering chunks.
|
java.lang.String |
getStreamId()
Get id that ties all related chunks together.
|
void |
setData(byte[] data) |
void |
setSequenceNumber(java.lang.Long sequenceNumber) |
void |
setStreamId(java.lang.String streamId) |
compareTo, copy, getAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteToken, setAssetId, setAssetModuleId, setAssignmentType, setDeviceAssignmentToken, setEventDate, setEventType, setId, setReceivedDate, setSiteToken
addOrReplaceMetadata, clearMetadata, copy, copy, getMetadata, getMetadata, removeMetadata, setMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAssetId, getAssetModuleId, getAssignmentType, getDeviceAssignmentToken, getEventDate, getEventType, getId, getReceivedDate, getSiteToken
addOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadata
public java.lang.String getStreamId()
IDeviceStreamData
getStreamId
in interface IDeviceStreamData
public void setStreamId(java.lang.String streamId)
public java.lang.Long getSequenceNumber()
IDeviceStreamData
getSequenceNumber
in interface IDeviceStreamData
public void setSequenceNumber(java.lang.Long sequenceNumber)
public byte[] getData()
IDeviceStreamData
getData
in interface IDeviceStreamData
public void setData(byte[] data)