Package io.vertx.rxjava3.mqtt.messages
Class MqttConnAckMessage
- java.lang.Object
-
- io.vertx.rxjava3.mqtt.messages.MqttConnAckMessage
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<MqttConnAckMessage>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description MqttConnAckMessage(MqttConnAckMessage delegate)
MqttConnAckMessage(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MqttConnectReturnCode
code()
static MqttConnAckMessage
create(MqttConnectReturnCode code, boolean isSessionPresent)
Create a concrete instance of a Vert.x connack messagestatic MqttConnAckMessage
create(MqttConnectReturnCode code, boolean isSessionPresent, MqttProperties properties)
Create a concrete instance of a Vert.x connack messageboolean
equals(Object o)
MqttConnAckMessage
getDelegate()
int
hashCode()
boolean
isSessionPresent()
static MqttConnAckMessage
newInstance(MqttConnAckMessage arg)
MqttProperties
properties()
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<MqttConnAckMessage> __TYPE_ARG
-
-
Constructor Detail
-
MqttConnAckMessage
public MqttConnAckMessage(MqttConnAckMessage delegate)
-
MqttConnAckMessage
public MqttConnAckMessage(Object delegate)
-
-
Method Detail
-
getDelegate
public MqttConnAckMessage getDelegate()
-
create
public static MqttConnAckMessage create(MqttConnectReturnCode code, boolean isSessionPresent)
Create a concrete instance of a Vert.x connack message- Parameters:
code
- return code from the connection requestisSessionPresent
- is an old session is present- Returns:
-
code
public MqttConnectReturnCode code()
- Returns:
- return code from the connection request
-
isSessionPresent
public boolean isSessionPresent()
- Returns:
- is an old session is present
-
create
public static MqttConnAckMessage create(MqttConnectReturnCode code, boolean isSessionPresent, MqttProperties properties)
Create a concrete instance of a Vert.x connack message- Parameters:
code
- return code from the connection requestisSessionPresent
- is an old session is presentproperties
- MQTT properties- Returns:
-
properties
public MqttProperties properties()
-
newInstance
public static MqttConnAckMessage newInstance(MqttConnAckMessage arg)
-
-