From d289f125a4396aecc7720b04acbab5039e50763a Mon Sep 17 00:00:00 2001 From: bgrozev Date: Wed, 20 Dec 2023 17:12:15 -0600 Subject: [PATCH] Expose AbstractUdpListener.localAddress. (#277) --- src/main/java/org/ice4j/ice/harvest/AbstractUdpListener.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/ice4j/ice/harvest/AbstractUdpListener.java b/src/main/java/org/ice4j/ice/harvest/AbstractUdpListener.java index 7334998..4166c06 100644 --- a/src/main/java/org/ice4j/ice/harvest/AbstractUdpListener.java +++ b/src/main/java/org/ice4j/ice/harvest/AbstractUdpListener.java @@ -260,6 +260,11 @@ public abstract class AbstractUdpListener thread.start(); } + public TransportAddress getLocalAddress() + { + return localAddress; + } + /** * Triggers the termination of the threads of this instance. */