System.out.println("[will flag = " + endpoint.will().isWillFlag() + " topic = " + endpoint.will().willTopic() + " msg = " + endpoint.will().willMessage() + " QoS = " + endpoint.will().willQos() + " isRetain = " + endpoint.will().isWillRetain() + "]");
/** * @return the QoS level for the will as provided by the remote MQTT client */ public int willQos() { if (cached_3 != null) { return cached_3; } int ret = delegate.willQos(); cached_3 = ret; return ret; }
/** * @return the will flag for indicating the will message presence */ public boolean isWillFlag() { if (cached_0 != null) { return cached_0; } boolean ret = delegate.isWillFlag(); cached_0 = ret; return ret; }
/** * @return the topic for the will as provided by the remote MQTT client */ public String willTopic() { if (cached_1 != null) { return cached_1; } String ret = delegate.willTopic(); cached_1 = ret; return ret; }
/** * @return the payload for the will as provided by the remote MQTT client */ public String willMessage() { if (cached_2 != null) { return cached_2; } String ret = delegate.willMessage(); cached_2 = ret; return ret; }
/** * @return true if the will must be retained as provided by the remote MQTT client */ public boolean isWillRetain() { if (cached_4 != null) { return cached_4; } boolean ret = delegate.isWillRetain(); cached_4 = ret; return ret; }
new MqttWill(msg.variableHeader().isWillFlag(), msg.payload().willTopic(), msg.payload().willMessage(),
public static java.util.Map<String, Object> will(io.vertx.mqtt.MqttEndpoint j_receiver) { return j_receiver.will() != null ? io.vertx.core.impl.ConversionHelper.fromJsonObject(j_receiver.will().toJson()) : null; } }
new MqttWill(msg.variableHeader().isWillFlag(), msg.payload().willTopic(), msg.payload().willMessage(),
if (this.mqttEndpoint.will().isWillFlag()) { new AmqpWillMessage(will.isWillRetain(), will.willTopic(), MqttQoS.valueOf(will.willQos()), Buffer.buffer(will.willMessage()));