org.fusesource.mqtt.codec
Class SUBACK
java.lang.Object
org.fusesource.mqtt.codec.SUBACK
- All Implemented Interfaces:
- MessageSupport.Message
public class SUBACK
- extends java.lang.Object
- implements MessageSupport.Message
- Author:
- Hiram Chirino
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NO_GRANTED_QOS
public static final byte[] NO_GRANTED_QOS
TYPE
public static final byte TYPE
- See Also:
- Constant Field Values
SUBACK
public SUBACK()
messageType
public byte messageType()
- Specified by:
messageType in interface MessageSupport.Message
decode
public SUBACK 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
grantedQos
public byte[] grantedQos()
grantedQos
public SUBACK grantedQos(byte[] grantedQos)
messageId
public short messageId()
messageId
public SUBACK messageId(short messageId)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2010-2012 FuseSource, Corp.. All Rights Reserved.