-
- All Implemented Interfaces:
-
org.eclipse.paho.client.mqttv3.MqttPersistable
public abstract class MqttPersistableWireMessage extends MqttWireMessage implements MqttPersistable
-
-
Constructor Summary
Constructors Constructor Description MqttPersistableWireMessage(byte type)
-
Method Summary
Modifier and Type Method Description Array<byte>getHeaderBytes()Returns the header bytes in an array. intgetHeaderLength()Returns the length of the header. intgetHeaderOffset()Returns the offset of the header within the byte array returned by getHeaderBytes. Array<byte>getPayloadBytes()Returns the payload bytes in an array. intgetPayloadLength()Returns the length of the payload. intgetPayloadOffset()Returns the offset of the payload within the byte array returned by getPayloadBytes. -
Methods inherited from class org.eclipse.paho.client.mqttv3.internal.wire.MqttWireMessage
createWireMessage, createWireMessage, getHeader, getKey, getMessageId, getPayload, getToken, getType, isMessageIdRequired, isRetryable, packetName, setDuplicate, setMessageId, setToken, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getHeaderBytes
Array<byte> getHeaderBytes()
Returns the header bytes in an array. The bytes start at getHeaderOffset and continue for getHeaderLength.
-
getHeaderLength
int getHeaderLength()
Returns the length of the header.
-
getHeaderOffset
int getHeaderOffset()
Returns the offset of the header within the byte array returned by getHeaderBytes.
-
getPayloadBytes
Array<byte> getPayloadBytes()
Returns the payload bytes in an array. The bytes start at getPayloadOffset and continue for getPayloadLength.
-
getPayloadLength
int getPayloadLength()
Returns the length of the payload.
-
getPayloadOffset
int getPayloadOffset()
Returns the offset of the payload within the byte array returned by getPayloadBytes.
-
-
-
-