ConnectionFailure

Handles the error when the connection fails and may attempt to reconnect.

Emit this event when an established connection has failed. Pass the exception that caused the connection to fail and a flag that indicates whether to attempt reconnection. This event should only be used on an established connection, or when DynamicEntityDataSource.connectionStatus is connected. It should not be used when attempting to create an initial connection during EntityFeedProvider.onConnect.

Since

200.2.0

Parameters

cause

error that was encountered during connection failure

reconnect

indicates whether reconnection should be attempted after failure

Constructors

Link copied to clipboard
constructor(cause: Exception, reconnect: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard