Home | History | Annotate | Download | only in com.example.android.common.midi

Lines Matching refs:receiver

28  * to its receiver list. Any receivers that throw an exception upon receiving data will
29 * be automatically removed from the receiver list, but no IOException will be returned
41 * @param receiver the receiver to connect
44 public void onConnect(MidiReceiver receiver) {
45 mReceivers.add(receiver);
51 * @param receiver the receiver to disconnect
54 public void onDisconnect(MidiReceiver receiver) {
55 mReceivers.remove(receiver);
70 * to the dispatcher's receiver list.
79 for (MidiReceiver receiver : mReceivers) {
81 receiver.send(msg, offset, count, timestamp);
83 // if the receiver fails we remove the receiver but do not propagate the exception
84 mReceivers.remove(receiver);
91 for (MidiReceiver receiver : mReceivers) {
92 receiver.flush();