net.sf.xenqtt.message
Class PubAckMessage

java.lang.Object
  extended by net.sf.xenqtt.message.MqttMessage
      extended by net.sf.xenqtt.message.IdentifiableMqttMessage
          extended by net.sf.xenqtt.message.PubAckMessage

public final class PubAckMessage
extends IdentifiableMqttMessage

A PUBACK message is the response to a PUBLISH message with QoS level 1. A PUBACK message is sent by a server in response to a PUBLISH message from a publishing client, and by a subscriber in response to a PUBLISH message from the server.


Constructor Summary
PubAckMessage(ByteBuffer buffer)
          Used to construct a received message.
PubAckMessage(int messageId)
          Used to construct a message for sending
 
Method Summary
 
Methods inherited from class net.sf.xenqtt.message.IdentifiableMqttMessage
getMessageId, setMessageId
 
Methods inherited from class net.sf.xenqtt.message.MqttMessage
byteBufferToHex, bytesToHex, equals, getMessageType, getQoS, getQoSLevel, getRemainingLength, hashCode, isAck, isAckable, isDuplicate, isRetain, setDuplicateFlag, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PubAckMessage

public PubAckMessage(ByteBuffer buffer)
Used to construct a received message.


PubAckMessage

public PubAckMessage(int messageId)
Used to construct a message for sending



Copyright © 2013. All Rights Reserved.