public interface MqttClientConnection extends ClientConnection
| 限定符和类型 | 方法和说明 |
|---|---|
MqttClientConnection |
accept()
接受连接
|
Optional<MqttAuth> |
auth() |
MqttClientConnection |
autoAcknowledge(boolean autoAcknowledge)
设置是否自动应答
|
String |
clientId() |
MqttClientConnection |
reject(MqttConnectReturnCode code)
拒绝连接
错误吗
|
address, disconnect, isAlive, receiveMessage, sendMessageString clientId()
MqttClientConnection reject(MqttConnectReturnCode code)
错误吗
code - 错误码MqttClientConnection accept()
MqttClientConnection autoAcknowledge(boolean autoAcknowledge)
autoAcknowledge - 是否自动应答Copyright © 2019–2022. All rights reserved.