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 Summary
Constructors Constructor Description Test()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getState(OutputStream output)
static void
main(String[] args)
void
receive(org.jgroups.Message msg)
void
setState(InputStream input)
void
viewAccepted(org.jgroups.View new_view)
-
-
-
Method Detail
-
viewAccepted
public void viewAccepted(org.jgroups.View new_view)
- Specified by:
viewAccepted
in interfaceorg.jgroups.MembershipListener
- Overrides:
viewAccepted
in classorg.jgroups.ReceiverAdapter
-
receive
public void receive(org.jgroups.Message msg)
- Specified by:
receive
in interfaceorg.jgroups.MessageListener
- Overrides:
receive
in classorg.jgroups.ReceiverAdapter
-
getState
public void getState(OutputStream output) throws Exception
- Specified by:
getState
in interfaceorg.jgroups.MessageListener
- Overrides:
getState
in classorg.jgroups.ReceiverAdapter
- Throws:
Exception
-
setState
public void setState(InputStream input) throws Exception
- Specified by:
setState
in interfaceorg.jgroups.MessageListener
- Overrides:
setState
in classorg.jgroups.ReceiverAdapter
- Throws:
Exception
-
-