be.lassi.lanbox.cuesteps
Class UnknownCueStep
java.lang.Object
be.lassi.lanbox.cuesteps.CueStep
be.lassi.lanbox.cuesteps.UnknownCueStep
public class UnknownCueStep
- extends CueStep
An unknown cue step that could not be decoded from the raw buffer
message received from the lanbox.
Constructor Summary |
UnknownCueStep(byte[] bytes)
Constructs a new cue step. |
Method Summary |
void |
append(java.lang.StringBuilder b)
Appends description of this cue step to given buffer. |
boolean |
equals(java.lang.Object object)
|
byte[] |
getBytes()
Gets the raw buffer representation of the cue step (for use in messages
that are exchanged with the lanbox). |
int |
getId()
Gets the identifier of the cue step type. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
UnknownCueStep
public UnknownCueStep(byte[] bytes)
- Constructs a new cue step.
- Parameters:
bytes
- the raw cue step buffer
append
public void append(java.lang.StringBuilder b)
- Appends description of this cue step to given buffer.
- Overrides:
append
in class CueStep
- Parameters:
b
- the string buffer to append to
equals
public boolean equals(java.lang.Object object)
-
- Overrides:
equals
in class CueStep
getBytes
public byte[] getBytes()
- Gets the raw buffer representation of the cue step (for use in messages
that are exchanged with the lanbox).
- Overrides:
getBytes
in class CueStep
- Returns:
- the raw buffer
getId
public int getId()
- Gets the identifier of the cue step type.
- Specified by:
getId
in class CueStep
- Returns:
- the cue step type
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class CueStep
toString
public java.lang.String toString()
-
- Overrides:
toString
in class CueStep