|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.email.SnapShot
public class SnapShot
Serves as a summary of the log chain up to the current point. Lets the email reader display the current emails without having to read through the entire chain.
Constructor Summary | |
---|---|
SnapShot(StoredEmail[] emails,
LogEntry entry)
Constructor for SnapShot. |
Method Summary | |
---|---|
ContentHashReference |
buildContentHashReference(Id[] location,
byte[][] key)
This method dynamically builds an appropriate ContentHashReference for this type of PostData given a location and key. |
SecureReference |
buildSecureReference(Id location,
byte[] key)
This method dynamically builds an appropriate SecureReference for this type of PostData given a location and key. |
SignedReference |
buildSignedReference(Id location)
This method dynamically builds an appropriate SignedReference for this type of PostData given a location. |
boolean |
equals(java.lang.Object o)
Equals method |
StoredEmail[] |
getStoredEmails()
Returns all of the emails that the SnapShot contains. |
LogEntry |
getTopEntry()
Returns the most recent entry in the log, at the time of the snapshot |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SnapShot(StoredEmail[] emails, LogEntry entry)
email
- the email to storetop
- The top of the current logMethod Detail |
---|
public StoredEmail[] getStoredEmails()
public LogEntry getTopEntry()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- The object to compare to
public SignedReference buildSignedReference(Id location)
buildSignedReference
in interface PostData
location
- The location of the data
public ContentHashReference buildContentHashReference(Id[] location, byte[][] key)
buildContentHashReference
in interface PostData
location
- The location of the datakey
- The for the data
public SecureReference buildSecureReference(Id location, byte[] key)
buildSecureReference
in interface PostData
location
- The location of the datakey
- The for the data
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |