public final class MqttConnectVariableHeader
extends java.lang.Object
MqttConnectMessage
Constructor and Description |
---|
MqttConnectVariableHeader(java.lang.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() |
java.lang.String |
name() |
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 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 java.lang.String toString()
toString
在课堂上
java.lang.Object
Copyright © 2008–2018 The Netty Project. All rights reserved.