public class CONNACK extends Object implements MessageSupport.Message
Modifier and Type | Class and Description |
---|---|
static class |
CONNACK.Code |
Modifier and Type | Field and Description |
---|---|
static byte |
TYPE |
Constructor and Description |
---|
CONNACK() |
Modifier and Type | Method and Description |
---|---|
CONNACK.Code |
code() |
CONNACK |
code(CONNACK.Code code) |
CONNACK |
decode(MQTTFrame frame) |
MQTTFrame |
encode() |
byte |
messageType() |
String |
toString() |
public static final byte TYPE
public byte messageType()
messageType
in interface MessageSupport.Message
public CONNACK decode(MQTTFrame frame) throws ProtocolException
decode
in interface MessageSupport.Message
ProtocolException
public MQTTFrame encode()
encode
in interface MessageSupport.Message
public CONNACK.Code code()
public CONNACK code(CONNACK.Code code)
Copyright © 2010-2017 FuseSource, Corp.. All Rights Reserved.