Package io.vertx.mqtt.messages
Interface MqttAuthenticationExchangeMessage
-
public interface MqttAuthenticationExchangeMessage
Represents an MQTT AUTH message
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Buffer
authenticationData()
String
authenticationMethod()
static MqttAuthenticationExchangeMessage
create(MqttAuthenticateReasonCode reasonCode, MqttProperties properties)
Create a concrete instance of a Vert.x auth messageMqttProperties
properties()
MqttAuthenticateReasonCode
reasonCode()
-
-
-
Method Detail
-
create
static MqttAuthenticationExchangeMessage create(MqttAuthenticateReasonCode reasonCode, MqttProperties properties)
Create a concrete instance of a Vert.x auth message- Parameters:
reasonCode
- authenticate reason codeproperties
- mqtt properties.- Returns:
- Vert.x auth message
-
reasonCode
MqttAuthenticateReasonCode reasonCode()
- Returns:
- authenticate reason code
-
authenticationMethod
String authenticationMethod()
- Returns:
- authenticate method
-
authenticationData
Buffer authenticationData()
- Returns:
- authentication data
-
properties
MqttProperties properties()
- Returns:
- MQTT properties
-
-