diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/InternalSessionManager.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/InternalSessionManager.java | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/InternalSessionManager.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/InternalSessionManager.java index 5259af74b1..736bff6bb6 100644 --- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/InternalSessionManager.java +++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/spi/server/InternalSessionManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2013, 2015, 2016, 2019-2021 Eike Stepper (Loehne, Germany) and others. + * Copyright (c) 2009-2013, 2015, 2016, 2019-2022 Eike Stepper (Loehne, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -19,6 +19,7 @@ import org.eclipse.emf.cdo.common.branch.CDOBranchPoint; import org.eclipse.emf.cdo.common.commit.CDOCommitInfo; import org.eclipse.emf.cdo.common.id.CDOID; import org.eclipse.emf.cdo.common.lock.CDOLockChangeInfo; +import org.eclipse.emf.cdo.common.lock.CDOLockOwner; import org.eclipse.emf.cdo.common.protocol.CDOProtocol.CommitNotificationInfo; import org.eclipse.emf.cdo.server.IPermissionManager; import org.eclipse.emf.cdo.server.ISessionManager; @@ -30,6 +31,7 @@ import org.eclipse.net4j.util.security.DiffieHellman; import org.eclipse.net4j.util.security.IAuthenticator; import org.eclipse.net4j.util.security.IUserManager; +import java.util.Collection; import java.util.List; /** @@ -48,6 +50,12 @@ public interface InternalSessionManager extends ISessionManager, IExecutorServic public void setRepository(InternalRepository repository); /** + * @since 4.17 + */ + @Override + public InternalTopicManager getTopicManager(); + + /** * @since 4.1 * @deprecated As of 4.2 use {@link #getAuthenticator()} */ @@ -194,7 +202,22 @@ public interface InternalSessionManager extends ISessionManager, IExecutorServic */ public void sendLockNotification(InternalSession sender, CDOLockChangeInfo lockChangeInfo); + /** + * @since 4.19 + */ + public void sendLockOwnerRemappedNotification(InternalSession sender, CDOBranch branch, CDOLockOwner oldOwner, CDOLockOwner newOwner); + public void sendRemoteSessionNotification(InternalSession sender, byte opcode); + /** + * @since 4.17 + */ + public void sendRemoteSessionNotification(InternalSession sender, Collection<InternalSession> recipients, InternalTopic topic, byte opcode); + public List<Integer> sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message, int[] recipients); + + /** + * @since 4.17 + */ + public List<Integer> sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message, InternalTopic topic); } |