Sea 0.4.0

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

java.lang.Object
  extended bygov.lbl.dsd.sea.EventHandler
      extended bygov.lbl.dsd.sea.nio.AgentEventHandler
          extended bygov.lbl.dsd.sea.nio.demo.PingPong

public class PingPong
extends AgentEventHandler

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

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

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

Version:
$Revision: 1.4 $, $Date: 2004/09/16 16:57:15 $

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

Constructor Detail

PingPong

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

main

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

Sea 0.4.0