diff options
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; } |