kaos.core.csi.observe
Class ObserverManagerImpl.MyRemoteKAoSObserver
java.lang.Object
kaos.core.csi.observe.RemoteKAoSObserverImpl
kaos.core.csi.observe.ObserverManagerImpl.MyRemoteKAoSObserver
- All Implemented Interfaces:
- java.io.Serializable, KAoSObserver, RemoteKAoSObserver, CallbackTransportInfo
- Enclosing class:
- ObserverManagerImpl
public static class ObserverManagerImpl.MyRemoteKAoSObserver
- extends RemoteKAoSObserverImpl
- See Also:
- Serialized Form
Method Summary |
void |
update(java.lang.String observableID,
java.lang.String updateType,
java.lang.Object updateCondition,
java.lang.Object update)
overrides superclass, to send the update to our method "updateObservers" which
includes the ID of the observer to notify. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ObserverManagerImpl.MyRemoteKAoSObserver
public ObserverManagerImpl.MyRemoteKAoSObserver(Locator receiverLocator,
java.lang.String receiverName,
java.lang.String observerID)
update
public void update(java.lang.String observableID,
java.lang.String updateType,
java.lang.Object updateCondition,
java.lang.Object update)
throws NotificationException
- overrides superclass, to send the update to our method "updateObservers" which
includes the ID of the observer to notify. This is needed because we are acting
as a proxy for possibly multiple observers with the same updateType and updateCondition,
so we need them indexed by their ID so that they don't receive the update more than once
- Specified by:
update
in interface KAoSObserver
- Overrides:
update
in class RemoteKAoSObserverImpl
- Parameters:
observableID
- String identifying the KAoSObservable sending the update.updateType
- String indicating type of update.update
- Object containing the update.
- Throws:
NotificationException