examples.remote
Class TestTransferListener

java.lang.Object
  |
  +--examples.remote.TestTransferListener
All Implemented Interfaces:
TransferListener

public class TestTransferListener
extends java.lang.Object
implements TransferListener

Reports ClientEvents generated by any AudioServerSource


Constructor Summary
TestTransferListener()
           
 
Method Summary
 void bytesTransferred(TransferEvent evt)
          Issued when bytes are about to be transferred.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestTransferListener

public TestTransferListener()
Method Detail

bytesTransferred

public void bytesTransferred(TransferEvent evt)
Issued when bytes are about to be transferred. The purpose of this listener is to signal when data is being transferred and to allow it to be analysed (eg, determine the signal level) and also to be processed (though processing might be more cleanly done by extending the AudioConnector object).
Specified by:
bytesTransferred in interface TransferListener