Sea 0.2.1

gov.lbl.dsd.sea.nio.demo
Class AsyncPingPong

java.lang.Object
  extended bygov.lbl.dsd.sea.EventHandler
      extended bygov.lbl.dsd.sea.nio.AsyncPeerHandler
          extended bygov.lbl.dsd.sea.nio.demo.AsyncPingPong

public class AsyncPingPong
extends AsyncPeerHandler

Simple asynchronous non-blocking hello world client and server, echoing messages back and forth.

Example server usage: fire-java gov.lbl.dsd.sea.nio.demo.AsyncPingPong server 9000

Example client usage: fire-java gov.lbl.dsd.sea.nio.demo.AsyncPingPong client localhost 9000

Version:
$Revision: 1.8 $, $Date: 2004/05/31 21:23:36 $

Constructor Summary
AsyncPingPong(String[] args)
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class gov.lbl.dsd.sea.nio.AsyncPeerHandler
handle
 
Methods inherited from class gov.lbl.dsd.sea.EventHandler
destroy, init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsyncPingPong

public AsyncPingPong(String[] args)
              throws IOException
Method Detail

main

public static void main(String[] args)
                 throws IOException
Throws:
IOException

Sea 0.2.1