kaos.core.csi.observe
Class ObserverManagerImpl.MyRemoteKAoSObserver

java.lang.Object
  extended by kaos.core.csi.observe.RemoteKAoSObserverImpl
      extended by 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

Field Summary
 
Fields inherited from class kaos.core.csi.observe.RemoteKAoSObserverImpl
_logger, _observerID
 
Constructor Summary
ObserverManagerImpl.MyRemoteKAoSObserver(Locator receiverLocator, java.lang.String receiverName, java.lang.String observerID)
           
 
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 kaos.core.csi.observe.RemoteKAoSObserverImpl
equals, getID, getTransportCallback, hashCode, logMessage, logMessage, sendMessageObj, setTransportInfo, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObserverManagerImpl.MyRemoteKAoSObserver

public ObserverManagerImpl.MyRemoteKAoSObserver(Locator receiverLocator,
                                                java.lang.String receiverName,
                                                java.lang.String observerID)
Method Detail

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