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).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileToLineRemote
public FileToLineRemote()
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()