Package | Description |
---|---|
com.pushtechnology.diffusion.client.callbacks |
Client API : Callback Interfaces.
|
Modifier and Type | Field and Description |
---|---|
static ErrorReason |
ErrorReason.ACCESS_DENIED
The request was rejected because the caller has insufficient permissions.
|
static ErrorReason |
ErrorReason.CALLBACK_EXCEPTION
An application callback threw an exception.
|
static ErrorReason |
ErrorReason.CLUSTER_REPARTITION
A cluster operation failed because partition ownership changed during
processing.
|
static ErrorReason |
ErrorReason.CLUSTER_ROUTING
A cluster operation failed to be routed to a server within the cluster
due to a communication failure, or the server that owns a partition is
not currently known.
|
static ErrorReason |
ErrorReason.COMMUNICATION_FAILURE
Communication with the server failed.
|
static ErrorReason |
ErrorReason.HANDLER_CONFLICT
A conflicting registration exists.
|
static ErrorReason |
ErrorReason.INCOMPATIBLE_DATATYPE
A datatype operation has failed due to incompatibility.
|
static ErrorReason |
ErrorReason.INCOMPATIBLE_STATE
A topic update could not be performed because the topic is managed by a
component (for example, fan-out) which prohibits external updates.
|
static ErrorReason |
ErrorReason.INVALID_DATA
An operation failed because invalid data was received.
|
static ErrorReason |
ErrorReason.INVALID_PATH
An invalid path was supplied.
|
static ErrorReason |
ErrorReason.NO_SUCH_SESSION
The session does not exist on the server.
|
static ErrorReason |
ErrorReason.REQUEST_TIME_OUT
Communication with the server failed because a service request timed out.
|
static ErrorReason |
ErrorReason.SESSION_CLOSED
Communication with the server failed because the session is closed.
|
static ErrorReason |
ErrorReason.TOPIC_TREE_REGISTRATION_CONFLICT
A conflicting registration exists on the same branch of the topic tree.
|
static ErrorReason |
ErrorReason.UNHANDLED_MESSAGE
A message was not handled by the server.
|
static ErrorReason |
ErrorReason.UNSUPPORTED
The request was rejected because the requested service is unsupported for this caller.
|
Modifier and Type | Method and Description |
---|---|
void |
ContextCallback.onError(C context,
ErrorReason errorReason)
Deprecated.
Notification of a contextual error related to this callback.
|
void |
ContextCallback.Default.onError(C context,
ErrorReason errorReason) |
void |
Callback.onError(ErrorReason errorReason)
Notification of a contextual error related to this callback.
|
void |
Callback.Default.onError(ErrorReason errorReason) |
Copyright © 2024 DiffusionData Ltd. All Rights Reserved.