edu.cmu.hcii.calo.messagePassing.MessageTarget Class Reference

Inherited by edu.cmu.hcii.calo.controller.NotificationCenterController, edu.cmu.hcii.calo.controller.SchedulePaneController, edu.cmu.hcii.calo.controller.SidebarController, edu.cmu.hcii.calo.controller.TaskPaneController, edu.cmu.hcii.calo.controller.TaskViewerController, edu.cmu.hcii.calo.engine.AutomatedEngine, edu.cmu.hcii.calo.engine.WizardOfOzEngine, and edu.cmu.hcii.calo.test.MessagePassingTestHarness.

Inheritance diagram for edu.cmu.hcii.calo.messagePassing.MessageTarget:

Inheritance graph
[legend]
List of all members.

Detailed Description

Represents an object that can be the target of a Message.

MessageTarget implements an onMessageReceived method that must be implemented by subclasses to process the messages they receive.

Author:
Brian Ellis


Public Member Functions

abstract void onMessageReceived (Observable sender, Message msg)
 Should be implemented by implementing classes to handle specific messages.
final void update (Observable o, Object arg)
 
See also:
java.util.Observer.update(java.util.Observable, java.lang.Object)


Member Function Documentation

abstract void edu.cmu.hcii.calo.messagePassing.MessageTarget.onMessageReceived ( Observable  sender,
Message  msg 
) [pure virtual]

Should be implemented by implementing classes to handle specific messages.

Parameters:
sender the sender of this message
msg the message being sent

Implemented in edu.cmu.hcii.calo.controller.NotificationCenterController, edu.cmu.hcii.calo.controller.SchedulePaneController, edu.cmu.hcii.calo.controller.SidebarController, edu.cmu.hcii.calo.engine.AutomatedEngine, edu.cmu.hcii.calo.engine.WizardOfOzEngine, and edu.cmu.hcii.calo.test.MessagePassingTestHarness.

final void edu.cmu.hcii.calo.messagePassing.MessageTarget.update ( Observable  o,
Object  arg 
)

See also:
java.util.Observer.update(java.util.Observable, java.lang.Object)


The documentation for this class was generated from the following file:
Generated on Mon Aug 13 15:06:15 2007 for CALO by  doxygen 1.5.2