From: David ‘Bombe’ Roden Date: Tue, 24 Nov 2015 20:29:55 +0000 (+0100) Subject: Add setter for real-time flag X-Git-Tag: v0.1.4^2~12 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b436dbab55c63db3e0fc01d52d2dd177d93c19cc;p=jFCPlib.git Add setter for real-time flag --- diff --git a/src/main/java/net/pterodactylus/fcp/ClientGet.java b/src/main/java/net/pterodactylus/fcp/ClientGet.java index 1126824..d340cf0 100644 --- a/src/main/java/net/pterodactylus/fcp/ClientGet.java +++ b/src/main/java/net/pterodactylus/fcp/ClientGet.java @@ -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. *