groupmgmt
Class GroupChangedEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bygroupmgmt.GroupChangedEvent
All Implemented Interfaces:
java.io.Serializable

public class GroupChangedEvent
extends java.util.EventObject

The GroupChangedEvent class; Encapsulates information related to an event generated by a group configuration change. This information (which includes the identity of the new group) is passed to a higher layer.
In groupmgmt this event is used by the Disseminator to notify the GroupManager of a group change. The GroupManager decides whether or not to pass the change on to the higher layer.

Version:
June 2003
Author:
Christine Julien, Tom Elgin
See Also:
Serialized Form

Field Summary
private  java.util.Vector groupMembers
          A vector containing the identities of the new group members in the form of Member objects.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GroupChangedEvent(java.lang.Object source, java.util.Vector groupMembers)
          Constructor.
 
Method Summary
 java.util.Vector getNewGroup()
          Allows access to the new group member set.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

groupMembers

private java.util.Vector groupMembers
A vector containing the identities of the new group members in the form of Member objects.

Constructor Detail

GroupChangedEvent

public GroupChangedEvent(java.lang.Object source,
                         java.util.Vector groupMembers)
Constructor. Initializes the state of this object and calls the super class constructor.

Parameters:
source - The object generating the event. (Not used by groupmgmt.)
groupMembers - Vector containing the Member objects of the new group members.
Method Detail

getNewGroup

public java.util.Vector getNewGroup()
Allows access to the new group member set.

Returns:
A Vector of Members in the group.