public interface ZCLFrame
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Returns a byte array containing the raw ZCL frame, suitable to be sent on
the wire.
|
int |
getBytes(byte[] buffer)
Copy in the passed array the internal raw ZCLFrame.
|
ZigBeeDataInput |
getDataInput()
Returns
ZigBeeDataInput for reading the ZCLFrame payload content. |
ZCLHeader |
getHeader()
Returns the header of this frame.
|
int |
getSize()
Retrieve the current size of the internal raw frame (that is the size of
the byte[] that would be returned if calling the
getBytes()
method. |
ZCLHeader getHeader()
byte[] getBytes()
int getBytes(byte[] buffer)
buffer
- The buffer where to copy the raw ZCL frame.int getSize()
getBytes()
method.ZigBeeDataInput getDataInput()
ZigBeeDataInput
for reading the ZCLFrame payload content.
Every call to this method returns a different instance. The returned
instances must not share the current position to the underlying
ZCLFrame
payload.DataInput
for the payload of the ZCLFrame
. This
method does not generate a copy of the payload.IllegalStateException
- if the InputStream is not available.Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0