ePOST API

rice.post.messaging
Class DeliveryRequestMessage

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

public class DeliveryRequestMessage
extends PostMessage

This message is broadcast to the sender of a NotificationMessage in order to inform the sender that the message has been received.

See Also:
Serialized Form

Constructor Summary
DeliveryRequestMessage(PostEntityAddress sender, PostUserAddress destination, SignedPostMessage message, Id id)
          Constructs a DeliveryRequestMessage
 
Method Summary
 PostUserAddress getDestination()
          Gets the destination of this notification
 SignedPostMessage getEncryptedMessage()
          Gets the EncryptedNotificationMessage which this is a Request for.
 Id getId()
          Gets the random locaiton of this drm
 
Methods inherited from class rice.post.messaging.PostMessage
getSender
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeliveryRequestMessage

public DeliveryRequestMessage(PostEntityAddress sender,
                              PostUserAddress destination,
                              SignedPostMessage message,
                              Id id)
Constructs a DeliveryRequestMessage

Parameters:
sender - The sender of this delivery request
destination - The destination address to deliver the notification to
message - The message to deliver, in encrypted state
location - The random location of this message
Method Detail

getDestination

public PostUserAddress getDestination()
Gets the destination of this notification

Returns:
The address of the destination of this notification

getEncryptedMessage

public SignedPostMessage getEncryptedMessage()
Gets the EncryptedNotificationMessage which this is a Request for. for.

Returns:
The internal message, in encrypted state

getId

public Id getId()
Gets the random locaiton of this drm

Returns:
The locaiton

ePOST API

Copyright © 2001-2005 - Rice Pastry.