public final class MqttConnectVariableHeader extends Object
MqttConnectMessage
Constructor and Description |
---|
MqttConnectVariableHeader(String name,
int version,
boolean hasUserName,
boolean hasPassword,
boolean isWillRetain,
int willQos,
boolean isWillFlag,
boolean isCleanSession,
int keepAliveTimeSeconds) |
MqttConnectVariableHeader(String name,
int version,
boolean hasUserName,
boolean hasPassword,
boolean isWillRetain,
int willQos,
boolean isWillFlag,
boolean isCleanSession,
int keepAliveTimeSeconds,
MqttProperties properties) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasPassword() |
boolean |
hasUserName() |
boolean |
isCleanSession() |
boolean |
isWillFlag() |
boolean |
isWillRetain() |
int |
keepAliveTimeSeconds() |
String |
name() |
MqttProperties |
properties() |
String |
toString() |
int |
version() |
int |
willQos() |
public MqttConnectVariableHeader(String name, int version, boolean hasUserName, boolean hasPassword, boolean isWillRetain, int willQos, boolean isWillFlag, boolean isCleanSession, int keepAliveTimeSeconds)
public MqttConnectVariableHeader(String name, int version, boolean hasUserName, boolean hasPassword, boolean isWillRetain, int willQos, boolean isWillFlag, boolean isCleanSession, int keepAliveTimeSeconds, MqttProperties properties)
public 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()
Copyright © 2008–2024 The Netty Project. All rights reserved.