ePOST API

rice.post.messaging
Class ReceiptMessage

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

public class ReceiptMessage
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
ReceiptMessage(PostEntityAddress sender, Id id, SignedPostMessage message)
          Constructs a PresenceMessage
 
Method Summary
 SignedPostMessage getEncryptedMessage()
          Gets the SignedPostMessage which this ReceiptMessage is a receipt 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

ReceiptMessage

public ReceiptMessage(PostEntityAddress sender,
                      Id id,
                      SignedPostMessage message)
Constructs a PresenceMessage

Parameters:
message - The notification message which this is a receipt for
Method Detail

getEncryptedMessage

public SignedPostMessage getEncryptedMessage()
Gets the SignedPostMessage which this ReceiptMessage is a receipt for.

Returns:
The message which this receipt is for.

getId

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

Returns:
The locaiton

ePOST API

Copyright © 2001-2005 - Rice Pastry.