Parameters
- component
- The object where the connection loss occurs.
- cause
- The reason of the connection loss.
- context
- The state of connection when connection is lost.
- retryMode
- The application behavior when connection is lost.
- attemptNumber
- The number of attempts to reconnect.