ePOST API

rice.post
Class PostLog

java.lang.Object
  extended by rice.post.log.Log
      extended by rice.post.PostLog
All Implemented Interfaces:
java.io.Serializable, PostData

public class PostLog
extends Log

This class represents the Log which sits at the address of the user's PostUserAddress and points to the logs of other applications. This log itself has no entries. This object overrides Log in order to contain the user's public key and certificate for other users in the system to read.

Version:
$Id: PostLog.java 2489 2005-05-24 21:29:08Z jstewart $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class rice.post.log.Log
Log.AddLogEntryTask
 
Field Summary
protected  java.io.Serializable aggregate
          Any extra data, or specifically, the head of one's aggregation log
static long serialVersionUID
          Serialver for backwards compatibility
 
Fields inherited from class rice.post.log.Log
buffer, children, childrenCache, location, logger, N_TOP_ENTRIES, name, post, topEntry, topEntryReference, topEntryReferences
 
Method Summary
 java.io.Serializable getAggregateHead()
           
 PostCertificate getCertificate()
           
 PostEntityAddress getEntityAddress()
           
 java.security.PublicKey getPublicKey()
           
 void setAggregateHead(java.io.Serializable aggregate)
          Updates the head of the aggregation log
 java.lang.String toString()
           
 
Methods inherited from class rice.post.log.Log
addChildLog, addLogEntry, buildContentHashReference, buildSecureReference, buildSignedReference, cache, getChildLog, getChildLogNames, getLocation, getLogEntryReferences, getName, getRealTopEntry, getTopEntry, getTopEntryReference, removeChildLog, setName, setPost, sync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serialver for backwards compatibility

See Also:
Constant Field Values

aggregate

protected java.io.Serializable aggregate
Any extra data, or specifically, the head of one's aggregation log

Method Detail

getAggregateHead

public java.io.Serializable getAggregateHead()
Returns:
THe head of the aggregation log

setAggregateHead

public void setAggregateHead(java.io.Serializable aggregate)
Updates the head of the aggregation log

Parameters:
aggregate - The current head of the aggregation log

getEntityAddress

public PostEntityAddress getEntityAddress()
Returns:
The user who owns this PostLog.

getPublicKey

public java.security.PublicKey getPublicKey()
Returns:
The public key of the user who owns this PostLog.

getCertificate

public PostCertificate getCertificate()
Returns:
The certificate for the user who owns this PostLog.

toString

public java.lang.String toString()
Overrides:
toString in class Log

ePOST API

Copyright © 2001-2005 - Rice Pastry.