Package io.vertx.reactivex.mqtt.messages
Class MqttDisconnectMessage
- java.lang.Object
-
- io.vertx.reactivex.mqtt.messages.MqttDisconnectMessage
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<MqttDisconnectMessage>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description MqttDisconnectMessage(MqttDisconnectMessage delegate)
MqttDisconnectMessage(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MqttDisconnectReasonCode
code()
static MqttDisconnectMessage
create(MqttDisconnectReasonCode code, MqttProperties properties)
Create a concrete instance of a Vert.x disconnect messageboolean
equals(Object o)
MqttDisconnectMessage
getDelegate()
int
hashCode()
static MqttDisconnectMessage
newInstance(MqttDisconnectMessage arg)
MqttProperties
properties()
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<MqttDisconnectMessage> __TYPE_ARG
-
-
Constructor Detail
-
MqttDisconnectMessage
public MqttDisconnectMessage(MqttDisconnectMessage delegate)
-
MqttDisconnectMessage
public MqttDisconnectMessage(Object delegate)
-
-
Method Detail
-
getDelegate
public MqttDisconnectMessage getDelegate()
-
code
public MqttDisconnectReasonCode code()
- Returns:
- return code from the connection request
-
create
public static MqttDisconnectMessage create(MqttDisconnectReasonCode code, MqttProperties properties)
Create a concrete instance of a Vert.x disconnect message- Parameters:
code
- return code from the disconnect requestproperties
- MQTT properties of the disconnect message- Returns:
-
properties
public MqttProperties properties()
- Returns:
- MQTT properties
-
newInstance
public static MqttDisconnectMessage newInstance(MqttDisconnectMessage arg)
-
-