Uses of Class
org.apache.qpid.protonj2.client.DisconnectionEvent
-
Uses of DisconnectionEvent in org.apache.qpid.protonj2.client
Modifier and TypeMethodDescriptionConnectionOptions.disconnectedHandler()
ConnectionOptions.interruptedHandler()
Modifier and TypeMethodDescriptionConnectionOptions.disconnectedHandler
(BiConsumer<Connection, DisconnectionEvent> disconnectedHandler) Configures a handler that will be notified when the connection has failed and cannot be recovered should reconnect be enabled.ConnectionOptions.interruptedHandler
(BiConsumer<Connection, DisconnectionEvent> interruptedHandler) Configures a handler that will be notified when the currentConnection
experiences an interruption.