DJAVA

au.gov.aao.drama
Interface DramaTask.KickableAction

Enclosing class:
DramaTask

public static interface DramaTask.KickableAction

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

This particular interface implements an Obey handler and a Kick handler. See the Action interface for a version which implements only an Obey handler.

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

Method Summary
 void Kick(DramaTask task)
          Invoked when DRAMA task receives a Kick message for the action.
 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.

Kick

void Kick(DramaTask task)
          throws DramaException
Invoked when DRAMA task receives a Kick 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.