com.cloudgarden.audio
Class ClientAdapter

java.lang.Object
  |
  +--com.cloudgarden.audio.ClientAdapter
All Implemented Interfaces:
ClientListener

public class ClientAdapter
extends java.lang.Object
implements ClientListener

Used to recieve notices that a client has attached or removed itself to or from an AudioSocketSource.


Constructor Summary
ClientAdapter()
           
 
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

ClientAdapter

public ClientAdapter()
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