Class Test

java.lang.Object
org.jgroups.ReceiverAdapter
com.logicaldoc.enterprise.cluster.Test
All Implemented Interfaces:
org.jgroups.MembershipListener, org.jgroups.MessageListener, org.jgroups.Receiver

public class Test extends org.jgroups.ReceiverAdapter
  • Constructor Details

    • Test

      public Test()
  • Method Details

    • viewAccepted

      public void viewAccepted(org.jgroups.View newView)
      Specified by:
      viewAccepted in interface org.jgroups.MembershipListener
      Overrides:
      viewAccepted in class org.jgroups.ReceiverAdapter
    • receive

      public void receive(org.jgroups.Message msg)
      Specified by:
      receive in interface org.jgroups.MessageListener
      Overrides:
      receive in class org.jgroups.ReceiverAdapter
    • getState

      public void getState(OutputStream output) throws Exception
      Specified by:
      getState in interface org.jgroups.MessageListener
      Overrides:
      getState in class org.jgroups.ReceiverAdapter
      Throws:
      Exception
    • setState

      public void setState(InputStream input) throws Exception
      Specified by:
      setState in interface org.jgroups.MessageListener
      Overrides:
      setState in class org.jgroups.ReceiverAdapter
      Throws:
      Exception
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception