synchronized public List<URL> getEventCallbackURLs(List<NetworkAddress> activeStreamServers, Namespace namespace) { List<URL> callbackURLs = new ArrayList<>(); for (NetworkAddress activeStreamServer : activeStreamServers) { callbackURLs.add( new Location( activeStreamServer, namespace.getEventCallbackPathString(getService()) ).getURL()); } return callbackURLs; }
synchronized public List<URL> getEventCallbackURLs(List<NetworkAddress> activeStreamServers, Namespace namespace) { List<URL> callbackURLs = new ArrayList<>(); for (NetworkAddress activeStreamServer : activeStreamServers) { callbackURLs.add( new Location( activeStreamServer, namespace.getEventCallbackPathString(getService()) ).getURL()); } return callbackURLs; }