examples.remote
Class RemoteAudioServer

java.lang.Object
  |
  +--examples.remote.TestClientListener
        |
        +--examples.remote.RemoteAudioServer
All Implemented Interfaces:
ClientListener

public class RemoteAudioServer
extends TestClientListener

This example demonstrates using an AudioServerSource object to provide audio data received from a RemoteAudioClient to an AudioLineSink.

Start up this class, then start a RemoteAudioClient on another machine (with a command-line argument of this machine's name) which will send audio data (using RMI) to this machine, which will in turn be sent to the AudioLineSink (and heard through the default audio output device on this machine).


Constructor Summary
RemoteAudioServer()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void start()
           
 
Methods inherited from class examples.remote.TestClientListener
bytesTransferred, clientAdded, clientRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteAudioServer

public RemoteAudioServer()
Method Detail

main

public static void main(java.lang.String[] args)

start

public void start()