Package org.eclipse.emf.spi.cdo

## Interface InternalCDORemoteSessionManager

- All Superinterfaces:
    `CDORemoteSessionManager`, `org.eclipse.net4j.util.container.IContainer<CDORemoteSession>`, `org.eclipse.net4j.util.lifecycle.IDeactivateable`, `org.eclipse.net4j.util.lifecycle.ILifecycle`, `org.eclipse.net4j.util.event.INotifier`

      public interface InternalCDORemoteSessionManager
      extends CDORemoteSessionManager, org.eclipse.net4j.util.lifecycle.ILifecycle

  If the meaning of this type isn't clear, there really should be more of a description here...
  Since:
    2.0
  Author:
    Eike Stepper
  No Implement
    This interface is not intended to be implemented by clients.
  No Extend
    This interface is not intended to be extended by clients.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.session.remote.CDORemoteSessionManager

      `CDORemoteSessionManager.EventAdapter, CDORemoteSessionManager.LocalSubscriptionChangedEvent`

    - ### Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer

      `org.eclipse.net4j.util.container.IContainer.Modifiable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends java.lang.Object>`

    - ### Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle

      `org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation`

    - ### Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier

      `org.eclipse.net4j.util.event.INotifier.INotifier2`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `InternalCDORemoteSession` | `createRemoteSession​(int sessionID, java.lang.String userID, boolean subscribed)` |
    `InternalCDOSession` | `getLocalSession()` | Returns the `local session` this CDORemoteSessionManager belongs to.
    `void` | `handleRemoteSessionClosed​(int sessionID)` |
    `void` | `handleRemoteSessionMessage​(int sessionID, CDORemoteSessionMessage message)` |
    `void` | `handleRemoteSessionOpened​(int sessionID, java.lang.String userID)` |
    `void` | `handleRemoteSessionSubscribed​(int sessionID, boolean subscribed)` |
    `void` | `setLocalSession​(InternalCDOSession localSession)` |

    - ### Methods inherited from interface org.eclipse.emf.cdo.session.remote.CDORemoteSessionManager

      `getRemoteSessions, isForceSubscription, isSubscribed, sendMessage, sendMessage, setForceSubscription`

    - ### Methods inherited from interface org.eclipse.net4j.util.container.IContainer

      `getElements, isEmpty`

    - ### Methods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle

      `activate, deactivate, getLifecycleState, isActive`

    - ### Methods inherited from interface org.eclipse.net4j.util.event.INotifier

      `addListener, getListeners, hasListeners, removeListener`

- - ### Method Detail

    - #### getLocalSession

          InternalCDOSession getLocalSession()

      Description copied from interface: `CDORemoteSessionManager`
      Returns the `local session` this CDORemoteSessionManager belongs to.
      Specified by:
        `getLocalSession` in interface `CDORemoteSessionManager`
      Since:
        3.0

    - #### setLocalSession

          void setLocalSession​(InternalCDOSession localSession)

      Since:
        3.0

    - #### createRemoteSession

          InternalCDORemoteSession createRemoteSession​(int sessionID,
                                                       java.lang.String userID,
                                                       boolean subscribed)

      Since:
        3.0

    - #### handleRemoteSessionOpened

          void handleRemoteSessionOpened​(int sessionID,
                                         java.lang.String userID)

    - #### handleRemoteSessionClosed

          void handleRemoteSessionClosed​(int sessionID)

    - #### handleRemoteSessionSubscribed

          void handleRemoteSessionSubscribed​(int sessionID,
                                             boolean subscribed)

    - #### handleRemoteSessionMessage

          void handleRemoteSessionMessage​(int sessionID,
                                          CDORemoteSessionMessage message)

      Since:
        3.0