Class Flock.DefaultListener

java.lang.Object
  |
  +--Flock.DefaultListener
All Implemented Interfaces:
SerialConnectionListener
Enclosing class:
Flock

class Flock.DefaultListener
extends java.lang.Object
implements SerialConnectionListener

This class provides a default serial port listener for the flock. Actually, this is kind of a sanity check. If we are expecting data from the flock, it should be handled by one of the specialized listeners either in Flock or in DataCapture. But just in case we get unexpected data in, this listener is here.

See Also:
Flock.ExamineListener, CaptureData

Constructor Summary
(package private) Flock.DefaultListener()
           
 
Method Summary
 void dataAvailable(java.io.InputStream str)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Flock.DefaultListener

Flock.DefaultListener()
Method Detail

dataAvailable

public void dataAvailable(java.io.InputStream str)
Specified by:
dataAvailable in interface SerialConnectionListener