org.khelekore.rnio.samples
Class EchoClient
java.lang.Object
org.khelekore.rnio.samples.EchoClient
public class EchoClient
- extends Object
An echo client built using rnio.
- Author:
- Robert Olofsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EchoClient
public EchoClient(String host,
int port,
BufferedReader input,
PrintWriter output)
throws IOException
- Throws:
IOException
start
public void start()
throws IOException
- Throws:
IOException
shutdown
public void shutdown()
main
public static void main(String[] args)