com.cloudgarden.audio
Interface ClientListener
- All Known Implementing Classes:
- ClientAdapter, TestClientListener, WhatTimeIsItServer
- public interface ClientListener
Used by a server to receive notices that a client has attached or removed itself to or from
an AudioSocketSource, and also to be informed of the bytes transferred to or from a
specific client.
clientAdded
public void clientAdded(ClientEvent evt)
- Issued when a client attaches itself to an AudioSocketSource - the Thread
is the thread handling the client request.
clientRemoved
public void clientRemoved(ClientEvent evt)
bytesTransferred
public void bytesTransferred(ClientEvent evt)
- 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.