Class RelayDemoRpc

java.lang.Object
org.jgroups.ReceiverAdapter
org.jgroups.demos.RelayDemoRpc
All Implemented Interfaces:
MembershipListener, MessageListener, Receiver

public class RelayDemoRpc extends ReceiverAdapter
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
  • Field Details

  • Constructor Details

    • RelayDemoRpc

      public RelayDemoRpc()
  • Method Details