## Uses of Class
org.apache.cayenne.remote.RemoteSession

- Packages that use RemoteSession
  Package | Description
  --- | ---
  org.apache.cayenne.remote | Contains classes an interfaces related to Cayenne remote object persistence features.
  org.apache.cayenne.remote.service |
  org.apache.cayenne.rop |

- - ### Uses of RemoteSession in org.apache.cayenne.remote

    Methods in org.apache.cayenne.remote that return RemoteSession
    Modifier and Type | Method and Description
    --- | ---
    `RemoteSession` | RemoteService.`establishSession()` Establishes a dedicated session with Cayenne DataChannel, returning session id.
    `RemoteSession` | RemoteService.`establishSharedSession(String name)` Creates a new session with the specified or joins an existing one.

  - ### Uses of RemoteSession in org.apache.cayenne.remote.service

    Fields in org.apache.cayenne.remote.service declared as RemoteSession
    Modifier and Type | Field and Description
    --- | ---
    `protected RemoteSession` | ServerSession.`session`

    Methods in org.apache.cayenne.remote.service that return RemoteSession
    Modifier and Type | Method and Description
    --- | ---
    `protected RemoteSession` | BaseRemoteService.`createRemoteSession(String sessionId, String name, boolean enableEvents)`
    `RemoteSession` | BaseRemoteService.`establishSession()`
    `RemoteSession` | BaseRemoteService.`establishSharedSession(String name)`
    `RemoteSession` | ServerSession.`getSession()`

    Constructors in org.apache.cayenne.remote.service with parameters of type RemoteSession
    Constructor and Description
    `ServerSession(RemoteSession session, DataChannel channel)`

  - ### Uses of RemoteSession in org.apache.cayenne.rop

    Methods in org.apache.cayenne.rop that return RemoteSession
    Modifier and Type | Method and Description
    --- | ---
    `RemoteSession` | ProxyRemoteService.`establishSession()`
    `RemoteSession` | ProxyRemoteService.`establishSharedSession(String name)`
    `RemoteSession` | HttpClientConnection.`getSession()`

    Methods in org.apache.cayenne.rop with parameters of type RemoteSession
    Modifier and Type | Method and Description
    --- | ---
    `protected EventBridge` | HttpClientConnection.`createServerEventBridge(RemoteSession session)` Creates an EventBridge that will listen for server events.

Copyright © 2001–2018 Apache Cayenne. All rights reserved.