Overview  Package   Class  Tree  Index 

be.lassi.lanbox
Class CommandLogQueue

java.lang.Object
  extended by be.lassi.lanbox.CommandQueue
      extended by be.lassi.lanbox.CommandLogQueue

public class CommandLogQueue
extends CommandQueue

Input queue for lanbox command logging, commands are put on this queue after execution in the lanbox.


Constructor Summary
CommandLogQueue()
           
 
Method Summary
 boolean isEnabled()
          Indicates whether the queue is enabled (accepts new commands).
 void put(Command command)
          Puts a lanbox command on the queue.
 void setEnabled(boolean enabled)
          Sets the 'enabled' indicator.
 
Methods inherited from class be.lassi.lanbox.CommandQueue
get, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLogQueue

public CommandLogQueue()
Method Detail

isEnabled

public boolean isEnabled()
Indicates whether the queue is enabled (accepts new commands).

Returns:
true if the queue accepts new commands.

put

public void put(Command command)
Puts a lanbox command on the queue.

Overrides:
put in class CommandQueue
Parameters:
command - the command to be added to the queue

setEnabled

public void setEnabled(boolean enabled)
Sets the 'enabled' indicator.

Parameters:
enabled - true if the queue accepts new commands

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2