public class EmuProteus2Sender extends SysexSender
Modifier and Type | Class and Description |
---|---|
static class |
EmuProteus2Sender.Factory |
Modifier and Type | Field and Description |
---|---|
static int |
ADDRESS_OFFSET |
static int |
ADDRESS_SIZE |
static byte[] |
BASE_MESSAGE |
static EmuProteus2Sender.Factory |
FACTORY |
protected byte[] |
message |
static int |
VALUE_OFFSET |
channel
Constructor and Description |
---|
EmuProteus2Sender() |
Modifier and Type | Method and Description |
---|---|
byte[] |
generate(int value)
Return a Sysex data for
value . |
int |
getOffset() |
void |
setDeviceId(int deviceId) |
void |
setOffset(int offset) |
send
public static final int VALUE_OFFSET
public static final int ADDRESS_OFFSET
public static final int ADDRESS_SIZE
public static final EmuProteus2Sender.Factory FACTORY
public static final byte[] BASE_MESSAGE
protected byte[] message
public void setDeviceId(int deviceId)
public void setOffset(int offset)
public int getOffset()
public byte[] generate(int value)
SysexSender
value
. Subclass which uses
SysexSender()
constructor instead of
SysexSender(String)
has to override this method.generate
in class SysexSender
value
- an int
valuebyte[]
valueCopyright © 2014. All Rights Reserved.