kaos.core.csi.observe
Interface KAoSObserver

All Known Subinterfaces:
PolicyDecisionObserver, RemoteKAoSObserver
All Known Implementing Classes:
Amigo, BLIKObserverCmd, BLIKObserverRobotSearch, CorbaAgentDirectoryServiceProxy, CougaarAgentDirectoryServiceProxy, CSIKAoSObserverExample, DetectedObjectObservableImpl, EventsPanel, FindaClearLaneImpl, GPSMobileBaseImpl, GPSPositionObservableImpl, GridAgentDirectoryServiceProxy, GridDirectoryServicePolicyCert, Kaa, KAoSAgentDirectoryServiceProxy, KAoSAriaCamera, KAoSAriaLaser, KAoSAriaLaserAndCamera, KAoSAriaRobot, KAoSAriaSonar, KAoSDirectoryService, KAoSPlotterPanel, KAoSRobotGPSProvider, KPATApplet, ObserverManagerImpl.MyRemoteKAoSObserver, ObserverService, RemoteKAoSObserverImpl, RobotEnforcer, SensorLevelImpl, SensorLevelObservableImpl, TCPAgentDirectoryServiceProxy, TunnelServlet.MyObserver, VideoCameraPanel, VideoFeedClient

public interface KAoSObserver

Defines the operation to receive updates when the KAoSObservable object, with whom this KAoSObserver was registered, changes.

Author:
KAoS Team $Revision: 1.9 $

Method Summary
 java.lang.String getID()
          Return the unique identifier of this observer.
 void update(java.lang.String observableID, java.lang.String updateType, java.lang.Object updateCondition, java.lang.Object update)
          Receive an update from the KAoSObservable when the KAoSObservable has a change or event to report.
 

Method Detail

update

void update(java.lang.String observableID,
            java.lang.String updateType,
            java.lang.Object updateCondition,
            java.lang.Object update)
            throws NotificationException
Receive an update from the KAoSObservable when the KAoSObservable has a change or event to report.

Parameters:
observableID - String identifying the KAoSObservable sending the update.
updateType - String indicating type of update.
updateCondition - String describing the condition of the update.
update - Object containing the update.
Throws:
NotificationException - when the update fails.

getID

java.lang.String getID()
Return the unique identifier of this observer.

Returns:
String containing the unique ID of this observer.