org.eclipse.emf.cdo.spi.server
Interface InternalSessionManager

All Superinterfaces:
IContainer<ISession>, INotifier, ISessionManager

public interface InternalSessionManager
extends ISessionManager

Since:
3.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.net4j.util.container.IContainer
IContainer.Modifiable<E>
 
Method Summary
 InternalRepository getRepository()
           
 InternalSession getSession(int sessionID)
           
 InternalSession[] getSessions()
           
 InternalSession openSession(ISessionProtocol sessionProtocol)
           
 void sendBranchNotification(InternalSession sender, InternalCDOBranch branch)
           
 void sendCommitNotification(InternalSession sender, CDOCommitInfo commitInfo)
           
 List<Integer> sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message, int[] recipients)
           
 void sendRemoteSessionNotification(InternalSession sender, byte opcode)
           
 void sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState)
           
 void sendRepositoryTypeNotification(CDOCommonRepository.Type oldType, CDOCommonRepository.Type newType)
           
 void sessionClosed(InternalSession session)
           
 void setRepository(InternalRepository repository)
           
 void setUserManager(IUserManager userManager)
           
 
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
 

Method Detail

getRepository

InternalRepository getRepository()
Specified by:
getRepository in interface ISessionManager

setRepository

void setRepository(InternalRepository repository)

setUserManager

void setUserManager(IUserManager userManager)

getSessions

InternalSession[] getSessions()
Specified by:
getSessions in interface ISessionManager

getSession

InternalSession getSession(int sessionID)
Specified by:
getSession in interface ISessionManager

openSession

InternalSession openSession(ISessionProtocol sessionProtocol)
Returns:
Never null

sessionClosed

void sessionClosed(InternalSession session)

sendRepositoryTypeNotification

void sendRepositoryTypeNotification(CDOCommonRepository.Type oldType,
                                    CDOCommonRepository.Type newType)

sendRepositoryStateNotification

void sendRepositoryStateNotification(CDOCommonRepository.State oldState,
                                     CDOCommonRepository.State newState)

sendBranchNotification

void sendBranchNotification(InternalSession sender,
                            InternalCDOBranch branch)

sendCommitNotification

void sendCommitNotification(InternalSession sender,
                            CDOCommitInfo commitInfo)

sendRemoteSessionNotification

void sendRemoteSessionNotification(InternalSession sender,
                                   byte opcode)

sendRemoteMessageNotification

List<Integer> sendRemoteMessageNotification(InternalSession sender,
                                            CDORemoteSessionMessage message,
                                            int[] recipients)


Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.