/**
* A “TestDDAResponse” is sent to let the node know that either created a file
* with the content from {@link TestDDAReply#getContentToWrite()} or that you
- * read the content of the file given by {@link TestDDAReply#getReadFilename()}.
+ * read the content of the file given by {@link TestDDAReply#getReadFilename()}
+ * .
*
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public class TestDDAResponse extends FcpMessage {
/**
- * Creates a new “TestDDAResponse” message that signals that you created the
- * file given by {@link TestDDAReply#getWriteFilename()} and wrote the
+ * Creates a new “TestDDAResponse” message that signals that you created
+ * the file given by {@link TestDDAReply#getWriteFilename()} and wrote the
* contents given by {@link TestDDAReply#getContentToWrite()} to it.
*
* @param directory
}
/**
- * Creates a new “TestDDAResponse” message that signals that you created the
- * file given by {@link TestDDAReply#getWriteFilename()} with the contents
- * given by {@link TestDDAReply#getContentToWrite()} to it (when you
- * specified that you want to write to the directory) and/or that you read
- * the file given by {@link TestDDAReply#getReadFilename()} (when you
+ * Creates a new “TestDDAResponse” message that signals that you created
+ * the file given by {@link TestDDAReply#getWriteFilename()} with the
+ * contents given by {@link TestDDAReply#getContentToWrite()} to it (when
+ * you specified that you want to write to the directory) and/or that you
+ * read the file given by {@link TestDDAReply#getReadFilename()} (when you
* specified you wanted to read the directory).
*
* @param directory
*/
public TestDDAResponse(String directory, String readContent) {
super("TestDDAResponse");
+ setField("Directory", directory);
if (readContent != null) {
setField("ReadContent", readContent);
}