groupmgmt.impl
Class SPGroupInfoMessage

java.lang.Object
  extended bygroupmgmt.impl.SPGroupInfoMessage
All Implemented Interfaces:
java.io.Serializable

class SPGroupInfoMessage
extends java.lang.Object
implements java.io.Serializable

The SPGroupInfoMessage class; Sent by a leader to another leader when two groups should be merged. The leader with the lower IP address sends this message and then becomes a follower after receiving a SPGroupChangeMessage. The leader with the higher IP address waits for this and then sends out a SPGroupChangeMessage to all members of the new group.
Contains the connections Hashtable.

Version:
June 2003
Author:
Christine Julien, Tom Elgin
See Also:
SinglePhaseDisseminator, SPLeaderAddressMessage, SPGroupChangeMessage

Field Summary
private  java.util.Hashtable connections
          The connections Hashtable (network graph) of the leader.
 
Constructor Summary
SPGroupInfoMessage(java.util.Hashtable connections)
          Constructor.
 
Method Summary
 java.util.Hashtable getConnections()
          Accessor to get the connections table of the sender.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connections

private java.util.Hashtable connections
The connections Hashtable (network graph) of the leader.

Constructor Detail

SPGroupInfoMessage

public SPGroupInfoMessage(java.util.Hashtable connections)
Constructor.

Parameters:
connections - The connections table of this leader to be merged with that of the higher-IP'ed leader.
Method Detail

getConnections

public java.util.Hashtable getConnections()
Accessor to get the connections table of the sender.

Returns:
The connections table of the sender.