org.fusesource.mqtt.codec
Class CONNACK
java.lang.Object
org.fusesource.mqtt.codec.CONNACK
- All Implemented Interfaces:
- MessageSupport.Message
public class CONNACK
- extends java.lang.Object
- implements MessageSupport.Message
- Author:
- Hiram Chirino
Field Summary |
static byte |
TYPE
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final byte TYPE
- See Also:
- Constant Field Values
CONNACK
public CONNACK()
messageType
public byte messageType()
- Specified by:
messageType
in interface MessageSupport.Message
decode
public CONNACK decode(MQTTFrame frame)
throws java.net.ProtocolException
- Specified by:
decode
in interface MessageSupport.Message
- Throws:
java.net.ProtocolException
encode
public MQTTFrame encode()
- Specified by:
encode
in interface MessageSupport.Message
code
public CONNACK.Code code()
code
public CONNACK code(CONNACK.Code code)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010-2012 FuseSource, Corp.. All Rights Reserved.