org.javagroups.debug
Class ProtocolTester

java.lang.Object
  |
  +--org.javagroups.debug.ProtocolTester

public class ProtocolTester
extends java.lang.Object

Generic class to test one or more protocol layers directly. Sets up a protocol stack consisting of the top layer (which is essentially given by the user and is the test harness), the specified protocol(s) and a bottom layer (which is automatically added), which sends all received messages immediately back up the stack (swapping sender and receiver address of the message).

Author:
Bela Ban, March 23 2001

Constructor Summary
ProtocolTester(java.lang.String prot_spec, Protocol harness, boolean trace)
           
 
Method Summary
 java.lang.String getProtocolSpec()
           
static void main(java.lang.String[] args)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolTester

public ProtocolTester(java.lang.String prot_spec,
                      Protocol harness,
                      boolean trace)
               throws java.lang.Exception
Method Detail

getProtocolSpec

public java.lang.String getProtocolSpec()

stop

public void stop()

main

public static void main(java.lang.String[] args)


Copyright ? 2001,2002 www.javagroups.com . All Rights Reserved.