From: Jakub Skoczen Date: Mon, 31 Aug 2015 14:16:39 +0000 (+0200) Subject: Add connections accessor X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=4ccd42b12b58c1cd7925ec6617a42d3d8e135020;p=yaz4j-moved-to-github.git Add connections accessor --- diff --git a/src/main/java/org/yaz4j/AsyncConnections.java b/src/main/java/org/yaz4j/AsyncConnections.java index b331729..6f1e7d0 100644 --- a/src/main/java/org/yaz4j/AsyncConnections.java +++ b/src/main/java/org/yaz4j/AsyncConnections.java @@ -21,6 +21,10 @@ public class AsyncConnections { public void add(AsyncConnection conn) { conns.add(conn); } + + public List getConnections() { + return conns; + } public void start() { SWIGTYPE_p_p_ZOOM_connection_p c_conns = new_zoomConnectionArray(conns.size()); @@ -48,5 +52,5 @@ public class AsyncConnections { delete_zoomConnectionArray(c_conns); } } - + }