Interface ClientManager.ConnectCallback
- All Known Implementing Classes:
AbstractMqttMessageDrivenChannelAdapter,MqttPahoMessageDrivenChannelAdapter,Mqttv5PahoMessageDrivenChannelAdapter
- Enclosing interface:
ClientManager<T,C>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A contract for a custom callback on
connectComplete event from the client.- Since:
- 6.0
- Author:
- Artem Vozhdayenko, Artem Bilan, Jiri Soucek
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidconnectComplete(boolean isReconnect) Called when the connection to the server is completed successfully.
-
Method Details
-
connectComplete
void connectComplete(boolean isReconnect) Called when the connection to the server is completed successfully.- Parameters:
isReconnect- if true, the connection was the result of automatic reconnect.
-