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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getState
(OutputStream output) static void
void
receive
(org.jgroups.Message msg) void
setState
(InputStream input) void
viewAccepted
(org.jgroups.View newView) Methods inherited from class org.jgroups.ReceiverAdapter
block, suspect, unblock
-
Constructor Details
-
Test
public Test()
-
-
Method Details
-
viewAccepted
public void viewAccepted(org.jgroups.View newView) - 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
- Specified by:
getState
in interfaceorg.jgroups.MessageListener
- Overrides:
getState
in classorg.jgroups.ReceiverAdapter
- Throws:
Exception
-
setState
- Specified by:
setState
in interfaceorg.jgroups.MessageListener
- Overrides:
setState
in classorg.jgroups.ReceiverAdapter
- Throws:
Exception
-
main
- Throws:
Exception
-