org.fusesource.mqtt.codec
Class PUBREC

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

public class PUBREC
extends MessageSupport.AckBase
implements MessageSupport.Message

Author:
Hiram Chirino

Field Summary
static byte TYPE
           
 
Constructor Summary
PUBREC()
           
 
Method Summary
 PUBREC decode(MQTTFrame frame)
           
 PUBREC messageId(short messageId)
           
 byte messageType()
           
 
Methods inherited from class org.fusesource.mqtt.codec.MessageSupport.AckBase
encode, messageId, toString
 
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

PUBREC

public PUBREC()
Method Detail

messageType

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

decode

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

messageId

public PUBREC messageId(short messageId)
Overrides:
messageId in class MessageSupport.AckBase


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