Expose lots of constructors and accessors
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / DataFound.java
index 81318c1..c00709a 100644 (file)
@@ -20,12 +20,12 @@ package net.pterodactylus.fcp;
 
 /**
  * A “DataFound” message signals the client that the data requested by a
- * {@link ClientGet} operation has been found. This message does not include the
- * actual data, though.
+ * {@link ClientGet} operation has been found. This message does not include
+ * the actual data, though.
  *
  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
  */
-public class DataFound extends BaseMessage {
+public class DataFound extends BaseMessage implements Identifiable {
 
        /**
         * Creates a new “DataFound” message that wraps the received message.
@@ -33,7 +33,7 @@ public class DataFound extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       DataFound(FcpMessage receivedMessage) {
+       public DataFound(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
@@ -52,6 +52,7 @@ public class DataFound extends BaseMessage {
         *
         * @return The identifier of the request
         */
+       @Override
        public String getIdentifier() {
                return getField("Identifier");
        }