Package com.hivemq.client.mqtt
Interface MqttClientConnectionConfig
- All Known Subinterfaces:
Mqtt3ClientConnectionConfig,Mqtt5ClientConnectionConfig
Connection configuration of an
MqttClient.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionintbooleanboolean
-
Method Details
-
getTransportConfig
- Returns:
- the transport configuration the client is connected with.
- Since:
- 1.1
-
getKeepAlive
int getKeepAlive()- Returns:
- the keep alive in seconds that is used while the client is connected.
-
hasSimpleAuth
boolean hasSimpleAuth()- Returns:
- whether the client connected with simple authentication and/or authorization related data.
- Since:
- 1.1
-
hasWillPublish
boolean hasWillPublish()- Returns:
- whether the client connected with a Will Publish message.
-