Package com.hivemq.client.mqtt.lifecycle
Interface MqttClientConnectedListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Listener which is notified when a client is connected (a successful ConnAck message is received).
- Since:
- 1.1
-
Method Summary
Modifier and TypeMethodDescriptionvoidListener method which is notified when a client is connected (a successful ConnAck message is received).
-
Method Details
-
onConnected
Listener method which is notified when a client is connected (a successful ConnAck message is received).This method must not block.
- Parameters:
context- provides context about the client that is now connected.
-