Skip to content

Commit

Permalink
Rename WhonixTorController to TorControlProtocol
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed Jun 1, 2024
1 parent 74eb822 commit 1ad30b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1ad30b3

Please sign in to comment.