public static interface ConnectionObserver.State
ConnectionObserver.onStateChange(Connection, State)
Specific protocol might implement more state type for instance request/response lifecycle.
Modifier and Type | Field and Description |
---|---|
static ConnectionObserver.State |
ACQUIRED
Propagated when a connection has been reused / acquired
(keep-alive or pooling)
|
static ConnectionObserver.State |
CONFIGURED
Propagated when a connection is bound to a channelOperation and ready for
user interaction
|
static ConnectionObserver.State |
CONNECTED
Propagated when a connection has been established and is available
|
static ConnectionObserver.State |
DISCONNECTING
Propagated when a connection is being fully closed
|
static ConnectionObserver.State |
RELEASED
Propagated when a connection has been released but not fully closed
(keep-alive or pooling)
|
static final ConnectionObserver.State CONNECTED
static final ConnectionObserver.State CONFIGURED
static final ConnectionObserver.State ACQUIRED
static final ConnectionObserver.State RELEASED
static final ConnectionObserver.State DISCONNECTING