org.khelekore.rnio.samples
Class EchoClient

java.lang.Object
  extended by org.khelekore.rnio.samples.EchoClient

public class EchoClient
extends Object

An echo client built using rnio.

Author:
Robert Olofsson

Constructor Summary
EchoClient(String host, int port, BufferedReader input, PrintWriter output)
           
 
Method Summary
static void main(String[] args)
           
 void shutdown()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EchoClient

public EchoClient(String host,
                  int port,
                  BufferedReader input,
                  PrintWriter output)
           throws IOException
Throws:
IOException
Method Detail

start

public void start()
           throws IOException
Throws:
IOException

shutdown

public void shutdown()

main

public static void main(String[] args)