Expose lots of constructors and accessors
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / FCPPluginReply.java
index c3b5281..0ed55f0 100644 (file)
@@ -29,7 +29,7 @@ import java.util.Map.Entry;
  *
  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
  */
-public class FCPPluginReply extends BaseMessage {
+public class FCPPluginReply extends BaseMessage implements Identifiable {
 
        /** The payload input stream. */
        private final InputStream payloadInputStream;
@@ -42,7 +42,7 @@ public class FCPPluginReply extends BaseMessage {
         * @param payloadInputStream
         *            The optional input stream for the payload
         */
-       FCPPluginReply(FcpMessage receivedMessage, InputStream payloadInputStream) {
+       public FCPPluginReply(FcpMessage receivedMessage, InputStream payloadInputStream) {
                super(receivedMessage);
                this.payloadInputStream = payloadInputStream;
        }
@@ -61,6 +61,7 @@ public class FCPPluginReply extends BaseMessage {
         *
         * @return The identifier of the request
         */
+       @Override
        public String getIdentifier() {
                return getField("Identifier");
        }