Rice Pastry API

rice.past.messaging
Class MessageFetch

java.lang.Object
  |
  +--rice.past.messaging.PASTMessage
        |
        +--rice.past.messaging.MessageFetch
All Implemented Interfaces:
Message, java.io.Serializable

Deprecated. This version of PAST has been deprecated - please use the version located in the rice.p2p.past package.

public class MessageFetch
extends PASTMessage

Version:
$Id: MessageFetch.java,v 1.5 2003/06/11 20:10:31 aray Exp $
Author:
Alan Mislove
See Also:
Serialized Form

Field Summary
protected  java.io.Serializable _content
          Deprecated. Content to be returned
 
Fields inherited from class rice.past.messaging.PASTMessage
_fileId, _messageID, _messageType, _senderId, REQUEST, RESPONSE
 
Constructor Summary
MessageFetch(rice.p2p.commonapi.Id nodeId, rice.p2p.commonapi.Id fileId)
          Deprecated. Builds a new request to lookup an existing file.
 
Method Summary
 java.io.Serializable getContent()
          Deprecated. Returns the located storage object.
 void performAction(rice.past.PASTServiceImpl service)
          Deprecated. Looks up the file in the given service's storage.
 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

_content

protected java.io.Serializable _content
Deprecated. 
Content to be returned

Constructor Detail

MessageFetch

public MessageFetch(rice.p2p.commonapi.Id nodeId,
                    rice.p2p.commonapi.Id fileId)
Deprecated. 
Builds a new request to lookup an existing file.

Parameters:
nodeId - Source Pastry node's ID
fileId - Pastry key of desired file
Method Detail

getContent

public java.io.Serializable getContent()
Deprecated. 
Returns the located storage object.


performAction

public void performAction(rice.past.PASTServiceImpl service)
Deprecated. 
Looks up the file in the given service's storage.

Specified by:
performAction in class PASTMessage
Parameters:
service - PASTService on which to act

toString

public java.lang.String toString()
Deprecated. 
Display this message.

Specified by:
toString in class PASTMessage

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection