public interface Receiver extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this receiver, possibly freeing system resources.
|
void |
send(MidiMessage message,
long timeStamp)
Send a MIDI message and timestamp.
|
void send(MidiMessage message, long timeStamp) throws IllegalStateException
message - the MIDI message to sendtimeStamp - time timestamp for this message in microseconds (or -1)IllegalStateException - if the receiver is closedvoid close()
close in interface AutoCloseable