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.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...
- 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.LocalSubscriptionChangedEventNested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivationNested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Method Summary
Modifier and TypeMethodDescriptioncreateRemoteSession(int sessionID, String userID, boolean subscribed) Returns thelocal sessionthis CDORemoteSessionManager belongs to.getRemoteSession(int sessionID) Returns the set ofremote sessionsthat are connected to the same repository as thelocal session.Returns an array of the currently subscribedtopics.voidhandleRemoteSessionClosed(int sessionID) voidhandleRemoteSessionMessage(int sessionID, String topicID, CDORemoteSessionMessage message) voidhandleRemoteSessionMessage(int sessionID, CDORemoteSessionMessage message) Deprecated.voidhandleRemoteSessionOpened(int sessionID, String userID) voidhandleRemoteSessionSubscribed(int sessionID, boolean subscribed) Deprecated.As of 4.8 usehandleRemoteSessionSubscribed(int, String, boolean).voidhandleRemoteSessionSubscribed(int sessionID, String topicID, boolean subscribed) voidsetLocalSession(InternalCDOSession localSession) subscribeTopic(String id) Subscribes to the topic identified by the givenid.voidunsubscribeTopic(InternalCDORemoteTopic remoteTopic) Methods inherited from interface org.eclipse.emf.cdo.session.remote.CDORemoteSessionManager
isForceSubscription, isSubscribed, sendMessage, sendMessage, setForceSubscriptionMethods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmptyMethods inherited from interface org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
getExecutorServiceMethods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActiveMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Method Details
-
getLocalSession
InternalCDOSession getLocalSession()Description copied from interface:CDORemoteSessionManagerReturns thelocal sessionthis CDORemoteSessionManager belongs to.- Specified by:
getLocalSessionin interfaceCDORemoteSessionManager- Since:
- 3.0
-
setLocalSession
- Since:
- 3.0
-
getRemoteSessions
InternalCDORemoteSession[] getRemoteSessions()Description copied from interface:CDORemoteSessionManagerReturns the set ofremote sessionsthat are connected to the same repository as thelocal session. If this CDORemoteSessionManager itself issubscribedthe result is returned from a local cache for remote sessions, otherwise it is requested from the server each time this method is called.- Specified by:
getRemoteSessionsin interfaceCDORemoteSessionManager- Since:
- 4.17
-
getRemoteSession
- Since:
- 4.17
-
createRemoteSession
- Since:
- 3.0
-
handleRemoteSessionOpened
-
handleRemoteSessionClosed
void handleRemoteSessionClosed(int sessionID) -
handleRemoteSessionSubscribed
Deprecated.As of 4.8 usehandleRemoteSessionSubscribed(int, String, boolean). -
handleRemoteSessionSubscribed
- Since:
- 4.17
-
handleRemoteSessionMessage
Deprecated.- Since:
- 3.0
-
handleRemoteSessionMessage
- Since:
- 4.17
-
subscribeTopic
Description copied from interface:CDORemoteSessionManagerSubscribes to the topic identified by the givenid.- Specified by:
subscribeTopicin interfaceCDORemoteSessionManager- Returns:
- The subscribed
topic. - Since:
- 4.17
-
unsubscribeTopic
- Since:
- 4.17
-
getSubscribedTopics
InternalCDORemoteTopic[] getSubscribedTopics()Description copied from interface:CDORemoteSessionManagerReturns an array of the currently subscribedtopics.- Specified by:
getSubscribedTopicsin interfaceCDORemoteSessionManager- Since:
- 4.17
-
getSubscribedTopic
Description copied from interface:CDORemoteSessionManager- Specified by:
getSubscribedTopicin interfaceCDORemoteSessionManager- Since:
- 4.17
-
handleRemoteSessionMessage(int, String, CDORemoteSessionMessage).