From 1ad30b30caa900325d754de967220d1425236e98 Mon Sep 17 00:00:00 2001 From: Alva Swanson Date: Sat, 1 Jun 2024 13:32:52 +0000 Subject: [PATCH] Rename WhonixTorController to TorControlProtocol --- .../{WhonixTorController.java => TorControlProtocol.java} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename network/tor/tor/src/main/java/bisq/tor/controller/{WhonixTorController.java => TorControlProtocol.java} (97%) diff --git a/network/tor/tor/src/main/java/bisq/tor/controller/WhonixTorController.java b/network/tor/tor/src/main/java/bisq/tor/controller/TorControlProtocol.java similarity index 97% rename from network/tor/tor/src/main/java/bisq/tor/controller/WhonixTorController.java rename to network/tor/tor/src/main/java/bisq/tor/controller/TorControlProtocol.java index bd39262bf5..44c54d044a 100644 --- a/network/tor/tor/src/main/java/bisq/tor/controller/WhonixTorController.java +++ b/network/tor/tor/src/main/java/bisq/tor/controller/TorControlProtocol.java @@ -10,12 +10,12 @@ import java.nio.charset.StandardCharsets; import java.util.List; -public class WhonixTorController implements AutoCloseable { +public class TorControlProtocol implements AutoCloseable { private final Socket controlSocket; private final WhonixTorControlReader whonixTorControlReader; private final OutputStream outputStream; - public WhonixTorController(int port) throws IOException { + public TorControlProtocol(int port) throws IOException { controlSocket = new Socket("127.0.0.1", port); whonixTorControlReader = new WhonixTorControlReader(controlSocket.getInputStream()); outputStream = controlSocket.getOutputStream();