com.khubla.pragmatach.plugin.cluster.multicast
Class JGroupsSenderReceiver
java.lang.Object
org.jgroups.ReceiverAdapter
com.khubla.pragmatach.plugin.cluster.multicast.JGroupsSenderReceiver
- All Implemented Interfaces:
- org.jgroups.MembershipListener, org.jgroups.MessageListener, org.jgroups.Receiver
public class JGroupsSenderReceiver
- extends org.jgroups.ReceiverAdapter
The broadcast sender and reciever
- Author:
- tome
Methods inherited from class org.jgroups.ReceiverAdapter |
block, getState, setState, suspect, unblock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JGroupsSenderReceiver
public JGroupsSenderReceiver()
receive
public void receive(org.jgroups.Message message)
- message
- Specified by:
receive
in interface org.jgroups.MessageListener
- Overrides:
receive
in class org.jgroups.ReceiverAdapter
send
public void send(MulticastMessage multicastMessage)
throws PragmatachException
- send message
- Throws:
PragmatachException
shutdown
public void shutdown()
startup
public void startup()
throws PragmatachException
- Throws:
PragmatachException
viewAccepted
public void viewAccepted(org.jgroups.View view)
- accepted
- Specified by:
viewAccepted
in interface org.jgroups.MembershipListener
- Overrides:
viewAccepted
in class org.jgroups.ReceiverAdapter
Copyright © 2014 khubla.com. All rights reserved.