summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/FileTransfer/SOCKS5BytestreamProxiesManager.h')
-rw-r--r--Swiften/FileTransfer/SOCKS5BytestreamProxiesManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/FileTransfer/SOCKS5BytestreamProxiesManager.h b/Swiften/FileTransfer/SOCKS5BytestreamProxiesManager.h
index e4bf1d9..c7daee7 100644
--- a/Swiften/FileTransfer/SOCKS5BytestreamProxiesManager.h
+++ b/Swiften/FileTransfer/SOCKS5BytestreamProxiesManager.h
@@ -27,10 +27,11 @@
27namespace Swift { 27namespace Swift {
28 class TimerFactory; 28 class TimerFactory;
29 class ConnectionFactory; 29 class ConnectionFactory;
30 class DomainNameResolver; 30 class DomainNameResolver;
31 class DomainNameResolveError; 31 class DomainNameResolveError;
32 class IQRouter;
32 33
33 /** 34 /**
34 * - manages list of working S5B proxies 35 * - manages list of working S5B proxies
35 * - creates initial connections (for the candidates you provide) 36 * - creates initial connections (for the candidates you provide)
36 */ 37 */
@@ -54,11 +55,11 @@ namespace Swift {
54 55
55 public: 56 public:
56 boost::signal<void ()> onDiscoveredProxiesChanged; 57 boost::signal<void ()> onDiscoveredProxiesChanged;
57 58
58 private: 59 private:
59 void handleProxyFound(S5BProxyRequest::ref proxy); 60 void handleProxiesFound(std::vector<S5BProxyRequest::ref> proxyHosts);
60 void handleNameLookupResult(const std::vector<HostAddress>&, boost::optional<DomainNameResolveError>, S5BProxyRequest::ref proxy); 61 void handleNameLookupResult(const std::vector<HostAddress>&, boost::optional<DomainNameResolveError>, S5BProxyRequest::ref proxy);
61 62
62 void queryForProxies(); 63 void queryForProxies();
63 64
64 void handleProxySessionReady(const std::string& sessionID, const JID& jid, boost::shared_ptr<SOCKS5BytestreamClientSession> session, bool error); 65 void handleProxySessionReady(const std::string& sessionID, const JID& jid, boost::shared_ptr<SOCKS5BytestreamClientSession> session, bool error);