add identifier to requests
[jFCPlib.git] / src / net / pterodactylus / fcp / EndListPeers.java
index 12dedbe..6e23341 100644 (file)
@@ -37,4 +37,13 @@ public class EndListPeers extends BaseMessage {
                super(receivedMessage);
        }
 
+       /**
+        * Returns the identifier of the request.
+        * 
+        * @return The identifier of the request
+        */
+       public String getIdentifier() {
+               return getField("Identifier");
+       }
+
 }