public 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) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasPassword() |
boolean |
hasUserName() |
boolean |
isCleanSession() |
boolean |
isWillFlag() |
boolean |
isWillRetain() |
int |
keepAliveTimeSeconds() |
String |
name() |
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 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()
Copyright © 2008–2015 The Netty Project. All rights reserved.