Save This Page
Home » openjdk-7 » » sound » [javadoc | source]
protected class: AbstractMidiDevice.BasicTransmitter [javadoc | source]

All Implemented Interfaces:

Transmitter base class. This class especially makes sure the device is closed if it has been opened implicitly by a call to MidiSystem.getTransmitter(). The logic of doing so is actually in closeInternal(). Also, it has some optimizations regarding sending to the Receivers, for known Receivers, and managing itself in the TransmitterList.
Field Summary
 TransmitterList tlist     
 protected BasicTransmitter() 
Method from$BasicTransmitter Summary:
close,   getMidiDevice,   getReceiver,   setReceiver
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from$BasicTransmitter Detail:
 public  void close() 
    Close the Transmitter. Here, the call to the magic method closeInternal() takes place. Therefore, subclasses that override this method must call 'super.close()'.
 public MidiDevice getMidiDevice() 
 public Receiver getReceiver() 
 public  void setReceiver(Receiver receiver)