|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rice.past.messaging.PASTMessage | +--rice.past.messaging.MessageInsert
Field Summary | |
protected java.io.Serializable |
_file
Deprecated. The file to insert. |
protected boolean |
_success
Deprecated. Whether the insert was successful (on a response). |
Fields inherited from class rice.past.messaging.PASTMessage |
_fileId, _messageID, _messageType, _senderId, REQUEST, RESPONSE |
Constructor Summary | |
MessageInsert(rice.p2p.commonapi.Id nodeId,
rice.p2p.commonapi.Id fileId,
java.io.Serializable file)
Deprecated. Builds a new request to insert a file. |
Method Summary | |
boolean |
getSuccess()
Deprecated. Returns whether the insert was successful. |
void |
performAction(rice.past.PASTServiceImpl service)
Deprecated. Inserts this message's file into the service. |
java.lang.String |
toString()
Deprecated. Display this message. |
Methods inherited from class rice.past.messaging.PASTMessage |
debug, getFileId, getID, getSource, getType, setID, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.io.Serializable _file
protected boolean _success
Constructor Detail |
public MessageInsert(rice.p2p.commonapi.Id nodeId, rice.p2p.commonapi.Id fileId, java.io.Serializable file)
nodeId
- Source Pastry node's IDfileId
- Pastry key of filefile
- File to be storedMethod Detail |
public boolean getSuccess()
public void performAction(rice.past.PASTServiceImpl service)
performAction
in class PASTMessage
service
- PASTService on which to actpublic java.lang.String toString()
toString
in class PASTMessage
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |