See: Description
Interface | Description |
---|---|
Callback |
A callback interface used to return results from a call to the server.
|
ContextCallback<C> |
A callback interface used to return results from a call to the server with
context supplied with the call.
|
ContextStream<C> |
An extension of
ContextCallback that allows many callbacks for each
call context. |
Messaging |
This feature provides a client session with messaging capabilities.
|
Messaging.MessageStream |
Stream interface that may be registered to receive messages from this
feature.
|
Messaging.SendCallback |
Callback interface for success or failure notifications from send
operations.
|
Messaging.SendContextCallback<C> |
Contextual callback interface for success or failure notifications from
send operations.
|
Pings |
This feature provides a client session with the ability to ping the server.
|
Pings.PingCallback |
Callback interface for
Pings.pingServer(PingCallback) . |
Pings.PingContextCallback<C> |
Callback interface for
Pings.pingServer(Object, PingContextCallback) . |
Pings.PingDetails |
Details returned with a response from a ping to the server.
|
RegisteredHandler |
A reference to a registered handler.
|
Security |
This feature provides a client session with the ability to change the
associated principal.
|
Security.ChangePrincipalCallback |
The callback interface for
Security.changePrincipal(String, Credentials, ChangePrincipalCallback)
. |
Security.ChangePrincipalContextCallback<C> |
The callback interface for
Security.changePrincipal(String, Credentials, Object, ChangePrincipalContextCallback)
. |
ServerHandler |
This is the base interface for all callback handlers registered via a client
session that establish a server side control presence for the
client. |
Stream |
An extension of
Callback that allows many callbacks for each call
context. |
Topics |
This feature allows a client session to subscribe to topics to receive
streamed topic updates and/or fetch the state of topics.
|
Topics.CompletionCallback |
Callback interface for success or failure notifications from subscription
and unsubscription operations.
|
Topics.CompletionContextCallback<C> |
Contextual callback interface for success or failure notifications from
subscription operations.
|
Topics.FetchContextStream<C> |
Contextual callback interface for fetch requests.
|
Topics.FetchStream |
Callback interface for fetch requests.
|
Topics.SubscriberStream |
Base subscriber stream interface.
|
Topics.TopicDetailsCallback |
Callback interface for replies to requests for topic details.
|
Topics.TopicDetailsContextCallback<C> |
Contextual callback interface for replies to requests for topic details.
|
Topics.TopicStream |
Generic stream interface that can be registered to receive topic
subscription, value and delta events.
|
Topics.ValueStream<V> |
Stream interface that can be registered to receive subscription and value
events whenever an update is received from the server.
|
TopicTreeHandler |
Common base interface for callback handlers registered via the client
session that establish a server side control presence for a
branch of the topic tree. |
Enum | Description |
---|---|
Topics.UnsubscribeReason |
The reason that an unsubscription occurred.
|
This package contains the standard client features.
A feature
represents a unit of functionality that is available to use within a client
session
.
Standard client features include:
Topics
This feature allows a client to subscribe to topics in order to receive
streaming updates. It also allows a client to fetch the state of topics
without having to subscribe to them.
Messaging
This feature allows a client to send messages on a topic (to be delivered to
the controller of that topic) or receive messages on topics (send by topic
controllers).
Pings
This feature allows a client to ping the server to ensure connectivity and
to obtain round trip timings.
Security
This feature allows a client to change it's principal.
A feature may be obtained from a session using the
feature
method specifying the feature class. For example:
Topics topics = session.feature(Topics.class);
Copyright © 2016 Push Technology Ltd. All Rights Reserved.