public final class MqttConnectVariableHeader
extends java.lang.Object
MqttConnectMessage
构造器和说明 |
---|
MqttConnectVariableHeader(java.lang.String name,
int version,
boolean hasUserName,
boolean hasPassword,
boolean isWillRetain,
int willQos,
boolean isWillFlag,
boolean isCleanSession,
int keepAliveTimeSeconds) |
MqttConnectVariableHeader(java.lang.String name,
int version,
boolean hasUserName,
boolean hasPassword,
boolean isWillRetain,
int willQos,
boolean isWillFlag,
boolean isCleanSession,
int keepAliveTimeSeconds,
MqttProperties properties) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
hasPassword() |
boolean |
hasUserName() |
boolean |
isCleanSession() |
boolean |
isWillFlag() |
boolean |
isWillRetain() |
int |
keepAliveTimeSeconds() |
java.lang.String |
name() |
MqttProperties |
properties() |
java.lang.String |
toString() |
int |
version() |
int |
willQos() |
public MqttConnectVariableHeader(java.lang.String name, int version, boolean hasUserName, boolean hasPassword, boolean isWillRetain, int willQos, boolean isWillFlag, boolean isCleanSession, int keepAliveTimeSeconds)
public MqttConnectVariableHeader(java.lang.String name, int version, boolean hasUserName, boolean hasPassword, boolean isWillRetain, int willQos, boolean isWillFlag, boolean isCleanSession, int keepAliveTimeSeconds, MqttProperties properties)
public java.lang.String name()
public int version()
public boolean hasUserName()
public boolean hasPassword()
public boolean isWillRetain()
public int willQos()
public boolean isWillFlag()
public boolean isCleanSession()
public int keepAliveTimeSeconds()
public MqttProperties properties()
public java.lang.String toString()
toString
在类中 java.lang.Object