Package org.eclipse.emf.spi.cdo

# Schnittstelle InternalCDORemoteSessionManager

Alle Superschnittstellen:
  `CDORemoteSessionManager`, `org.eclipse.net4j.util.container.IContainer<CDORemoteSession>`, `org.eclipse.net4j.util.lifecycle.IDeactivateable`, `org.eclipse.net4j.util.concurrent.IExecutorServiceProvider`, `org.eclipse.net4j.util.lifecycle.ILifecycle`, `org.eclipse.net4j.util.event.INotifier`

public interface InternalCDORemoteSessionManager extends CDORemoteSessionManager, org.eclipse.net4j.util.lifecycle.ILifecycle, org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
If the meaning of this type isn't clear, there really should be more of a description here...

Seit:
  2.0
Autor:
  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.

## Verschachtelte Klassen - Übersicht

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.session.remote.CDORemoteSessionManager

`CDORemoteSessionManager.EventAdapter, CDORemoteSessionManager.LocalSubscriptionChangedEvent`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.container.IContainer

`org.eclipse.net4j.util.container.IContainer.Modifiable<E>, org.eclipse.net4j.util.container.IContainer.Persistable<E>, org.eclipse.net4j.util.container.IContainer.Persistence<E>`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.lifecycle.ILifecycle

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

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier

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

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`InternalCDORemoteSession`
`createRemoteSession(int sessionID, String userID, boolean subscribed)`
`InternalCDOSession`
`getLocalSession()`
Returns the `local session` this CDORemoteSessionManager belongs to.
`InternalCDORemoteSession`
`getRemoteSession(int sessionID)`
`InternalCDORemoteSession[]`
`getRemoteSessions()`
Returns the set of `remote sessions` that are connected to the same repository as the `local session`.
`InternalCDORemoteTopic`
`getSubscribedTopic(String id)`
Returns the `topic` with the given `id`, if it is currently subscribed, `null` otherwise.
`InternalCDORemoteTopic[]`
`getSubscribedTopics()`
Returns an array of the currently subscribed `topics`.
`void`
`handleRemoteSessionClosed(int sessionID)`
`void`
`handleRemoteSessionMessage(int sessionID, String topicID, CDORemoteSessionMessage message)`
`void`
`handleRemoteSessionMessage(int sessionID, CDORemoteSessionMessage message)`
Veraltet.
As of 4.8 use `handleRemoteSessionMessage(int, String, CDORemoteSessionMessage)`.
`void`
`handleRemoteSessionOpened(int sessionID, String userID)`
`void`
`handleRemoteSessionSubscribed(int sessionID, boolean subscribed)`
Veraltet.
As of 4.8 use `handleRemoteSessionSubscribed(int, String, boolean)`.
`void`
`handleRemoteSessionSubscribed(int sessionID, String topicID, boolean subscribed)`
`void`
`setLocalSession(InternalCDOSession localSession)`
`InternalCDORemoteTopic`
`subscribeTopic(String id)`
Subscribes to the topic identified by the given `id`.
`void`
`unsubscribeTopic(InternalCDORemoteTopic remoteTopic)`

### Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.session.remote.CDORemoteSessionManager

`isForceSubscription, isSubscribed, sendMessage, sendMessage, setForceSubscription`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.container.IContainer

`getElements, isEmpty`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.concurrent.IExecutorServiceProvider

`getExecutorService`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.lifecycle.ILifecycle

`activate, deactivate, getLifecycleState, isActive`

### Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier

`addListener, getListeners, hasListeners, removeListener`

## Methodendetails

### getLocalSession

InternalCDOSession getLocalSession()
Beschreibung aus Schnittstelle kopiert: `CDORemoteSessionManager`
Returns the `local session` this CDORemoteSessionManager belongs to.

Angegeben von:
  `getLocalSession` in Schnittstelle `CDORemoteSessionManager`
Seit:
  3.0

### setLocalSession

void setLocalSession(InternalCDOSession localSession)

Seit:
  3.0

### getRemoteSessions

InternalCDORemoteSession[] getRemoteSessions()
Beschreibung aus Schnittstelle kopiert: `CDORemoteSessionManager`
Returns the set of `remote sessions` that are connected to the same repository as the `local session`. If this CDORemoteSessionManager itself is `subscribed` the result is returned from a local cache for remote sessions, otherwise it is requested from the server each time this method is called.

Angegeben von:
  `getRemoteSessions` in Schnittstelle `CDORemoteSessionManager`
Seit:
  4.17

### getRemoteSession

InternalCDORemoteSession getRemoteSession(int sessionID)

Seit:
  4.17

### createRemoteSession

InternalCDORemoteSession createRemoteSession(int sessionID, String userID, boolean subscribed)

Seit:
  3.0

### handleRemoteSessionOpened

void handleRemoteSessionOpened(int sessionID, String userID)

### handleRemoteSessionClosed

void handleRemoteSessionClosed(int sessionID)

### handleRemoteSessionSubscribed

@Deprecated void handleRemoteSessionSubscribed(int sessionID, boolean subscribed)
Veraltet.
As of 4.8 use `handleRemoteSessionSubscribed(int, String, boolean)`.

### handleRemoteSessionSubscribed

void handleRemoteSessionSubscribed(int sessionID, String topicID, boolean subscribed)

Seit:
  4.17

### handleRemoteSessionMessage

@Deprecated void handleRemoteSessionMessage(int sessionID, CDORemoteSessionMessage message)
Veraltet.
As of 4.8 use `handleRemoteSessionMessage(int, String, CDORemoteSessionMessage)`.

Seit:
  3.0

### handleRemoteSessionMessage

void handleRemoteSessionMessage(int sessionID, String topicID, CDORemoteSessionMessage message)

Seit:
  4.17

### subscribeTopic

InternalCDORemoteTopic subscribeTopic(String id)
Beschreibung aus Schnittstelle kopiert: `CDORemoteSessionManager`
Subscribes to the topic identified by the given `id`.

Angegeben von:
  `subscribeTopic` in Schnittstelle `CDORemoteSessionManager`
Gibt zurück:
  The subscribed `topic`.
Seit:
  4.17

### unsubscribeTopic

void unsubscribeTopic(InternalCDORemoteTopic remoteTopic)

Seit:
  4.17

### getSubscribedTopics

InternalCDORemoteTopic[] getSubscribedTopics()
Beschreibung aus Schnittstelle kopiert: `CDORemoteSessionManager`
Returns an array of the currently subscribed `topics`.

Angegeben von:
  `getSubscribedTopics` in Schnittstelle `CDORemoteSessionManager`
Seit:
  4.17

### getSubscribedTopic

InternalCDORemoteTopic getSubscribedTopic(String id)
Beschreibung aus Schnittstelle kopiert: `CDORemoteSessionManager`
Returns the `topic` with the given `id`, if it is currently subscribed, `null` otherwise.

Angegeben von:
  `getSubscribedTopic` in Schnittstelle `CDORemoteSessionManager`
Seit:
  4.17