public class ClientConnectionFailedEvent extends ClientConnectionEndedEvent
Client
has had a connection failure.DEFAULT_RECONNECTION_DELAY_MILLIS
Constructor and Description |
---|
ClientConnectionFailedEvent(@NonNull Client client,
boolean reconnecting,
@Nullable Throwable cause)
Constructs the event.
|
canAttemptReconnect, getCause, getReconnectionDelay, setAttemptReconnect, setReconnectionDelay, toStringer, willAttemptReconnect
getClient, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getClient
public ClientConnectionFailedEvent(@NonNull Client client, boolean reconnecting, @Nullable Throwable cause)
client
- client for which this is occurringreconnecting
- true if the client plans to reconnectcause
- cause, if there was one, closing itCopyright © 2013–2021 Kitteh. All rights reserved.