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.Messagepublic SUBACK decode(MQTTFrame frame) throws ProtocolException
decode in interface MessageSupport.MessageProtocolExceptionpublic MQTTFrame encode()
encode in interface MessageSupport.Messagepublic byte[] grantedQos()
public SUBACK grantedQos(byte[] grantedQos)
public short messageId()
public SUBACK messageId(short messageId)
Copyright © 2010–2021 FuseSource, Corp.. All rights reserved.