DJAVA

au.gov.aao.drama
Interface DramaTask.MsgHandler

Enclosing class:
DramaTask

public static interface DramaTask.MsgHandler

An inteface to be implemented by objects which output MsgOut messages.

See Also:
DramaTask.PutUfaceMsgHandler

Method Summary
 void PrintLine(String line)
          Invoked when DRAMA task receives a MsgOut message to be output to the user.
 

Method Detail

PrintLine

void PrintLine(String line)
               throws DramaException
Invoked when DRAMA task receives a MsgOut message to be output to the user.

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:
line - The message to be output to the user.
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.