examples.remote
Class FileToLineRemote

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

public class FileToLineRemote
extends TestClientListener

Demonstrates network transmission of audio data in compressed (GSM) and uncompressed (RAW) formats - for ease of demonstration incorporates both server and client since both run on the localhost. (Note, MPEG_AUDIO does not work - no suitable Processor exists to convert from raw to MPEG_AUDIO format).


Constructor Summary
FileToLineRemote()
           
 
Method Summary
 void clientToServer()
           
 void compress(boolean compress)
           
static void main(java.lang.String[] args)
           
 void serverToClient()
           
 void test()
          Tests out the transfer of compressed data without a network
 
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

FileToLineRemote

public FileToLineRemote()
Method Detail

main

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

compress

public void compress(boolean compress)

test

public void test()
Tests out the transfer of compressed data without a network

serverToClient

public void serverToClient()

clientToServer

public void clientToServer()