Klasse CDORemoteSessionManager.EventAdapter
java.lang.Object
org.eclipse.net4j.util.container.ContainerEventAdapter<CDORemoteSession>
org.eclipse.emf.cdo.session.remote.CDORemoteSessionManager.EventAdapter
- Alle implementierten Schnittstellen:
EventListener,org.eclipse.net4j.util.event.IListener
- Umschließende Schnittstelle:
CDORemoteSessionManager
public static class CDORemoteSessionManager.EventAdapter
extends org.eclipse.net4j.util.container.ContainerEventAdapter<CDORemoteSession>
A default adapter for all kinds of
remote session related events.- Seit:
- 3.0
- Autor:
- Eike Stepper
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.IListener
org.eclipse.net4j.util.event.IListener.NotifierAware -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidnotifyOtherEvent(org.eclipse.net4j.util.event.IEvent event) protected final voidonAdded(org.eclipse.net4j.util.container.IContainer<CDORemoteSession> container, CDORemoteSession element) protected voidonClosed(CDORemoteSession remoteSession) Called if the local session issubscribedand a remote session to the same repository as the local session was closed.protected voidonLocalSubscriptionChanged(boolean subscribed) Called if thesubscription modeof the local session changed.protected voidonMessageReceived(CDORemoteSession remoteSession, CDORemoteSessionMessage message) Called if the local session issubscribedand a remote session hassentcustom data to the local session.protected voidonOpened(CDORemoteSession remoteSession) Called if the local session issubscribedand a new remote session was opened to the same repository as the local session.protected final voidonRemoved(org.eclipse.net4j.util.container.IContainer<CDORemoteSession> container, CDORemoteSession element) protected voidonSubscribed(CDORemoteSession remoteSession) Called if the local session issubscribedand a remote sessionsubscribedto the same repository as the local session.protected voidonUnsubscribed(CDORemoteSession remoteSession) Called if the local session issubscribedand a remote sessionunsubscribedfrom the same repository as the local session.Von Klasse geerbte Methoden org.eclipse.net4j.util.container.ContainerEventAdapter
isWaitForActive, notifyContainerEvent, notifyEvent, notifyLifecycleEvent, onAboutToActivate, onAboutToDeactivate, onActivated, onDeactivated
-
Konstruktordetails
-
EventAdapter
public EventAdapter()
-
-
Methodendetails
-
onLocalSubscriptionChanged
protected void onLocalSubscriptionChanged(boolean subscribed) Called if thesubscription modeof the local session changed. -
onOpened
Called if the local session issubscribedand a new remote session was opened to the same repository as the local session. -
onClosed
Called if the local session issubscribedand a remote session to the same repository as the local session was closed. -
onSubscribed
Called if the local session issubscribedand a remote sessionsubscribedto the same repository as the local session. -
onUnsubscribed
Called if the local session issubscribedand a remote sessionunsubscribedfrom the same repository as the local session. -
onMessageReceived
Called if the local session issubscribedand a remote session hassentcustom data to the local session. -
notifyOtherEvent
protected void notifyOtherEvent(org.eclipse.net4j.util.event.IEvent event) - Setzt außer Kraft:
notifyOtherEventin Klasseorg.eclipse.net4j.util.container.ContainerEventAdapter<CDORemoteSession>
-
onAdded
protected final void onAdded(org.eclipse.net4j.util.container.IContainer<CDORemoteSession> container, CDORemoteSession element) - Setzt außer Kraft:
onAddedin Klasseorg.eclipse.net4j.util.container.ContainerEventAdapter<CDORemoteSession>
-
onRemoved
protected final void onRemoved(org.eclipse.net4j.util.container.IContainer<CDORemoteSession> container, CDORemoteSession element) - Setzt außer Kraft:
onRemovedin Klasseorg.eclipse.net4j.util.container.ContainerEventAdapter<CDORemoteSession>
-