From 5d10a21a9670df645a4ec9dc7f0ad786644f34d4 Mon Sep 17 00:00:00 2001 From: paweldomas Date: Thu, 21 Aug 2014 16:07:55 +0000 Subject: [PATCH] Adds getter for localAddress in BlockingRequestSender. Patch by Aakash Garg. --- src/org/ice4j/stunclient/BlockingRequestSender.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/org/ice4j/stunclient/BlockingRequestSender.java b/src/org/ice4j/stunclient/BlockingRequestSender.java index c56ec24..06f5f36 100644 --- a/src/org/ice4j/stunclient/BlockingRequestSender.java +++ b/src/org/ice4j/stunclient/BlockingRequestSender.java @@ -83,6 +83,17 @@ public class BlockingRequestSender this.localAddress = localAddress; } + /** + * Returns the local Address on which this Blocking Request Sender is bound + * to. + * + * @return the localAddress of this RequestSender. + */ + public TransportAddress getLocalAddress() + { + return localAddress; + } + /** * Notifies this ResponseCollector that a transaction described by * the specified BaseStunMessageEvent has failed. The possible