public class DeviceInfoReply extends ErrorReply
| Modifier and Type | Field and Description |
|---|---|
private short |
major |
private short |
minor |
private String |
name |
private int |
version |
| Constructor and Description |
|---|
DeviceInfoReply(int e,
short maj,
short min,
int v,
String n) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDeviceName() |
short |
getMajor() |
short |
getMinor() |
int |
getVersion() |
ByteBuffer |
push(ByteBuffer into)
The only common method to all payload is the ability to push themselfs
into a byte buffer.
|
getError, parseErrorCodeprivate final short major
private final short minor
private final int version
private final String name
DeviceInfoReply(int e,
short maj,
short min,
int v,
String n)
public ByteBuffer push(ByteBuffer into)
AdsPayloadpush in class ErrorReplypublic String getDeviceName()
public int getVersion()
public short getMinor()
public short getMajor()