be.lassi.lanbox.commands
Class CueListRead
java.lang.Object
be.lassi.lanbox.commands.Command
be.lassi.lanbox.commands.LanboxCommand
be.lassi.lanbox.commands.CueListRead
public class CueListRead
- extends LanboxCommand
Lanbox command to read a cue list.
Field Summary |
static java.lang.String |
ID
Lanbox command identifier. |
Constructor Summary |
CueListRead(byte[] request)
Constructs command from request buffer. |
CueListRead(int cueListId,
int firstStep,
int stepCount)
Constructs a new command. |
Methods inherited from class be.lassi.lanbox.commands.LanboxCommand |
get, getBoolean, getId, getInt, getInt4, getRequest, getRequestString, getResponse, 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
CueListRead
public CueListRead(byte[] request)
- Constructs command from request buffer.
- Parameters:
request
- the lanbox request buffer
CueListRead
public CueListRead(int cueListId,
int firstStep,
int stepCount)
- Constructs a new command.
- Parameters:
cueListId
- the identifier of the cue list to readfirstStep
- the first step at which to start readingstepCount
- the number of steps to read
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 LanboxCommand
getCueSteps
public java.util.List<CueStep> getCueSteps()
- Gets the cue steps.
- Returns:
- the cue steps
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class Command
processResponse
public void processResponse(byte[] bytes)
- Processes given reponse buffer.
- Overrides:
processResponse
in class LanboxCommand
- Parameters:
bytes
- the response buffer to be processed