|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rice.p2p.past.messaging.PastMessage | +--rice.p2p.past.messaging.ContinuationMessage | +--rice.p2p.past.messaging.InsertMessage
Nested Class Summary |
Nested classes inherited from class rice.Continuation |
Continuation.ExternalContinuation, Continuation.ListenerContinuation, Continuation.StandardContinuation |
Field Summary |
Fields inherited from class rice.p2p.past.messaging.ContinuationMessage |
exception, response |
Fields inherited from class rice.p2p.past.messaging.PastMessage |
dest, id, isResponse, source |
Constructor Summary | |
InsertMessage(int uid,
rice.p2p.past.PastContent content,
rice.p2p.commonapi.NodeHandle source,
rice.p2p.commonapi.Id dest)
Constructor which takes a unique integer Id, as well as the data to be stored |
Method Summary | |
rice.p2p.past.PastContent |
getContent()
Method which returns the content |
java.lang.String |
toString()
Returns a string representation of this message |
Methods inherited from class rice.p2p.past.messaging.ContinuationMessage |
getResponse, receiveException, receiveResult, returnResponse |
Methods inherited from class rice.p2p.past.messaging.PastMessage |
addHop, getDestination, getSource, getUID, isResponse, setResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public InsertMessage(int uid, rice.p2p.past.PastContent content, rice.p2p.commonapi.NodeHandle source, rice.p2p.commonapi.Id dest)
uid
- The unique idcontent
- The content to be insertedsource
- The source addressdest
- The destination addressMethod Detail |
public rice.p2p.past.PastContent getContent()
public java.lang.String toString()
toString
in class java.lang.Object
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |