org.fusesource.mqtt.codec
Class CONNACK

java.lang.Object
  extended by org.fusesource.mqtt.codec.CONNACK
All Implemented Interfaces:
MessageSupport.Message

public class CONNACK
extends java.lang.Object
implements MessageSupport.Message

Author:
Hiram Chirino

Nested Class Summary
static class CONNACK.Code
           
 
Field Summary
static byte TYPE
           
 
Constructor Summary
CONNACK()
           
 
Method Summary
 CONNACK.Code code()
           
 CONNACK code(CONNACK.Code code)
           
 CONNACK decode(MQTTFrame frame)
           
 MQTTFrame encode()
           
 byte messageType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final byte TYPE
See Also:
Constant Field Values
Constructor Detail

CONNACK

public CONNACK()
Method Detail

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.