Package com.pushtechnology.diffusion.client.session
package com.pushtechnology.diffusion.client.session
Client API : Sessions.
This package contains types relating to sessions. A session represents one or more interactions or conversations with a server.
The main interface is
Session
, an
instance of which may be obtained using
SessionFactory
.
- Since:
- 5.0
- Author:
- DiffusionData Limited
-
ClassDescriptionThe session operation failed due to an authentication failure.This is the base interface for features that may be added directly to a client
session
.The session operation failed due to a permissions failure.A session could not be established because the server was initializing.A client session to a server (or cluster of servers).The error notification interface for a session.DefaultSession.ErrorHandler
implementation which simply logs errors at error level.The optional listener interface for a session which may be used to receive state notifications.DefaultSession.Listener
implementation which simply logs events at debug level.Encapsulates the detail of a reported error.A session lock is a server-managed resource that can be used to coordinate exclusive access to shared resources across sessions.Values for thescope
parameter ofSession.lock(String, SessionLockScope)
.Session state.Session Attributes.The transports available to Java clients.The session is closed.There was a problem when establishing a Session.Represents a transient problem when establishing a session.General class of exceptions indicating aSession
specific failure.Factory for clientsessions
.A uniqueSession
identifier, allocated by the server.The session operation failed due to a security constraint.