Package com.lucimber.dbus.connection
Interface ConnectionEventListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Listener interface for connection lifecycle events.
Implementations can register with a connection to receive notifications about state changes, health check results, and reconnection attempts.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonConnectionEvent(Connection connection, ConnectionEvent event) Called when a connection event occurs.
-
Method Details
-
onConnectionEvent
Called when a connection event occurs.- Parameters:
connection- The connection that fired the eventevent- The event that occurred
-