org.jgroups.debug

Class ProtocolTester

public class ProtocolTester extends 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

Field Summary
protected Loglog
Constructor Summary
ProtocolTester(String prot_spec, Protocol harness)
Method Summary
StringgetProtocolSpec()
static voidmain(String[] args)
voidstop()

Field Detail

log

protected final Log log

Constructor Detail

ProtocolTester

public ProtocolTester(String prot_spec, Protocol harness)

Method Detail

getProtocolSpec

public String getProtocolSpec()

main

public static void main(String[] args)

stop

public void stop()
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.