urv.app.samples
Class SimpleSenderApplication

java.lang.Object
  extended by urv.app.Application
      extended by urv.app.samples.SimpleSenderApplication
All Implemented Interfaces:
org.jgroups.MembershipListener, org.jgroups.MessageListener

public class SimpleSenderApplication
extends Application
implements org.jgroups.MessageListener, org.jgroups.MembershipListener

Author:
Gerard Paris Aixala, Marcel Arrufat Arias

Constructor Summary
SimpleSenderApplication()
           
 
Method Summary
 void block()
           
 byte[] getState()
           
 void receive(org.jgroups.Message msg)
           
 void setState(byte[] state)
           
 void start()
           
 void suspect(org.jgroups.Address suspected_mbr)
           
 void viewAccepted(org.jgroups.View new_view)
           
 
Methods inherited from class urv.app.Application
createMChannel, registerAppLauncher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSenderApplication

public SimpleSenderApplication()
Method Detail

block

public void block()
Specified by:
block in interface org.jgroups.MembershipListener

getState

public byte[] getState()
Specified by:
getState in interface org.jgroups.MessageListener

receive

public void receive(org.jgroups.Message msg)
Specified by:
receive in interface org.jgroups.MessageListener

setState

public void setState(byte[] state)
Specified by:
setState in interface org.jgroups.MessageListener

start

public void start()
Specified by:
start in class Application

suspect

public void suspect(org.jgroups.Address suspected_mbr)
Specified by:
suspect in interface org.jgroups.MembershipListener

viewAccepted

public void viewAccepted(org.jgroups.View new_view)
Specified by:
viewAccepted in interface org.jgroups.MembershipListener