|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.post.log.Log rice.post.ForwardLog
public class ForwardLog
This class represents the log of forwarding addresses for a given user. Other nodes which are sending notifications to this node should also send notifications to all of the addresses listed in this log.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class rice.post.log.Log |
---|
Log.AddLogEntryTask |
Field Summary | |
---|---|
protected java.lang.String[] |
addresses
The list of addresses to forward to |
static java.lang.String |
FORWARD_NAME
The universal name for this 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 |
Constructor Summary | |
---|---|
ForwardLog(PostLog log,
java.lang.String[] addresses,
Id location,
Post post,
Continuation command)
Constructor for ForwardLog. |
Method Summary | |
---|---|
boolean |
cache()
Returns whether or not this log should be cached |
java.lang.String[] |
getAddresses()
Returns the list of forward addresses |
void |
setAddresses(java.lang.String[] addresses,
Continuation command)
Updates the list of addresses |
java.lang.String |
toString()
|
Methods inherited from class rice.post.log.Log |
---|
addChildLog, addLogEntry, buildContentHashReference, buildSecureReference, buildSignedReference, 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 |
---|
public static final long serialVersionUID
public static final java.lang.String FORWARD_NAME
protected java.lang.String[] addresses
Constructor Detail |
---|
public ForwardLog(PostLog log, java.lang.String[] addresses, Id location, Post post, Continuation command)
user
- The user whom this PostLog is forkey
- The user's public key.cert
- This user's certificationpost
- The local Post servicecommand
- The command to call once doneMethod Detail |
---|
public java.lang.String[] getAddresses()
public void setAddresses(java.lang.String[] addresses, Continuation command)
addresses
- The new list of addressespublic boolean cache()
cache
in class Log
public java.lang.String toString()
toString
in class Log
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |