org.objectweb.carol.cmi.ha
Class JGMessageManager

java.lang.Object
  extended byorg.objectweb.carol.cmi.ha.JGMessageManager
All Implemented Interfaces:
org.jgroups.MessageListener

public class JGMessageManager
extends java.lang.Object
implements org.jgroups.MessageListener

This class processes the HA messages received through JGroups

Author:
Francisco Perez-Sorrosal (fpsorrosal@no-spam@fi.upm.es), Alberto Paz-Jimenez (apaz@no-spam@fi.upm.es)

Constructor Summary
JGMessageManager(java.util.Hashtable backupBeanInfo)
          Constructor
 
Method Summary
 byte[] getState()
           
 void receive(org.jgroups.Message message)
          Processes the replication messages received.
 void setState(byte[] arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGMessageManager

public JGMessageManager(java.util.Hashtable backupBeanInfo)
Constructor

Parameters:
backupBeanInfo - a reference to the bean information structure in JGReplicator
Method Detail

getState

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

setState

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

receive

public void receive(org.jgroups.Message message)
Processes the replication messages received. Depending on the message's type a concrete process will be performed

Specified by:
receive in interface org.jgroups.MessageListener