Make all node-side message constructors public
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 27 Jun 2015 21:41:10 +0000 (23:41 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Sat, 27 Jun 2015 21:41:10 +0000 (23:41 +0200)
34 files changed:
src/main/java/net/pterodactylus/fcp/AllData.java
src/main/java/net/pterodactylus/fcp/CloseConnectionDuplicateClientName.java
src/main/java/net/pterodactylus/fcp/ConfigData.java
src/main/java/net/pterodactylus/fcp/DataFound.java
src/main/java/net/pterodactylus/fcp/EndListPeerNotes.java
src/main/java/net/pterodactylus/fcp/EndListPeers.java
src/main/java/net/pterodactylus/fcp/EndListPersistentRequests.java
src/main/java/net/pterodactylus/fcp/FCPPluginReply.java
src/main/java/net/pterodactylus/fcp/FinishedCompression.java
src/main/java/net/pterodactylus/fcp/GetFailed.java
src/main/java/net/pterodactylus/fcp/IdentifierCollision.java
src/main/java/net/pterodactylus/fcp/NodeData.java
src/main/java/net/pterodactylus/fcp/NodeHello.java
src/main/java/net/pterodactylus/fcp/Peer.java
src/main/java/net/pterodactylus/fcp/PeerNote.java
src/main/java/net/pterodactylus/fcp/PeerRemoved.java
src/main/java/net/pterodactylus/fcp/PersistentGet.java
src/main/java/net/pterodactylus/fcp/PersistentPut.java
src/main/java/net/pterodactylus/fcp/PersistentPutDir.java
src/main/java/net/pterodactylus/fcp/PersistentRequestModified.java
src/main/java/net/pterodactylus/fcp/PersistentRequestRemoved.java
src/main/java/net/pterodactylus/fcp/PluginInfo.java
src/main/java/net/pterodactylus/fcp/ProtocolError.java
src/main/java/net/pterodactylus/fcp/PutFailed.java
src/main/java/net/pterodactylus/fcp/PutFetchable.java
src/main/java/net/pterodactylus/fcp/PutSuccessful.java
src/main/java/net/pterodactylus/fcp/SSKKeypair.java
src/main/java/net/pterodactylus/fcp/SimpleProgress.java
src/main/java/net/pterodactylus/fcp/StartedCompression.java
src/main/java/net/pterodactylus/fcp/SubscribedUSKUpdate.java
src/main/java/net/pterodactylus/fcp/TestDDAComplete.java
src/main/java/net/pterodactylus/fcp/TestDDAReply.java
src/main/java/net/pterodactylus/fcp/URIGenerated.java
src/main/java/net/pterodactylus/fcp/UnknownNodeIdentifier.java

index b4daa27..621e993 100644 (file)
@@ -44,7 +44,7 @@ public class AllData extends BaseMessage implements Identifiable {
         * @param payloadInputStream
         *            The payload
         */
-       AllData(FcpMessage receivedMessage, InputStream payloadInputStream) {
+       public AllData(FcpMessage receivedMessage, InputStream payloadInputStream) {
                super(receivedMessage);
                this.payloadInputStream = payloadInputStream;
        }
index db0ff0d..14775ae 100644 (file)
@@ -32,7 +32,7 @@ public class CloseConnectionDuplicateClientName extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       CloseConnectionDuplicateClientName(FcpMessage receivedMessage) {
+       public CloseConnectionDuplicateClientName(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 4eb7954..c05eb9f 100644 (file)
@@ -32,7 +32,7 @@ public class ConfigData extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       ConfigData(FcpMessage receivedMessage) {
+       public ConfigData(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 742f6ac..c00709a 100644 (file)
@@ -33,7 +33,7 @@ public class DataFound extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       DataFound(FcpMessage receivedMessage) {
+       public DataFound(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 31a52af..88e8525 100644 (file)
@@ -33,7 +33,7 @@ public class EndListPeerNotes extends BaseMessage {
         * @param fcpMessage
         *            The received message
         */
-       EndListPeerNotes(FcpMessage fcpMessage) {
+       public EndListPeerNotes(FcpMessage fcpMessage) {
                super(fcpMessage);
        }
 
index bb98f23..5a505d0 100644 (file)
@@ -31,7 +31,7 @@ public class EndListPeers extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The message that was received
         */
-       EndListPeers(FcpMessage receivedMessage) {
+       public EndListPeers(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index baa8de2..702cc95 100644 (file)
@@ -33,7 +33,7 @@ public class EndListPersistentRequests extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       EndListPersistentRequests(FcpMessage receivedMessage) {
+       public EndListPersistentRequests(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 44e96ba..0ed55f0 100644 (file)
@@ -42,7 +42,7 @@ public class FCPPluginReply extends BaseMessage implements Identifiable {
         * @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;
        }
index 91c0341..d6c3ac7 100644 (file)
@@ -33,7 +33,7 @@ public class FinishedCompression extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The message that was recevied
         */
-       FinishedCompression(FcpMessage receivedMessage) {
+       public FinishedCompression(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 01ec1c8..10c22b5 100644 (file)
@@ -38,7 +38,7 @@ public class GetFailed extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       GetFailed(FcpMessage receivedMessage) {
+       public GetFailed(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 5ce6f4a..bd28d67 100644 (file)
@@ -33,7 +33,7 @@ public class IdentifierCollision extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       IdentifierCollision(FcpMessage receivedMessage) {
+       public IdentifierCollision(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index f73bbd5..5800172 100644 (file)
@@ -34,7 +34,7 @@ public class NodeData extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       NodeData(FcpMessage receivedMessage) {
+       public NodeData(FcpMessage receivedMessage) {
                super(receivedMessage);
                nodeRef = new NodeRef(receivedMessage);
        }
index 7409d9b..32a4e33 100644 (file)
@@ -31,7 +31,7 @@ public class NodeHello extends BaseMessage {
         * @param receivedMessage
         *            The received FCP message
         */
-       NodeHello(FcpMessage receivedMessage) {
+       public NodeHello(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index df1c8f0..72925cb 100644 (file)
@@ -36,7 +36,7 @@ public class Peer extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       Peer(FcpMessage receivedMessage) {
+       public Peer(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 67cdfa6..1962eee 100644 (file)
@@ -35,7 +35,7 @@ public class PeerNote extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       PeerNote(FcpMessage receivedMessage) {
+       public PeerNote(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 61aa08d..80da4b6 100644 (file)
@@ -31,7 +31,7 @@ public class PeerRemoved extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       PeerRemoved(FcpMessage receivedMessage) {
+       public PeerRemoved(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index c7bfe20..7fc70a9 100644 (file)
@@ -33,7 +33,7 @@ public class PersistentGet extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       PersistentGet(FcpMessage receivedMessage) {
+       public PersistentGet(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 2dc8213..f1114ac 100644 (file)
@@ -32,7 +32,7 @@ public class PersistentPut extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       PersistentPut(FcpMessage receivedMessage) {
+       public PersistentPut(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index b68c84c..4b668b3 100644 (file)
@@ -34,7 +34,7 @@ public class PersistentPutDir extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       PersistentPutDir(FcpMessage receivedMessage) {
+       public PersistentPutDir(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index f1d2371..5b02624 100644 (file)
@@ -33,7 +33,7 @@ public class PersistentRequestModified extends BaseMessage implements Identifiab
         * @param receivedMessage
         *            The received message
         */
-       PersistentRequestModified(FcpMessage receivedMessage) {
+       public PersistentRequestModified(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index c9ec826..4d15250 100644 (file)
@@ -33,7 +33,7 @@ public class PersistentRequestRemoved extends BaseMessage implements Identifiabl
         * @param receivedMessage
         *            The received message
         */
-       PersistentRequestRemoved(FcpMessage receivedMessage) {
+       public PersistentRequestRemoved(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index fbce581..900f6cd 100644 (file)
@@ -31,7 +31,7 @@ public class PluginInfo extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       PluginInfo(FcpMessage receivedMessage) {
+       public PluginInfo(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 8b7b510..80d8487 100644 (file)
@@ -31,7 +31,7 @@ public class ProtocolError extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       ProtocolError(FcpMessage receivedMessage) {
+       public ProtocolError(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 8535bcb..7853d39 100644 (file)
@@ -38,7 +38,7 @@ public class PutFailed extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       PutFailed(FcpMessage receivedMessage) {
+       public PutFailed(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 767b4ad..c9867b0 100644 (file)
@@ -33,7 +33,7 @@ public class PutFetchable extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       PutFetchable(FcpMessage receivedMessage) {
+       public PutFetchable(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index d8c4434..c5ee7fd 100644 (file)
@@ -32,7 +32,7 @@ public class PutSuccessful extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       PutSuccessful(FcpMessage receivedMessage) {
+       public PutSuccessful(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 55b27e9..01a95f0 100644 (file)
@@ -32,7 +32,7 @@ public class SSKKeypair extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       SSKKeypair(FcpMessage receivedMessage) {
+       public SSKKeypair(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 5f4da24..78017ad 100644 (file)
@@ -32,7 +32,7 @@ public class SimpleProgress extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       SimpleProgress(FcpMessage receivedMessage) {
+       public SimpleProgress(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 1fd44f1..3aac42c 100644 (file)
@@ -33,7 +33,7 @@ public class StartedCompression extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       StartedCompression(FcpMessage receivedMessage) {
+       public StartedCompression(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index d2e132d..21cd466 100644 (file)
@@ -36,7 +36,7 @@ public class SubscribedUSKUpdate extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       SubscribedUSKUpdate(FcpMessage receivedMessage) {
+       public SubscribedUSKUpdate(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index bea91d9..0a66de7 100644 (file)
@@ -32,7 +32,7 @@ public class TestDDAComplete extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       TestDDAComplete(FcpMessage receivedMessage) {
+       public TestDDAComplete(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 9764a02..9e2b6d4 100644 (file)
@@ -36,7 +36,7 @@ public class TestDDAReply extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       TestDDAReply(FcpMessage receivedMessage) {
+       public TestDDAReply(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index 4939570..1b126f1 100644 (file)
@@ -33,7 +33,7 @@ public class URIGenerated extends BaseMessage implements Identifiable {
         * @param receivedMessage
         *            The received message
         */
-       URIGenerated(FcpMessage receivedMessage) {
+       public URIGenerated(FcpMessage receivedMessage) {
                super(receivedMessage);
        }
 
index af7b2f5..a0d0891 100644 (file)
@@ -33,7 +33,7 @@ public class UnknownNodeIdentifier extends BaseMessage {
         * @param receivedMessage
         *            The received message
         */
-       UnknownNodeIdentifier(FcpMessage receivedMessage) {
+       public UnknownNodeIdentifier(FcpMessage receivedMessage) {
                super(receivedMessage);
        }