be.lassi.lanbox.commands
Class CommonGetLayers
java.lang.Object
be.lassi.lanbox.commands.Command
be.lassi.lanbox.commands.LanboxCommand
be.lassi.lanbox.commands.CommonGetLayers
public class CommonGetLayers
- extends LanboxCommand
Lanbox command to get information about the layers.
Field Summary |
static java.lang.String |
ID
Lanbox command identifier. |
Method Summary |
void |
appendResponse(java.lang.StringBuilder b)
Appends a textual description of the command reponse. |
boolean |
equals(java.lang.Object object)
|
int |
hashCode()
|
void |
processResponse(byte[] bytes)
Processes given reponse buffer. |
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
CommonGetLayers
public CommonGetLayers()
- Constructs a new command.
CommonGetLayers
public CommonGetLayers(byte[] request)
- Constructs command from request buffer.
- Parameters:
request
- the lanbox request buffer
appendResponse
public void appendResponse(java.lang.StringBuilder b)
- Appends a textual description of the command reponse.
- Overrides:
appendResponse
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
processResponse
public void processResponse(byte[] bytes)
- Processes given reponse buffer.
- Overrides:
processResponse
in class LanboxCommand
- Parameters:
bytes
- the response buffer to be processed