Rice Pastry API

rice.past.messaging
Class MessageExists

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

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

Field Summary
protected  boolean _exists
          Deprecated. Content to be returned
 
Fields inherited from class rice.past.messaging.PASTMessage
_fileId, _messageID, _messageType, _senderId, REQUEST, RESPONSE
 
Constructor Summary
MessageExists(rice.p2p.commonapi.Id nodeId, rice.p2p.commonapi.Id fileId)
          Deprecated. Builds a new request to see if a file exists.
 
Method Summary
 boolean exists()
          Deprecated. Returns whether the file exists.
 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

_exists

protected boolean _exists
Deprecated. 
Content to be returned

Constructor Detail

MessageExists

public MessageExists(rice.p2p.commonapi.Id nodeId,
                     rice.p2p.commonapi.Id fileId)
Deprecated. 
Builds a new request to see if a file exists.

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

exists

public boolean exists()
Deprecated. 
Returns whether the file exists.


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