Class ProtocolTester

java.lang.Object
org.jgroups.debug.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 Details

    • log

      protected final org.apache.commons.logging.Log log
  • Constructor Details

  • Method Details

    • getProtocols

      public Vector<Protocol> getProtocols()
    • getProtocolSpec

      public String getProtocolSpec()
    • getBottom

      public Protocol getBottom()
    • getTop

      public Protocol getTop()
    • start

      public void start() throws Exception
      Throws:
      Exception
    • stop

      public void stop()
    • main

      public static void main(String[] args)