be.lassi.lanbox.commands
Class CueListCreate
java.lang.Object
be.lassi.lanbox.commands.Command
be.lassi.lanbox.commands.LanboxCommand
be.lassi.lanbox.commands.CueListCreate
public class CueListCreate
- extends LanboxCommand
Lanbox command to create new cue lists.
Creates a new cue list with given number. If there is
no cue list with given number yet, it is created. If
the cue list already exists, nothing bad happens, the
cue list contents remains the same.
Field Summary |
static java.lang.String |
ID
Lanbox command identifier. |
Constructor Summary |
CueListCreate(byte[] request)
Constructs command from request buffer. |
CueListCreate(int cueListId)
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
CueListCreate
public CueListCreate(byte[] request)
- Constructs command from request buffer.
- Parameters:
request
- the lanbox request buffer
CueListCreate
public CueListCreate(int cueListId)
- Constructs the command.
- Parameters:
cueListId
- the new cue list number
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
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class Command