Package | Description |
---|---|
org.eclipse.emf.cdo.session.remote |
Client concepts for the communication and collaboration with other sessions.
|
org.eclipse.emf.spi.cdo |
Client service provider interfaces and useful base implementations.
|
Modifier and Type | Method and Description |
---|---|
CDORemoteSession |
CDORemoteSessionEvent.getRemoteSession() |
CDORemoteSession[] |
CDORemoteSessionManager.getRemoteSessions()
Returns the set of
remote sessions that are connected to the same repository as the
local session . |
Modifier and Type | Method and Description |
---|---|
java.util.Set<CDORemoteSession> |
CDORemoteSessionManager.sendMessage(CDORemoteSessionMessage message,
CDORemoteSession... recipients)
Sends a multicast message to the subscribed recipients.
|
java.util.Set<CDORemoteSession> |
CDORemoteSessionManager.sendMessage(CDORemoteSessionMessage message,
java.util.Collection<CDORemoteSession> recipients)
Same as
CDORemoteSessionManager.sendMessage(CDORemoteSessionMessage, CDORemoteSession...) but with a recipients collection . |
Modifier and Type | Method and Description |
---|---|
protected void |
CDORemoteSessionManager.EventAdapter.onAdded(IContainer<CDORemoteSession> container,
CDORemoteSession element) |
protected void |
CDORemoteSessionManager.EventAdapter.onClosed(CDORemoteSession remoteSession)
Called if the local session is
subscribed and a remote session to
the same repository as the local session was closed. |
protected void |
CDORemoteSessionManager.EventAdapter.onMessageReceived(CDORemoteSession remoteSession,
CDORemoteSessionMessage message)
Called if the local session is
subscribed and a remote session has
sent custom data to the local session. |
protected void |
CDORemoteSessionManager.EventAdapter.onOpened(CDORemoteSession remoteSession)
Called if the local session is
subscribed and a new remote session
was opened to the same repository as the local session. |
protected void |
CDORemoteSessionManager.EventAdapter.onRemoved(IContainer<CDORemoteSession> container,
CDORemoteSession element) |
protected void |
CDORemoteSessionManager.EventAdapter.onSubscribed(CDORemoteSession remoteSession)
Called if the local session is
subscribed and a remote session
subscribed to the same repository as the local session. |
protected void |
CDORemoteSessionManager.EventAdapter.onUnsubscribed(CDORemoteSession remoteSession)
Called if the local session is
subscribed and a remote session
unsubscribed from the same repository as the local session. |
java.util.Set<CDORemoteSession> |
CDORemoteSessionManager.sendMessage(CDORemoteSessionMessage message,
CDORemoteSession... recipients)
Sends a multicast message to the subscribed recipients.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CDORemoteSessionManager.EventAdapter.onAdded(IContainer<CDORemoteSession> container,
CDORemoteSession element) |
protected void |
CDORemoteSessionManager.EventAdapter.onRemoved(IContainer<CDORemoteSession> container,
CDORemoteSession element) |
java.util.Set<CDORemoteSession> |
CDORemoteSessionManager.sendMessage(CDORemoteSessionMessage message,
java.util.Collection<CDORemoteSession> recipients)
Same as
CDORemoteSessionManager.sendMessage(CDORemoteSessionMessage, CDORemoteSession...) but with a recipients collection . |
Modifier and Type | Interface and Description |
---|---|
interface |
InternalCDORemoteSession
If the meaning of this type isn't clear, there really should be more of a description here...
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CDORemoteSession> |
CDOSessionProtocol.getRemoteSessions(InternalCDORemoteSessionManager manager,
boolean subscribe) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.Integer> |
CDOSessionProtocol.sendRemoteMessage(CDORemoteSessionMessage message,
java.util.List<CDORemoteSession> recipients) |
Copyright (c) 2004-2019 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 http://www.eclipse.org/legal/epl-v10.html