Overview  Package   Class  Tree  Index 

be.lassi.lanbox
Class CommandFactory

java.lang.Object
  extended by be.lassi.lanbox.CommandFactory

public class CommandFactory
extends java.lang.Object

Constructs Command objects from request buffers.


Field Summary
static java.lang.Class<?>[] CLASSES
          Collection with all command classes.
 
Constructor Summary
CommandFactory()
           
 
Method Summary
 LanboxCommand get(byte[] request)
          Constructs a Command object from a given command request buffer.
static java.lang.Class<?>[] getLassiCommandClasses()
          Gets the command classes that are fully supported by lassi.
static java.lang.Class<?>[] getLcEditCommandClasses()
          Gets the command classes that are supported by LCedit+.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSES

public static final java.lang.Class<?>[] CLASSES
Collection with all command classes.

Constructor Detail

CommandFactory

public CommandFactory()
Method Detail

get

public LanboxCommand get(byte[] request)
Constructs a Command object from a given command request buffer.

Parameters:
request - the lanbox command request buffer
Returns:
the command

getLassiCommandClasses

public static java.lang.Class<?>[] getLassiCommandClasses()
Gets the command classes that are fully supported by lassi.

Returns:
the supported command classes

getLcEditCommandClasses

public static java.lang.Class<?>[] getLcEditCommandClasses()
Gets the command classes that are supported by LCedit+.

Returns:
the supported command classes

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2