@Override
 public void deliveryComplete(IMqttDeliveryToken token) {
   LOG.log(Level.INFO, "Delivery complete of message id:{0}", token.getMessageId());
 }
Ejemplo n.º 2
0
 /**
  * A completed deliver does not guarantee that the message is received by the service because
  * devices send messages with Quality of Service (QoS) 0. <br>
  * The message count represents the number of messages that were sent by the device without an
  * error on from the perspective of the device.
  *
  * @param token MQTT delivery token
  */
 public void deliveryComplete(IMqttDeliveryToken token) {
   final String METHOD = "deliveryComplete";
   LoggerUtility.fine(CLASS_NAME, METHOD, "token " + token.getMessageId());
   messageCount++;
 }