|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.net4j.util.container.ContainerEventAdapter<CDORemoteSession>
org.eclipse.emf.cdo.session.remote.CDORemoteSessionManager.EventAdapter

A default adapter for all kinds of remote session related events.
| Constructor Summary | |
|---|---|
CDORemoteSessionManager.EventAdapter()
|
|
| Method Summary | |
|---|---|
protected void |
notifyOtherEvent(IEvent event)
|
protected void |
onAdded(IContainer<CDORemoteSession> container,
CDORemoteSession element)
|
protected void |
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 |
onLocalSubscriptionChanged(boolean subscribed)
Called if the subscription mode of the local session changed. |
protected void |
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 |
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 |
onRemoved(IContainer<CDORemoteSession> container,
CDORemoteSession element)
|
protected void |
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 |
onUnsubscribed(CDORemoteSession remoteSession)
Called if the local session is subscribed and a remote session
unsubscribed from the same repository as the local session. |
| Methods inherited from class org.eclipse.net4j.util.container.ContainerEventAdapter |
|---|
isWaitForActive, notifyContainerEvent, notifyEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CDORemoteSessionManager.EventAdapter()
| Method Detail |
|---|
protected void onLocalSubscriptionChanged(boolean subscribed)
subscription mode of the local session changed.
protected void onOpened(CDORemoteSession remoteSession)
subscribed and a new remote session
was opened to the same repository as the local session.
protected void onClosed(CDORemoteSession remoteSession)
subscribed and a remote session to
the same repository as the local session was closed.
protected void onSubscribed(CDORemoteSession remoteSession)
subscribed and a remote session
subscribed to the same repository as the local session.
protected void onUnsubscribed(CDORemoteSession remoteSession)
subscribed and a remote session
unsubscribed from the same repository as the local session.
protected void onMessageReceived(CDORemoteSession remoteSession,
CDORemoteSessionMessage message)
subscribed and a remote session has
sent custom data to the local session.
protected void notifyOtherEvent(IEvent event)
notifyOtherEvent in class ContainerEventAdapter<CDORemoteSession>
protected final void onAdded(IContainer<CDORemoteSession> container,
CDORemoteSession element)
onAdded in class ContainerEventAdapter<CDORemoteSession>
protected final void onRemoved(IContainer<CDORemoteSession> container,
CDORemoteSession element)
onRemoved in class ContainerEventAdapter<CDORemoteSession>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||