org.apache.cayenne.remote.service

## Class ServerSession

- java.lang.Object
- - org.apache.cayenne.remote.service.ServerSession

- All Implemented Interfaces:
    Serializable

      public class ServerSession
      extends Object
      implements Serializable

  An object that stores server side objects for the client session.
  Since:
    1.2
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected DataChannel` | `channel`
    `protected RemoteSession` | `session`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ServerSession(RemoteSession session, DataChannel channel)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `DataChannel` | `getChannel()`
    `RemoteSession` | `getSession()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### session

          protected RemoteSession session

    - #### channel

          protected DataChannel channel

  - ### Constructor Detail

    - #### ServerSession

          public ServerSession(RemoteSession session,
                               DataChannel channel)

  - ### Method Detail

    - #### getChannel

          public DataChannel getChannel()

    - #### getSession

          public RemoteSession getSession()

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