public class SUBACK extends java.lang.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() |
java.lang.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 java.net.ProtocolException
decode
in interface MessageSupport.Message
java.net.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)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010-2016 FuseSource, Corp.. All Rights Reserved.