kaos.core.csi.observe
Interface KAoSObserver

All Known Subinterfaces:
RemoteKAoSObserver
All Known Implementing Classes:
ActivMedia, Amigo, AMptzCamera, AMptzCameraSonar, AMsonar, BLIKObserverCmd, BLIKObserverRobotSearch, CorbaAgentDirectoryServiceProxy, CougaarAgentDirectoryServiceProxy, CSIKAoSObserverExample, DetectedObjectObservableImpl, EventsPanel, FindaClearLaneImpl, Fran, GPSMobileBaseImpl, GPSPositionObservableImpl, GridAgentDirectoryServiceProxy, GridDirectoryServicePolicyCert, Ivan, KAoSAgentDirectoryServiceProxy, KAoSDirectoryService, KAoSRobotGPSProvider, Observer, ObserverManagerImpl.MyRemoteKAoSObserver, ObserverService, Pioneer, PlotterPanel, RemoteKAoSObserverImpl, RobotEnforcer, TCPAgentDirectoryServiceProxy

public interface KAoSObserver

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


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.
update - Object containing the update.
Throws:
NotificationException

getID

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

Returns:
String containing the unique ID of this observer.