Rice Pastry API

rice.past.messaging
Class MessageReclaim

java.lang.Object
  |
  +--rice.past.messaging.PASTMessage
        |
        +--rice.past.messaging.MessageReclaim
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 MessageReclaim
extends PASTMessage

Version:
$Id: MessageReclaim.java,v 1.7 2003/06/11 20:10:31 aray Exp $
Author:
Charles Reis
See Also:
Serialized Form

Field Summary
protected  boolean _success
          Deprecated. Whether the reclaim request was successful
 
Fields inherited from class rice.past.messaging.PASTMessage
_fileId, _messageID, _messageType, _senderId, REQUEST, RESPONSE
 
Constructor Summary
MessageReclaim(rice.p2p.commonapi.Id nodeId, rice.p2p.commonapi.Id fileId)
          Deprecated. Builds a new request to reclaim space used by an existing file.
 
Method Summary
 boolean getSuccess()
          Deprecated. Returns whether the reclaim command was successful.
 void performAction(rice.past.PASTServiceImpl service)
          Deprecated. Reclaims the space in the 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

_success

protected boolean _success
Deprecated. 
Whether the reclaim request was successful

Constructor Detail

MessageReclaim

public MessageReclaim(rice.p2p.commonapi.Id nodeId,
                      rice.p2p.commonapi.Id fileId)
Deprecated. 
Builds a new request to reclaim space used by an existing file.

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

getSuccess

public boolean getSuccess()
Deprecated. 
Returns whether the reclaim command was successful.


performAction

public void performAction(rice.past.PASTServiceImpl service)
Deprecated. 
Reclaims the space in the 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