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 TypMethodeBeschreibungcreateRemoteSession
(int sessionID, String userID, boolean subscribed) Returns thelocal session
this CDORemoteSessionManager belongs to.getRemoteSession
(int sessionID) Returns the set ofremote sessions
that are connected to the same repository as thelocal session
.Returns an array of the currently subscribedtopics
.void
handleRemoteSessionClosed
(int sessionID) void
handleRemoteSessionMessage
(int sessionID, String topicID, CDORemoteSessionMessage message) void
handleRemoteSessionMessage
(int sessionID, CDORemoteSessionMessage message) Veraltet.void
handleRemoteSessionOpened
(int sessionID, String userID) void
handleRemoteSessionSubscribed
(int sessionID, boolean subscribed) Veraltet.As of 4.8 usehandleRemoteSessionSubscribed(int, String, boolean)
.void
handleRemoteSessionSubscribed
(int sessionID, String topicID, boolean subscribed) void
setLocalSession
(InternalCDOSession localSession) subscribeTopic
(String id) Subscribes to the topic identified by the givenid
.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 thelocal session
this CDORemoteSessionManager belongs to.- Angegeben von:
getLocalSession
in SchnittstelleCDORemoteSessionManager
- Seit:
- 3.0
-
setLocalSession
- Seit:
- 3.0
-
getRemoteSessions
InternalCDORemoteSession[] getRemoteSessions()Beschreibung aus Schnittstelle kopiert:CDORemoteSessionManager
Returns the set ofremote sessions
that are connected to the same repository as thelocal session
. If this CDORemoteSessionManager itself issubscribed
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 SchnittstelleCDORemoteSessionManager
- Seit:
- 4.17
-
getRemoteSession
- Seit:
- 4.17
-
createRemoteSession
- Seit:
- 3.0
-
handleRemoteSessionOpened
-
handleRemoteSessionClosed
void handleRemoteSessionClosed(int sessionID) -
handleRemoteSessionSubscribed
Veraltet.As of 4.8 usehandleRemoteSessionSubscribed(int, String, boolean)
. -
handleRemoteSessionSubscribed
- Seit:
- 4.17
-
handleRemoteSessionMessage
Veraltet.- Seit:
- 3.0
-
handleRemoteSessionMessage
- Seit:
- 4.17
-
subscribeTopic
Beschreibung aus Schnittstelle kopiert:CDORemoteSessionManager
Subscribes to the topic identified by the givenid
.- Angegeben von:
subscribeTopic
in SchnittstelleCDORemoteSessionManager
- Gibt zurück:
- The subscribed
topic
. - Seit:
- 4.17
-
unsubscribeTopic
- Seit:
- 4.17
-
getSubscribedTopics
InternalCDORemoteTopic[] getSubscribedTopics()Beschreibung aus Schnittstelle kopiert:CDORemoteSessionManager
Returns an array of the currently subscribedtopics
.- Angegeben von:
getSubscribedTopics
in SchnittstelleCDORemoteSessionManager
- Seit:
- 4.17
-
getSubscribedTopic
Beschreibung aus Schnittstelle kopiert:CDORemoteSessionManager
- Angegeben von:
getSubscribedTopic
in SchnittstelleCDORemoteSessionManager
- Seit:
- 4.17
-
handleRemoteSessionMessage(int, String, CDORemoteSessionMessage)
.