Class Routing.EventReceiver

java.lang.Object
eu.bandm.music.midi.Routing.EventReceiver
All Implemented Interfaces:
AutoCloseable, Consumer<MidiEvent>, Receiver
Direct Known Subclasses:
Routing.ToTrack
Enclosing class:
Routing

public static class Routing.EventReceiver extends Object implements Receiver, Consumer<MidiEvent>
A Receiver receives a {link MidiMessage} and a time stamp. The time info should be ==-1, if none is intended. The following wrapper takes a Receiver and adds interfaces and convenience methods.