DJAVA

au.gov.aao.drama
Interface DramaTask.Action

All Known Implementing Classes:
DramaPath.RescheduleHandler
Enclosing class:
DramaTask

public static interface DramaTask.Action

This interface is be used by objects which implement DRAMA Obey message handlers.

This particular interface implements an Obey handler but not a Kick handler. See the KickableAction interface for a version which implements a Kick handler as well.

See Also:
DramaTask.KickableAction, DramaTask.KickHandler, DramaTask.PutHandlers, DramaTask.PutObeyHandlers, DramaTask.PutKickHandler

Method Summary
 void Obey(DramaTask task)
          Invoked when DRAMA task receives an Obey message for the action.
 

Method Detail

Obey

void Obey(DramaTask task)
          throws DramaException
Invoked when DRAMA task receives an Obey message for the action.

Note When used in its intended way, this method is always invoked in the DRAMA thread and with the DRAMA semaphore taken. Please see thread Issues for important information, particuarly if you are updating Swing widgets from your implemention of this method.

Parameters:
task - The task which received the message
Throws:
DramaException - Thrown on errors in the DRAMA code.

DJAVA

Click here for the DRAMA home page and here for the AAO home page.

For more information, contact tjf@aaoepp.aao.gov.au.