软件包 | 描述 |
---|---|
io.netty.handler.codec.mqtt |
编码器,解码器和MQTT的不同消息类型。
|
Modifier and Type | Method and Description |
---|---|
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.cleanSession(boolean cleanSession) |
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.clientId(java.lang.String clientId) |
static MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.connect() |
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.hasPassword(boolean value) |
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.hasUser(boolean value) |
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.keepAlive(int keepAliveSecs) |
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.password(byte[] password) |
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.password(java.lang.String password)
已过时。
改为使用
password(byte[])
|
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.protocolVersion(MqttVersion version) |
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.username(java.lang.String username) |
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.willFlag(boolean willFlag) |
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.willMessage(byte[] willMessage) |
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.willMessage(java.lang.String willMessage)
已过时。
|
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.willQoS(MqttQoS willQos) |
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.willRetain(boolean willRetain) |
MqttMessageBuilders.ConnectBuilder |
MqttMessageBuilders.ConnectBuilder.willTopic(java.lang.String willTopic) |
Copyright © 2008–2018 The Netty Project. All rights reserved.