public class D10SysexMessage extends Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
message |
Constructor and Description |
---|
D10SysexMessage(byte[] data) |
D10SysexMessage(byte command,
int bodySize) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes() |
void |
getBytes(byte[] buffer,
int offset) |
int |
getSize() |
protected void |
setByte(int offset,
byte data) |
void |
setCommand(byte command)
Sets the command.
|
void |
setDeviceId(byte deviceId)
Sets the deviceId.
|
void |
setManufacturer(byte manufacturer)
Sets the manufacturer.
|
void |
setModel(byte model)
Sets the model.
|
public D10SysexMessage(byte[] data)
public D10SysexMessage(byte command, int bodySize)
public void getBytes(byte[] buffer, int offset)
public int getSize()
public byte[] getBytes()
protected void setByte(int offset, byte data)
public void setCommand(byte command)
command
- The command to setpublic void setDeviceId(byte deviceId)
deviceId
- The deviceId to setpublic void setManufacturer(byte manufacturer)
manufacturer
- The manufacturer to setpublic void setModel(byte model)
model
- The model to setCopyright © 2014. All Rights Reserved.