Modifier and Type | Field and Description |
---|---|
static EndpointProvider |
DEFAULT
Provides a default Endpoint
|
Modifier and Type | Method and Description |
---|---|
Endpoint |
endpoint()
Provides a custom Endpoint
|
void |
endpointConnectionError(Endpoint endpoint,
java.io.IOException error)
Called when an exception is thrown while connecting to the given Endpoint
|
void |
endpointReadError(Endpoint endpoint,
java.io.IOException error)
Called when an exception is thrown while reading from the given Endpoint
|
void |
endpointWriteError(Endpoint endpoint,
java.io.IOException error)
Called when an exception is thrown while writing to the given Endpoint
|
static final EndpointProvider DEFAULT
Endpoint.DEFAULT
Endpoint endpoint()
void endpointConnectionError(Endpoint endpoint, java.io.IOException error)
endpoint
- The Endpoint that had a
connection error
error
- The connection errorvoid endpointReadError(Endpoint endpoint, java.io.IOException error)
endpoint
- The Endpoint that had a
read error
error
- The connection error