ePOST API

rice.post.delivery
Class Receipt

java.lang.Object
  extended by rice.p2p.past.ContentHashPastContent
      extended by rice.post.delivery.Delivery
          extended by rice.post.delivery.Receipt
All Implemented Interfaces:
java.io.Serializable, GCPastContent, PastContent

public class Receipt
extends Delivery

The receipt stored in Past

Version:
$Id: Receipt.java 2962 2006-01-25 19:20:17Z jstewart $
Author:
Alan Mislove, Ansley Post, Peter Druschel
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class rice.post.delivery.Delivery
Delivery.DeliveryHandle
 
Field Summary
protected  byte[] signature
          The signature
 
Fields inherited from class rice.post.delivery.Delivery
message
 
Fields inherited from class rice.p2p.past.ContentHashPastContent
myId
 
Constructor Summary
protected Receipt(SignedPostMessage message, Id id, byte[] signature)
          Constructor which takes the wrapped message
 
Method Summary
 byte[] getSignature()
          Returns the internal signature
 
Methods inherited from class rice.post.delivery.Delivery
getHandle, getMessage, getMetadata, getSignedMessage, getVersion
 
Methods inherited from class rice.p2p.past.ContentHashPastContent
checkInsert, getHandle, getId, isMutable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface rice.p2p.past.PastContent
checkInsert, getHandle, getId, isMutable
 

Field Detail

signature

protected byte[] signature
The signature

Constructor Detail

Receipt

protected Receipt(SignedPostMessage message,
                  Id id,
                  byte[] signature)
Constructor which takes the wrapped message

Parameters:
message - The message to deliver
Method Detail

getSignature

public byte[] getSignature()
Returns the internal signature

Returns:
The wrapped signature

ePOST API

Copyright © 2001-2005 - Rice Pastry.