*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* A “PersistentPutDir” is the response to a {@link ClientPutDiskDir} message.
* It is also sent as a possible response to a {@link ListPersistentRequests}
* message.
* 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.
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class PersistentPutDir extends BaseMessage {
/**
* Creates a new “PersistentPutDir” message that wraps the received message.
* @return <code>true</code> if the request is on the global queue,
* <code>false</code> if it is on the client-local queue
*/
* @return <code>true</code> if the request is on the global queue,
* <code>false</code> if it is on the client-local queue
*/
* @return The maximum number of retries, or <code>-1</code> for endless
* retries, or <code>-2</code> if the number could not be parsed
*/
* @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 upload source of the file at the given index. The index is
* counted from <code>0</code>.
/**
* Returns the upload source of the file at the given index. The index is
* counted from <code>0</code>.
/**
* Returns the content type of the file at the given index. The index is
* counted from <code>0</code>.
/**
* Returns the content type of the file at the given index. The index is
* counted from <code>0</code>.
* 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>.
* 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>.