Package | Description |
---|---|
com.pushtechnology.diffusion.client.callbacks |
Unified API - Callback Interfaces.
|
com.pushtechnology.diffusion.client.features.control.topics |
Unified API - Topic Control Features.
|
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.COMMUNICATION_FAILURE
Communication with the server failed.
|
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, pre-existing registration exists on the same branch of the
topic tree.
|
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)
Notification of a contextual error related to this callback.
|
void |
ContextCallback.Default.onError(C context,
ErrorReason errorReason) |
void |
ServerHandler.onError(ErrorReason errorReason)
Notification of a contextual error related to this handler.
|
void |
ServerHandler.Default.onError(ErrorReason errorReason) |
void |
Callback.onError(ErrorReason errorReason)
Notification of a contextual error related to this callback.
|
void |
Callback.Default.onError(ErrorReason errorReason) |
void |
TopicTreeHandler.onError(String topicPath,
ErrorReason errorReason)
Notification of a contextual error related to this handler.
|
void |
TopicTreeHandler.Default.onError(String topicPath,
ErrorReason errorReason) |
Modifier and Type | Field and Description |
---|---|
static ErrorReason |
TopicUpdateControl.DELTA_WITHOUT_VALUE
An attempt has been made to apply a delta to a topic that has not yet has
a value specified for it.
|
static ErrorReason |
TopicUpdateControl.DUPLICATES
For topic types that operate a policy to prevent duplicate data an update
has been supplied that violates the duplicates policy.
|
static ErrorReason |
TopicUpdateControl.EXCLUSIVE_UPDATER_CONFLICT
A non-exclusive update has been attempted when an exclusive update source
is already registered for the specified topic's branch.
|
static ErrorReason |
TopicUpdateControl.INCOMPATIBLE_UPDATE
An update has been supplied which is incompatible with the type of topic
that it is being applied to.
|
static ErrorReason |
TopicUpdateControl.INVALID_ADDRESS
For topic types with addressable data a supplied key or index is invalid
or does not correspond to a current entry.
|
static ErrorReason |
TopicUpdateControl.INVALID_UPDATER
The updater used is not in a valid state for sending updates.
|
static ErrorReason |
TopicUpdateControl.MISSING_TOPIC
A topic with the path specified for the update does not exist.
|
static ErrorReason |
TopicUpdateControl.UPDATE_FAILED
The update failed, probably because the content sent with the update was
invalid or incompatible with the topic type or expected data format.
|
Copyright © 2016 Push Technology Ltd. All Rights Reserved.