groupmgmt.impl
Class SPConnectionChangesMessage

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

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

The SPConnectionChangesMessage class; Sent to the group leader by a Member when it experiences a change in connectivity. Contains two arrays of SPChanges, one for new connections and one for dropped.

Version:
June 2003
Author:
Christine Julien, Tom Elgin
See Also:
SinglePhaseDisseminator, SPChange, SPChangeRefusedMessage, SPGetLeaderMessage

Field Summary
private  SPChange[] arriving
          An array of SPChanges that have connected set to true.
private  SPChange[] departing
          An array of SPChanges that have connected set to false.
 
Constructor Summary
SPConnectionChangesMessage(SPChange[] arriving, SPChange[] departing)
          Constructor.
 
Method Summary
 SPChange[] getArriving()
          Accessor to SPChanges indicating arrivals.
 SPChange[] getDeparting()
          Accessor to SPChanges indicating departures.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

arriving

private SPChange[] arriving
An array of SPChanges that have connected set to true.


departing

private SPChange[] departing
An array of SPChanges that have connected set to false.

Constructor Detail

SPConnectionChangesMessage

public SPConnectionChangesMessage(SPChange[] arriving,
                                  SPChange[] departing)
Constructor.

Method Detail

getArriving

public SPChange[] getArriving()
Accessor to SPChanges indicating arrivals.

Returns:
The SPChanges that have connected set to true.

getDeparting

public SPChange[] getDeparting()
Accessor to SPChanges indicating departures.

Returns:
The SPChanges that have connected set to false.