com.eyebolt.iplib
Class IPLibTest.Listener

java.lang.Object
  |
  +--com.eyebolt.iplib.IPLibTest.Listener
All Implemented Interfaces:
java.util.Observer
Enclosing class:
IPLibTest

class IPLibTest.Listener
extends java.lang.Object
implements java.util.Observer


Constructor Summary
(package private) IPLibTest.Listener()
           
 
Method Summary
 void update(java.util.Observable o, java.lang.Object arg)
          public static void main(String argv[]) { System.err.println("Starting."); IPLibTest test = new IPLibTest("IPLibTest"); test.setUp(); test.listen( Integer.parseInt(argv[0]) ); if ( test.connect(Integer.parseInt(argv[0])) == 0 ) { test.sendMessage(System.out); test.showResults(System.out); } else { System.err.println("Did not connect."); } try { Thread thisthread = Thread.currentThread(); thisthread.sleep(20000); } catch(Exception e) { System.err.println(e); } System.err.println("Done."); System.exit(0); }
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

IPLibTest.Listener

IPLibTest.Listener()
Method Detail

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
public static void main(String argv[]) { System.err.println("Starting."); IPLibTest test = new IPLibTest("IPLibTest"); test.setUp(); test.listen( Integer.parseInt(argv[0]) ); if ( test.connect(Integer.parseInt(argv[0])) == 0 ) { test.sendMessage(System.out); test.showResults(System.out); } else { System.err.println("Did not connect."); } try { Thread thisthread = Thread.currentThread(); thisthread.sleep(20000); } catch(Exception e) { System.err.println(e); } System.err.println("Done."); System.exit(0); }
Specified by:
update in interface java.util.Observer
Parameters:
o - Description of Parameter
arg - Description of Parameter


Copyright © 2001 Eyebolt, Inc.