diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-05-19 12:28:24 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-05-19 12:28:24 +0200 |
commit | f47c908c88875c32fd4c624aeecefbf660c17e85 (patch) | |
tree | 659fd0d6a854d9af06275172e21a8e9e9fc8cc65 /app/java/src/DNSProxyRunner.java | |
parent | 309993eec6085cfa0e112cd5f45c8c55beeee5db (diff) |
cleanup and comments
Diffstat (limited to 'app/java/src/DNSProxyRunner.java')
-rw-r--r-- | app/java/src/DNSProxyRunner.java | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/app/java/src/DNSProxyRunner.java b/app/java/src/DNSProxyRunner.java index 6a45413..dd0e3e5 100644 --- a/app/java/src/DNSProxyRunner.java +++ b/app/java/src/DNSProxyRunner.java @@ -6,15 +6,6 @@ import android.os.ParcelFileDescriptor; import android.util.Log; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.IOException; - -import java.net.InetSocketAddress; -import java.net.SocketAddress; - -import java.nio.channels.DatagramChannel; - public class DNSProxyRunner implements Runnable { public interface OnEstablishListener { @@ -43,6 +34,9 @@ public class DNSProxyRunner implements Runnable { } } + /** + * Callback when proxy connection is established + */ public void setOnEstablishListener(OnEstablishListener listener) { this.onEstablishListener = listener; } |