edu.rit.mp.test
Class Test01

java.lang.Object
  extended by edu.rit.mp.test.Test01

public class Test01
extends Object

Class Test01 is a unit test main program that creates and accepts channel connections in the Message Protocol (MP). First run this command in one process to accept connection requests:

java edu.rit.mp.test.Test01 host1 port1

Then run this command in another process to request a connection to the first process:

java edu.rit.mp.test.Test01 host2 port2 host1 port1


Method Summary
static void main(String[] args)
          Unit test main program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws Throwable
Unit test main program.

Usage: java edu.rit.mp.test.Test01 nearhost nearport [ farhost farport ]

Throws:
Throwable


Copyright © 2005-2012 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.