org.fusesource.mqtt.codec
Class DISCONNECT

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

public class DISCONNECT
extends MessageSupport.EmptyBase
implements MessageSupport.Message

Author:
Hiram Chirino

Field Summary
static byte TYPE
           
 
Constructor Summary
DISCONNECT()
           
 
Method Summary
 DISCONNECT decode(MQTTFrame frame)
           
 byte messageType()
           
 java.lang.String toString()
           
 
Methods inherited from class org.fusesource.mqtt.codec.MessageSupport.EmptyBase
encode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.fusesource.mqtt.codec.MessageSupport.Message
encode
 

Field Detail

TYPE

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

DISCONNECT

public DISCONNECT()
Method Detail

messageType

public byte messageType()
Specified by:
messageType in interface MessageSupport.Message

decode

public DISCONNECT decode(MQTTFrame frame)
                  throws java.net.ProtocolException
Specified by:
decode in interface MessageSupport.Message
Overrides:
decode in class MessageSupport.EmptyBase
Throws:
java.net.ProtocolException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010-2012 FuseSource, Corp.. All Rights Reserved.