RPCConnectionListener.onPermanentFailure - corda

corda / net.corda.client.rpc.ext / RPCConnectionListener / onPermanentFailure

# onPermanentFailure

`abstract fun onPermanentFailure(context: ConnectionContext<I>): Unit`

This is a terminal notification to inform that:

- it has never been possible to connect due to incorrect credentials or endpoints addresses supplied. In this case ConnectionContext.connectionOpt will be `null`; or
- no further reconnection will be performed as maximum number of attempts has been reached. In this case ConnectionContext.connectionOpt may not be `null`.