Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4933700

RFE: Add way to get device from Receiver and Transmitter

    Details

    • Subcomponent:
    • Resolved In Build:
      b112
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Name: fb126949 Date: 10/07/2003


      This is a follow-up to 4931387: RFE: Add methods to MidiDevice to get list of Transmitters and Receivers

      Currently the API does not allow to get the MidiDevice from a Receiver or Transmitter. This would be very useful, e.g. to eliminate the need to cache devices and their receivers, and to be able to close devices of which you only got a reference to a Receiver or Transmitter instance.

      There are 2 solutions we could come up with:

      Either add the method getMidiDevice() to each Receiver and Transmitter (which would break user-application compatibility), or add an interface MidiDeviceGetter with one method getMidiDevice which could be implemented by Receivers or Transmitters. The latter solution is clumsy, not intuitive.

      So we don't know how to best solve this.


      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amenkov Alex Menkov
                Reporter:
                fbomerssunw Florian Bomers (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: