be.lassi.lanbox.commands.layer
Class LayerCommand
java.lang.Object
be.lassi.lanbox.commands.Command
be.lassi.lanbox.commands.LanboxCommand
be.lassi.lanbox.commands.layer.LayerCommand
- Direct Known Subclasses:
- LayerClear, LayerGetStatus, LayerGo, LayerNextStep, LayerPause, LayerPreviousCue, LayerPreviousStep, LayerResume, LayerSetChaseMode, LayerSetChaseSpeed, LayerSetFadeTime, LayerSetFadeType, LayerSetFading, LayerSetMixMode, LayerSetOutput, LayerSetSequencing, LayerSetSolo, LayerSetTransparencyDepth
public abstract class LayerCommand
- extends LanboxCommand
Lanbox command.
Constructor Summary |
protected |
LayerCommand(byte[] request)
Constructs command from request buffer. |
protected |
LayerCommand(java.lang.String template,
int layerNumber)
Constructs the command. |
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 |
LayerCommand
protected LayerCommand(byte[] request)
- Constructs command from request buffer.
- Parameters:
request
- the lanbox request buffer
LayerCommand
protected LayerCommand(java.lang.String template,
int layerNumber)
- Constructs the command.
- Parameters:
template
- the command templatelayerNumber
- the layer identifier
equals
public boolean equals(java.lang.Object object)
-
- Overrides:
equals
in class LanboxCommand
getLayerNumber
public int getLayerNumber()
- Gets the layer identifier.
- Returns:
- the layer identifier
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class Command
toString
public java.lang.String toString()
-
- Overrides:
toString
in class Command