be.lassi.lanbox.commands
Class CueSceneWrite
java.lang.Object
  
be.lassi.lanbox.commands.Command
      
be.lassi.lanbox.commands.LanboxCommand
          
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. | 
 
 
| 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 | 
 
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
 
 
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 channelscueListNumber - the cue list numbercueStepNumber - the cue step numberchannelChanges - the channel changes
 
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