X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2FClientGet.java;h=d340cf00767d2d0b1905cd0400c9f652c530663a;hb=54b77863a4a3d63a0298157a87afb09007b03fc4;hp=ce2abf12e01c3616ef6f131ceeeedc8d9196a204;hpb=50f1c4c53c9c3435bd1a0e33d1b949a22eab9df7;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/ClientGet.java b/src/main/java/net/pterodactylus/fcp/ClientGet.java index ce2abf1..d340cf0 100644 --- a/src/main/java/net/pterodactylus/fcp/ClientGet.java +++ b/src/main/java/net/pterodactylus/fcp/ClientGet.java @@ -89,8 +89,8 @@ public class ClientGet extends FcpMessage { } /** - * Sets the maximum size of the file to retrieve. If the file is larger than - * this size the request will fail! + * Sets the maximum size of the file to retrieve. If the file is larger + * than this size the request will fail! * * @param maxSize * The maximum size of the file to retrieve @@ -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. * @@ -207,8 +211,8 @@ public class ClientGet extends FcpMessage { } /** - * Sets the name for the temporary file. You should only call this method if - * your return type is {@link ReturnType#disk}! + * Sets the name for the temporary file. You should only call this method + * if your return type is {@link ReturnType#disk}! * * @param tempFilename * The name of the temporary file