be.lassi.lanbox.commands.layer
Class LayerSetOutput
java.lang.Object
be.lassi.lanbox.commands.Command
be.lassi.lanbox.commands.LanboxCommand
be.lassi.lanbox.commands.layer.LayerCommand
be.lassi.lanbox.commands.layer.LayerSetOutput
public class LayerSetOutput
- extends LayerCommand
Lanbox command to determine whether a given layer writes its data
to the mixer or not.
|
Field Summary |
static java.lang.String |
ID
Lanbox command identifier. |
|
Constructor Summary |
LayerSetOutput(byte[] request)
Constructs command from request buffer. |
LayerSetOutput(int layerNumber,
boolean enabled)
Constructs the command. |
|
Method Summary |
void |
appendCommand(java.lang.StringBuilder b)
Appends a textual description of the command. |
boolean |
equals(java.lang.Object object)
|
int |
hashCode()
|
| Methods inherited from class be.lassi.lanbox.commands.LanboxCommand |
get, getBoolean, getId, getInt, getInt4, getRequest, getRequestString, getResponse, processResponse, set, set2, set2, set4 |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ID
public static final java.lang.String ID
- Lanbox command identifier.
- See Also:
- Constant Field Values
LayerSetOutput
public LayerSetOutput(byte[] request)
- Constructs command from request buffer.
- Parameters:
request - the lanbox request buffer
LayerSetOutput
public LayerSetOutput(int layerNumber,
boolean enabled)
- Constructs the command.
- Parameters:
layerNumber - the layer numberenabled - true if the output should be enabled
appendCommand
public void appendCommand(java.lang.StringBuilder b)
- Appends a textual description of the command.
- Overrides:
appendCommand in class Command
- Parameters:
b - the string builder to which to append
equals
public boolean equals(java.lang.Object object)
-
- Overrides:
equals in class LayerCommand
hashCode
public int hashCode()
-
- Overrides:
hashCode in class LayerCommand