/** * Returns the local SOCKS5 proxy server. * * @return the local SOCKS5 proxy server */ public static synchronized Socks5Proxy getSocks5Proxy() { if (socks5Server == null) { socks5Server = new Socks5Proxy(); } if (SmackConfiguration.isLocalSocks5ProxyEnabled()) { socks5Server.start(); } return socks5Server; }
/** * Returns the local SOCKS5 proxy server. * * @return the local SOCKS5 proxy server */ public static synchronized Socks5Proxy getSocks5Proxy() { if (socks5Server == null) { socks5Server = new Socks5Proxy(); } if (SmackConfiguration.isLocalSocks5ProxyEnabled()) { socks5Server.start(); } return socks5Server; }
/** * Returns the local SOCKS5 proxy server. * * @return the local SOCKS5 proxy server */ public static synchronized Socks5Proxy getSocks5Proxy() { if (socks5Server == null) { socks5Server = new Socks5Proxy(); } if (SmackConfiguration.isLocalSocks5ProxyEnabled()) { socks5Server.start(); } return socks5Server; }