Interface Session

All Known Subinterfaces:
ClientSession, LocalSession, ServerSession
All Known Implementing Classes:
AbstractClientSession, BayeuxClient, LocalSessionImpl, OortComet, ServerSessionImpl

public interface Session

A Bayeux session represents a connection between a bayeux client and a bayeux server.

This interface is the common base interface for both the server side and the client side representations of a session:

  • on server-side a session represents the remote client.
  • on a client-side Java client a client session exists, together with a server-side session on the server, linked by the same session id.
  • on a server-side Java client the client session is a local session and it is associated with a server-side session.