|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.p2p.past.ContentHashPastContent
rice.post.delivery.Delivery
public class Delivery
The delivery stored in Past
| Nested Class Summary | |
|---|---|
protected static class |
Delivery.DeliveryHandle
|
| Field Summary | |
|---|---|
protected SignedPostMessage |
message
The internal encrypted message |
| Fields inherited from class rice.p2p.past.ContentHashPastContent |
|---|
myId |
| Constructor Summary | |
|---|---|
protected |
Delivery(SignedPostMessage message,
Id id)
Constructor which takes the wrapped message |
protected |
Delivery(SignedPostMessage message,
IdFactory factory)
Constructor which takes the wrapped message |
| Method Summary | |
|---|---|
GCPastContentHandle |
getHandle(GCPast local,
long expiration)
Produces a handle for this content object. |
EncryptedNotificationMessage |
getMessage()
Returns the internal message |
GCPastMetadata |
getMetadata(long expiration)
Returns the metadata which should be stored with this object. |
SignedPostMessage |
getSignedMessage()
Returns the internal signed message |
long |
getVersion()
Returns the version number associated with this PastContent object - version numbers are designed to be monotonically increasing numbers which signify different versions of the same object. |
| 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 |
|---|
protected SignedPostMessage message
| Constructor Detail |
|---|
protected Delivery(SignedPostMessage message,
IdFactory factory)
message - The message to deliver
protected Delivery(SignedPostMessage message,
Id id)
message - The message to deliver| Method Detail |
|---|
public SignedPostMessage getSignedMessage()
public EncryptedNotificationMessage getMessage()
public long getVersion()
getVersion in interface GCPastContent
public GCPastContentHandle getHandle(GCPast local,
long expiration)
getHandle in interface GCPastContent
The - local GCPast service which the content is on.
public GCPastMetadata getMetadata(long expiration)
getMetadata in interface GCPastContent
The - local GCPast service which the content is on.
|
ePOST API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||