examples.remote
Class RemoteDictationServer

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

public class RemoteDictationServer
extends TestClientListener

This example demonstrates using an AudioServerSource object to provide audio data to a CGAudioManager attached to a Recognizer which it receives from a remote client.

Start up this class, then start a RemoteDictationClient on another machine (after setting the host machine's name) which will send audio data (using RMI) to the machine the RemoteDictationServer (and Recognizer) is on.


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

RemoteDictationServer

public RemoteDictationServer()
Method Detail

main

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

start

public void start()