de.cau.cs.kieler.klots.util
Class CommandLogListener

java.lang.Object
  extended by de.cau.cs.kieler.klots.util.CommandLogListener
All Implemented Interfaces:
NXTCommLogListener, ToolsLogListener

public class CommandLogListener
extends Object
implements ToolsLogListener

Simple listener for leJOS NXJ log events.

Rating red

Constructor Summary
CommandLogListener(StringBuffer messageBuffer)
           
 
Method Summary
 void logEvent(String message)
          Notification about some progress information.
 void logEvent(Throwable throwable)
          Notification about some progress information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLogListener

public CommandLogListener(StringBuffer messageBuffer)
Parameters:
messageBuffer -
Method Detail

logEvent

public void logEvent(String message)
Notification about some progress information.

Specified by:
logEvent in interface NXTCommLogListener
Parameters:
message - human readable message about progress

logEvent

public void logEvent(Throwable throwable)
Notification about some progress information.

Specified by:
logEvent in interface NXTCommLogListener
Parameters:
throwable - throwable message about progress