Class RelayDemo

java.lang.Object
org.jgroups.demos.RelayDemo

public class RelayDemo extends Object
Demos RELAY. Create 2 *separate* clusters with RELAY as top protocol. Each RELAY has bridge_props="tcp.xml" (tcp.xml needs to be present). Then start 2 instances in the first cluster and 2 instances in the second cluster. They should find each other, and typing in a window should send the text to everyone, plus we should get 4 responses.
Author:
Bela Ban
  • Constructor Details

    • RelayDemo

      public RelayDemo()
  • Method Details