ePOST API

rice.post.messaging
Class GroupNotificationMessage

java.lang.Object
  extended by rice.post.messaging.PostMessage
      extended by rice.post.messaging.GroupNotificationMessage
All Implemented Interfaces:
java.io.Serializable

public class GroupNotificationMessage
extends PostMessage

This class represents a notification message which is sent to a group.

See Also:
Serialized Form

Constructor Summary
GroupNotificationMessage(PostEntityAddress sender, PostGroupAddress group, byte[] data)
          Constructs a GroupNotificationMessage
 
Method Summary
 boolean equals(java.lang.Object o)
           
 byte[] getData()
          Returns the ciphertext of the NotificationMessage
 PostGroupAddress getGroup()
          Returns the group of the NotificationMessage
 
Methods inherited from class rice.post.messaging.PostMessage
getSender
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupNotificationMessage

public GroupNotificationMessage(PostEntityAddress sender,
                                PostGroupAddress group,
                                byte[] data)
Constructs a GroupNotificationMessage

Parameters:
key - The encrypted key
data - The encrypted NotificationMessage
Method Detail

getGroup

public PostGroupAddress getGroup()
Returns the group of the NotificationMessage

Returns:
The group

getData

public byte[] getData()
Returns the ciphertext of the NotificationMessage

Returns:
The ciphertext.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

ePOST API

Copyright © 2001-2005 - Rice Pastry.