public class Client2Notification
extends java.lang.Object
Client2Notification
class defines interfaces
for 'notifications' from the client API to the application code.
The application can optionally register to receive notifications
via a Client2Config
object, which is then used in creation
of a Client2
client.
Each notification declares a single accept
method, and offers a functional interface.
Modifier and Type | Class and Description |
---|---|
static interface |
Client2Notification.ConnectionStatus
Notification of connection status change.
|
static interface |
Client2Notification.ErrorLog
Error logging interception.
|
static interface |
Client2Notification.LateResponse
Notification of late response from server.
|
static interface |
Client2Notification.RequestBackpressure
Notification of approaching limit on pending requests.
|