Class Test

  • All Implemented Interfaces:
    org.jgroups.MembershipListener, org.jgroups.MessageListener, org.jgroups.Receiver

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

      • Test

        public Test()
    • Method Detail

      • viewAccepted

        public void viewAccepted​(org.jgroups.View new_view)
        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