Expose lots of constructors and accessors
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / Peer.java
index fff70cb..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);
        }
 
@@ -213,9 +213,10 @@ public class Peer extends BaseMessage implements Identifiable {
        }
 
        /**
-        * Returns one of the volatile fields from the message. The given field name
-        * is prepended with “volatile.” so if you want to get the value of the
-        * field with the name “volatile.status” you only need to specify “status”.
+        * Returns one of the volatile fields from the message. The given field
+        * name is prepended with “volatile.” so if you want to get the value of
+        * the field with the name “volatile.status” you only need to specify
+        * “status”.
         *
         * @param field
         *            The name of the field
@@ -242,10 +243,10 @@ public class Peer extends BaseMessage implements Identifiable {
        }
 
        /**
-        * Returns one of the metadata fields from the message. The given field name
-        * is prepended with “metadata.” so if you want to get the value of the
-        * field with the name “metadata.timeLastRoutable” you only need to specify
-        * “timeLastRoutable”.
+        * Returns one of the metadata fields from the message. The given field
+        * name is prepended with “metadata.” so if you want to get the value of
+        * the field with the name “metadata.timeLastRoutable” you only need to
+        * specify “timeLastRoutable”.
         *
         * @param field
         *            The name of the field