* A “PersistentPutDir” is the response to a {@link ClientPutDiskDir} message.
* It is also sent as a possible response to a {@link ListPersistentRequests}
* message.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class PersistentPutDir extends BaseMessage {
/**
* Creates a new “PersistentPutDir” message that wraps the received message.
- *
+ *
* @param receivedMessage
* The received message
*/
/**
* Returns the identifier of the request.
- *
+ *
* @return The identifier of the request
*/
public String getIdentifier() {
/**
* Returns the URI of the request.
- *
+ *
* @return The URI of the request
*/
public String getURI() {
/**
* Returns the verbosity of the request.
- *
+ *
* @return The verbosity of the request
*/
public Verbosity getVerbosity() {
/**
* Returns the priority of the request.
- *
+ *
* @return The priority of the request
*/
public Priority getPriority() {
/**
* Returns whether the request is on the global queue.
- *
+ *
* @return <code>true</code> if the request is on the global queue,
* <code>false</code> if it is on the client-local queue
*/
/**
* Returns the maximum number of retries for failed blocks.
- *
+ *
* @return The maximum number of retries, or <code>-1</code> for endless
* retries, or <code>-2</code> if the number could not be parsed
*/
/**
* Returns the number of files in the request.
- *
+ *
* @return The number of files in the request
*/
public int getFileCount() {
/**
* Returns the name of the file at the given index. The index is counted
* from <code>0</code>.
- *
+ *
* @param fileIndex
* The index of the file
* @return The name of the file at the given index
/**
* Returns the length of the file at the given index. The index is counted
* from <code>0</code>.
- *
+ *
* @param fileIndex
* The index of the file
* @return The length of the file at the given index
/**
* Returns the upload source of the file at the given index. The index is
* counted from <code>0</code>.
- *
+ *
* @param fileIndex
* The index of the file
* @return The upload source of the file at the given index
/**
* Returns the content type of the file at the given index. The index is
* counted from <code>0</code>.
- *
+ *
* @param fileIndex
* The index of the file
* @return The content type of the file at the given index
* Returns the filename of the file at the given index. This value is only
* returned if {@link #getFileUploadFrom(int)} is returning
* {@link UploadFrom#disk}. The index is counted from <code>0</code>.
- *
+ *
* @param fileIndex
* The index of the file
* @return The filename of the file at the given index