org.eclipse.emf.spi.cdo

## Interface InternalCDORemoteSessionManager

- All Superinterfaces:
    CDORemoteSessionManager, IContainer<CDORemoteSession>, IDeactivateable, ILifecycle, INotifier

      public interface InternalCDORemoteSessionManager
      extends CDORemoteSessionManager, 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

      `IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>`

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

      `ILifecycle.DeferrableActivation`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `InternalCDORemoteSession` | `createRemoteSession(int sessionID, 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, 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.event.INotifier

      `addListener, getListeners, hasListeners, removeListener`

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

      `activate, deactivate, getLifecycleState, isActive`

- - ### 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,
                                                       String userID,
                                                       boolean subscribed)

      Since:
        3.0

    - #### handleRemoteSessionOpened

          void handleRemoteSessionOpened(int sessionID,
                                         String userID)

    - #### handleRemoteSessionClosed

          void handleRemoteSessionClosed(int sessionID)

    - #### handleRemoteSessionSubscribed

          void handleRemoteSessionSubscribed(int sessionID,
                                             boolean subscribed)

    - #### handleRemoteSessionMessage

          void handleRemoteSessionMessage(int sessionID,
                                          CDORemoteSessionMessage message)

      Since:
        3.0

Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html