public class SUBACK extends Object implements MessageSupport.Message
Modifier and Type | Field and Description |
---|---|
static byte[] |
NO_GRANTED_QOS |
static byte |
TYPE |
Constructor and Description |
---|
SUBACK() |
Modifier and Type | Method and Description |
---|---|
SUBACK |
decode(MQTTFrame frame) |
MQTTFrame |
encode() |
byte[] |
grantedQos() |
SUBACK |
grantedQos(byte[] grantedQos) |
short |
messageId() |
SUBACK |
messageId(short messageId) |
byte |
messageType() |
String |
toString() |
public static final byte[] NO_GRANTED_QOS
public static final byte TYPE
public byte messageType()
messageType
in interface MessageSupport.Message
public SUBACK decode(MQTTFrame frame) throws ProtocolException
decode
in interface MessageSupport.Message
ProtocolException
public MQTTFrame encode()
encode
in interface MessageSupport.Message
public byte[] grantedQos()
public SUBACK grantedQos(byte[] grantedQos)
public short messageId()
public SUBACK messageId(short messageId)
Copyright © 2010–2016 FuseSource, Corp.. All rights reserved.