Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
protected class: AbstractMidiDevice.BasicTransmitter [javadoc | source]
java.lang.Object
   com.sun.media.sound.AbstractMidiDevice$BasicTransmitter

All Implemented Interfaces:
    MidiDeviceTransmitter

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     
Constructor:
 protected BasicTransmitter() 
Method from com.sun.media.sound.AbstractMidiDevice$BasicTransmitter Summary:
close,   getMidiDevice,   getReceiver,   setReceiver
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.AbstractMidiDevice$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)