Liferay 6.2.0-ce-rc4

com.liferay.portal.cluster
Class BaseReceiver

java.lang.Object
  extended by com.liferay.portal.cluster.BaseReceiver
All Implemented Interfaces:
org.jgroups.MembershipListener, org.jgroups.MessageListener, org.jgroups.Receiver
Direct Known Subclasses:
ClusterForwardReceiver, ClusterRequestReceiver

public class BaseReceiver
extends Object
implements org.jgroups.Receiver


Field Summary
protected  org.jgroups.View view
           
 
Constructor Summary
BaseReceiver()
           
 
Method Summary
 void block()
           
 void getState(OutputStream outputStream)
           
 org.jgroups.View getView()
           
 void receive(org.jgroups.Message message)
           
 void setState(InputStream inputStream)
           
 void suspect(org.jgroups.Address address)
           
 void unblock()
           
 void viewAccepted(org.jgroups.View view)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

view

protected volatile org.jgroups.View view
Constructor Detail

BaseReceiver

public BaseReceiver()
Method Detail

block

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

getState

public void getState(OutputStream outputStream)
              throws Exception
Specified by:
getState in interface org.jgroups.MessageListener
Throws:
Exception

getView

public org.jgroups.View getView()

receive

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

setState

public void setState(InputStream inputStream)
              throws Exception
Specified by:
setState in interface org.jgroups.MessageListener
Throws:
Exception

suspect

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

unblock

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

viewAccepted

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

Liferay 6.2.0-ce-rc4