be.lassi.lanbox
Class CommandFactory
java.lang.Object
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. |
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 |
CLASSES
public static final java.lang.Class<?>[] CLASSES
- Collection with all command classes.
CommandFactory
public CommandFactory()
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