examples.remote
Class TestClientListener

java.lang.Object
  |
  +--examples.remote.TestClientListener
All Implemented Interfaces:
ClientListener
Direct Known Subclasses:
FileToLineRemote, RemoteAudioServer, RemoteDictationServer, RemoteSynthesisServer

public class TestClientListener
extends java.lang.Object
implements ClientListener

Reports ClientEvents generated by any AudioServerSource


Constructor Summary
TestClientListener()
           
 
Method Summary
 void bytesTransferred(ClientEvent evt)
          Called when bytes are about to be transferred to or from a client.
 void clientAdded(ClientEvent evt)
          Issued when a client attaches itself to an AudioSocketSource - the Thread is the thread handling the client request.
 void clientRemoved(ClientEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestClientListener

public TestClientListener()
Method Detail

clientAdded

public void clientAdded(ClientEvent evt)
Description copied from interface: ClientListener
Issued when a client attaches itself to an AudioSocketSource - the Thread is the thread handling the client request.
Specified by:
clientAdded in interface ClientListener

clientRemoved

public void clientRemoved(ClientEvent evt)
Specified by:
clientRemoved in interface ClientListener

bytesTransferred

public void bytesTransferred(ClientEvent evt)
Description copied from interface: ClientListener
Called when bytes are about to be transferred to or from a client. Allows an opportunity to analyse or process the data before it is transferred.
Specified by:
bytesTransferred in interface ClientListener