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 |
---|---|
Set<CDORemoteSession> |
CDORemoteSessionManager.sendMessage(CDORemoteSessionMessage message,
CDORemoteSession... recipients)
Sends a multicast message to the subscribed recipients.
|
Set<CDORemoteSession> |
CDORemoteSessionManager.sendMessage(CDORemoteSessionMessage message,
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. |
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) |
Set<CDORemoteSession> |
CDORemoteSessionManager.sendMessage(CDORemoteSessionMessage message,
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 |
---|---|
List<CDORemoteSession> |
CDOSessionProtocol.getRemoteSessions(InternalCDORemoteSessionManager manager,
boolean subscribe) |
Modifier and Type | Method and Description |
---|---|
Set<Integer> |
CDOSessionProtocol.sendRemoteMessage(CDORemoteSessionMessage message,
List<CDORemoteSession> recipients) |
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.