@Override public Message putBooleanProperty(SimpleString key, boolean value) { message.putBooleanProperty(key, value); return this; }
@Override public Message putBooleanProperty(String key, boolean value) { message.putBooleanProperty(key, value); return this; }
@Override public ClientMessageImpl putBooleanProperty(final String key, final boolean value) { return (ClientMessageImpl) super.putBooleanProperty(key, value); }
@Override public ClientMessageImpl putBooleanProperty(final SimpleString key, final boolean value) { return (ClientMessageImpl) super.putBooleanProperty(key, value); }
@Override public Message putBooleanProperty(SimpleString key, boolean value) { message.putBooleanProperty(key, value); return this; }
@Override public Message putBooleanProperty(SimpleString key, boolean value) { message.putBooleanProperty(key, value); return this; }
@Override public Message putBooleanProperty(String key, boolean value) { message.putBooleanProperty(key, value); return this; }
@Override public Message putBooleanProperty(SimpleString key, boolean value) { message.putBooleanProperty(key, value); return this; }
@Override public Message putBooleanProperty(String key, boolean value) { message.putBooleanProperty(key, value); return this; }
@Override public Message putBooleanProperty(String key, boolean value) { message.putBooleanProperty(key, value); return this; }
@Override public Message putBooleanProperty(String key, boolean value) { message.putBooleanProperty(key, value); return this; }
@Override public Message putBooleanProperty(String key, boolean value) { message.putBooleanProperty(key, value); return this; }
@Override public ClientMessageImpl putBooleanProperty(final SimpleString key, final boolean value) { return (ClientMessageImpl) super.putBooleanProperty(key, value); }
@Override public Message putBooleanProperty(String key, boolean value) { message.putBooleanProperty(key, value); return this; }
@Override public Message putBooleanProperty(SimpleString key, boolean value) { message.putBooleanProperty(key, value); return this; }
@Override public ClientMessageImpl putBooleanProperty(final String key, final boolean value) { return (ClientMessageImpl) super.putBooleanProperty(key, value); }
@Override public Message putBooleanProperty(SimpleString key, boolean value) { message.putBooleanProperty(key, value); return this; }
@Override public CoreMessage putBooleanProperty(final String key, final boolean value) { return putBooleanProperty(key(key), value); }
private static ICoreMessage createServerMessage(MQTTSession session, SimpleString address, boolean retain, int qos) { long id = session.getServer().getStorageManager().generateID(); CoreMessage message = new CoreMessage(id, DEFAULT_SERVER_MESSAGE_BUFFER_SIZE, session.getCoreMessageObjectPools()); message.setAddress(address); message.putBooleanProperty(MQTT_MESSAGE_RETAIN_KEY, retain); message.putIntProperty(MQTT_QOS_LEVEL_KEY, qos); message.setType(Message.BYTES_TYPE); return message; }
private static ICoreMessage createServerMessage(MQTTSession session, SimpleString address, boolean retain, int qos) { long id = session.getServer().getStorageManager().generateID(); CoreMessage message = new CoreMessage(id, DEFAULT_SERVER_MESSAGE_BUFFER_SIZE, session.getCoreMessageObjectPools()); message.setAddress(address); message.putBooleanProperty(MQTT_MESSAGE_RETAIN_KEY, retain); message.putIntProperty(MQTT_QOS_LEVEL_KEY, qos); message.setType(Message.BYTES_TYPE); return message; }