title: Possible to implement just one function from an EventListener with multiple functions?
body: <p>I'm developing an app to connect to a bluetooth-based multi-sensor (<a href="http://www.sensorcon.com/sensordrone/" rel="nofollow">SensorDrone</a>). It contains about 15 sensors total, all of which can communicate to an Android device using a third-party closed-source library that the manufacturers of the chip created. </p>
  
  <p>The third-party library requires me to implement a custom Java EventListener which contains a function for each sensor that gets fired when its data is ready for use:</p>
  
  <pre><code>DroneEventListener droneEventListener = new DroneEventListener() {
  
      @Override
      public void temperatureMeasured(EventObject arg0) {
          readTemperatureFromDrone();
      }
  
      @Override
      public void pressureMeasured(EventObject arg0) { /*...*/ }
  
  // Etc...
  
      @Override
      public void disconnectEvent(EventObject arg0) {
          // Let the user know the bluetooth connection was lost
      }
  
      @Override
      public void connectEvent(EventObject arg0) {
          // Let the user know the device was connected
      }
  
  
  };
  </code></pre>
  
  <p>However, I wish to work with another library called <a href="http://funf.org/" rel="nofollow">funf</a> to get information from Android's built-in sensors as well.  This library is perfect for collecting data for both built-in Android sensors and external sensors.  It does this by allowing you to create a custom "<a href="http://wiki.funf-open-sensing-framework.googlecode.com/git/docs/edu/mit/media/funf/probe/builtin/SensorProbe.html" rel="nofollow">Probe</a>" implementation.  But, a Probe is meant (by suggestion from the library and convention) to be used for just one sensor at a time. </p>
  
  <h2>Original question:</h2>
  
  <p>So, my question is this; is it possible to somehow subdivide the DroneEventListener() class into specific sensors? After that I could easily create a custom Probe for each sensor on the multi-sensor. </p>
  
  <p>I realize that it may be bad practice to try and subdivide an abstract class because it is conceptually a contract for the developer.  However, I feel that a mild hack to get this code working with a pre-existing, reliable and well-maintained library (<a href="http://funf.org/" rel="nofollow">funf</a>) would be worth it.  </p>
  
  <p>Alternatively, are there any other creative solutions that would allow me to use the manufacturer's library with funf? </p>
  
  <h2>Edit (June 24, 2013):</h2>
  
  <p>I've decided that my use of the wording "subdivide" was only clear to me. I essentially meant that I did not want to implement 20-something blank methods when all I was using was one.  The chosen answer explains precisely how to do that. </p>
  
  <h2>Refined question:</h2>
  
  <p>Is it possible to implement just one function from an EventListener (with multiple functions) without having to implement cluttering empty methods?</p>