javax.sound.midi
Interface Transmitter


public interface Transmitter

This interface specifies the methods required by objects which send MIDI events to Receivers, including MIDI IN ports and Sequencers.

Since:
1.3

Method Summary
 void close()
          Close this Transmitter, possibly releasing system resources.
 Receiver getReceiver()
          Get the Receiver to which MIDI events will be sent (possibly null)
 void setReceiver(Receiver receiver)
          Set the Receiver to which MIDI events will be sent.
 

Method Detail

setReceiver

void setReceiver(Receiver receiver)
Set the Receiver to which MIDI events will be sent.

Parameters:
receiver - the Receiver to which MIDI events will be sent

getReceiver

Receiver getReceiver()
Get the Receiver to which MIDI events will be sent (possibly null)

Returns:
the Receiver to which MIDI events will be sent (possibly null)

close

void close()
Close this Transmitter, possibly releasing system resources. FIXME: Does this mean the Receiver is closed? I think it must.