ePOST API

rice.post.delivery
Class DeliveryMetadata

java.lang.Object
  extended by rice.p2p.past.gc.GCPastMetadata
      extended by rice.post.delivery.DeliveryMetadata
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class DeliveryMetadata
extends GCPastMetadata

The delivery metadata stored in Past

Version:
$Id: DeliveryMetadata.java 2302 2005-03-11 00:58:26Z jeffh $
Author:
Alan Mislove, Ansley Post, Peter Druschel
See Also:
Serialized Form

Field Summary
protected  PostEntityAddress destination
           
 
Fields inherited from class rice.p2p.past.gc.GCPastMetadata
expiration
 
Constructor Summary
DeliveryMetadata(long expiration, PostEntityAddress address)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 PostEntityAddress getDestination()
           
 int hashCode()
           
 GCPastMetadata setExpiration(long expiration)
          Method which sets the expiration time
 
Methods inherited from class rice.p2p.past.gc.GCPastMetadata
compareTo, getExpiration, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

destination

protected PostEntityAddress destination
Constructor Detail

DeliveryMetadata

public DeliveryMetadata(long expiration,
                        PostEntityAddress address)
Method Detail

getDestination

public PostEntityAddress getDestination()

setExpiration

public GCPastMetadata setExpiration(long expiration)
Description copied from class: GCPastMetadata
Method which sets the expiration time

Overrides:
setExpiration in class GCPastMetadata

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class GCPastMetadata

ePOST API

Copyright © 2001-2005 - Rice Pastry.