Overview  Package   Class  Tree  Index 

be.lassi.lanbox.commands
Class CueSceneWrite

java.lang.Object
  extended by be.lassi.lanbox.commands.Command
      extended by be.lassi.lanbox.commands.LanboxCommand
          extended by be.lassi.lanbox.commands.CueSceneWrite

public class CueSceneWrite
extends LanboxCommand

Lanbox command to set channel levels in cue scene.


Field Summary
static int BYTES_PER_CHANNEL
          The number of bytes per channel in the variable part of the command.
static java.lang.String ID
          Lanbox command identifier.
static int MAX_CHANNELS
          The maximum number of channels per CueSceneWrite command.
 
Constructor Summary
CueSceneWrite(byte[] request)
          Constructs command from request buffer.
CueSceneWrite(int channelCount, int cueListNumber, int cueStepNumber, ChannelChanges channelChanges)
          Constructs a new command.
 
Method Summary
 void appendCommand(java.lang.StringBuilder b)
          Appends a textual description of the command.
 void appendCommandDetail(java.lang.StringBuilder b)
          
 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 be.lassi.lanbox.commands.Command
add, appendResponse, getCommandString, notifyListeners, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BYTES_PER_CHANNEL

public static final int BYTES_PER_CHANNEL
The number of bytes per channel in the variable part of the command.

See Also:
Constant Field Values

ID

public static final java.lang.String ID
Lanbox command identifier.

See Also:
Constant Field Values

MAX_CHANNELS

public static final int MAX_CHANNELS
The maximum number of channels per CueSceneWrite command.

See Also:
Constant Field Values
Constructor Detail

CueSceneWrite

public CueSceneWrite(byte[] request)
Constructs command from request buffer.

Parameters:
request - the lanbox request buffer

CueSceneWrite

public CueSceneWrite(int channelCount,
                     int cueListNumber,
                     int cueStepNumber,
                     ChannelChanges channelChanges)
Constructs a new command.

Parameters:
channelCount - the number of channels
cueListNumber - the cue list number
cueStepNumber - the cue step number
channelChanges - the channel changes
Method Detail

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

appendCommandDetail

public void appendCommandDetail(java.lang.StringBuilder b)

Overrides:
appendCommandDetail in class Command

equals

public boolean equals(java.lang.Object object)

Overrides:
equals in class LanboxCommand

hashCode

public int hashCode()

Overrides:
hashCode in class Command

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2