DJAVA

au.gov.aao.drama
Interface DramaTask.KickHandler

Enclosing class:
DramaTask

public static interface DramaTask.KickHandler

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

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

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

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

Method Detail

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.