Add setter for real-time flag
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 24 Nov 2015 20:29:55 +0000 (21:29 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Tue, 24 Nov 2015 20:29:55 +0000 (21:29 +0100)
src/main/java/net/pterodactylus/fcp/ClientGet.java

index 1126824..d340cf0 100644 (file)
@@ -131,6 +131,10 @@ public class ClientGet extends FcpMessage {
                setField("PriorityClass", String.valueOf(priority));
        }
 
+       public void setRealTimeFlag(boolean realTimeFlag) {
+               setField("RealTimeFlag", String.valueOf(realTimeFlag));
+       }
+
        /**
         * Sets the persistence of the request.
         *