diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-03-07 20:18:07 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-03-07 20:18:07 +0100 |
commit | 416a073c764764c487921235075e7e6cadfce0d5 (patch) | |
tree | 4246e2e6940b77f9b251a522e85db58f3c89914f /tunnel/src/main/java/com/wireguard/android/backend/Tunnel.java | |
parent | 6b9ea77ebbf9f31ac59dd2fc58dd6acc7fbcce9a (diff) |
WIP add ConfigDetail and PeerDetail
Diffstat (limited to 'tunnel/src/main/java/com/wireguard/android/backend/Tunnel.java')
-rw-r--r-- | tunnel/src/main/java/com/wireguard/android/backend/Tunnel.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tunnel/src/main/java/com/wireguard/android/backend/Tunnel.java b/tunnel/src/main/java/com/wireguard/android/backend/Tunnel.java index 40c460d2..a2342807 100644 --- a/tunnel/src/main/java/com/wireguard/android/backend/Tunnel.java +++ b/tunnel/src/main/java/com/wireguard/android/backend/Tunnel.java @@ -5,6 +5,10 @@ package com.wireguard.android.backend; +import androidx.annotation.Nullable; + +import com.wireguard.config.InetEndpoint; +import com.wireguard.crypto.Key; import com.wireguard.util.NonNullForAll; import java.util.regex.Pattern; @@ -61,4 +65,6 @@ public interface Tunnel { * @param newDhcp The new DHCP info of the tunnel. */ void onDhcpChange(Dhcp newDhcp); + + void onEndpointChange(@Nullable Key publicKey, @Nullable InetEndpoint newEndpoint); } |