org.eclipse.emf.spi.cdo
Interface InternalCDORemoteSessionManager

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

public interface InternalCDORemoteSessionManager
extends CDORemoteSessionManager, ILifecycle

Since:
2.0
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>
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
ILifecycle.DeferrableActivation
 
Method Summary
 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) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.