diff options
Diffstat (limited to 'Swiften/Network/BOSHConnectionPool.h')
| -rw-r--r-- | Swiften/Network/BOSHConnectionPool.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Swiften/Network/BOSHConnectionPool.h b/Swiften/Network/BOSHConnectionPool.h index 570ba4b..d845a3d 100644 --- a/Swiften/Network/BOSHConnectionPool.h +++ b/Swiften/Network/BOSHConnectionPool.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2011 Isode Limited. | 2 | * Copyright (c) 2011-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -12,6 +12,8 @@ | |||
| 12 | #include <Swiften/Base/API.h> | 12 | #include <Swiften/Base/API.h> |
| 13 | #include <Swiften/Base/SafeString.h> | 13 | #include <Swiften/Base/SafeString.h> |
| 14 | #include <Swiften/Network/BOSHConnection.h> | 14 | #include <Swiften/Network/BOSHConnection.h> |
| 15 | #include <Swiften/TLS/TLSOptions.h> | ||
| 16 | |||
| 15 | 17 | ||
| 16 | namespace Swift { | 18 | namespace Swift { |
| 17 | class HTTPConnectProxiedConnectionFactory; | 19 | class HTTPConnectProxiedConnectionFactory; |
| @@ -21,7 +23,7 @@ namespace Swift { | |||
| 21 | 23 | ||
| 22 | class SWIFTEN_API BOSHConnectionPool : public boost::bsignals::trackable { | 24 | class SWIFTEN_API BOSHConnectionPool : public boost::bsignals::trackable { |
| 23 | public: | 25 | public: |
| 24 | BOSHConnectionPool(const URL& boshURL, DomainNameResolver* resolver, ConnectionFactory* connectionFactory, XMLParserFactory* parserFactory, TLSContextFactory* tlsFactory, TimerFactory* timerFactory, EventLoop* eventLoop, const std::string& to, unsigned long long initialRID, const URL& boshHTTPConnectProxyURL, const SafeString& boshHTTPConnectProxyAuthID, const SafeString& boshHTTPConnectProxyAuthPassword); | 26 | BOSHConnectionPool(const URL& boshURL, DomainNameResolver* resolver, ConnectionFactory* connectionFactory, XMLParserFactory* parserFactory, TLSContextFactory* tlsFactory, TimerFactory* timerFactory, EventLoop* eventLoop, const std::string& to, unsigned long long initialRID, const URL& boshHTTPConnectProxyURL, const SafeString& boshHTTPConnectProxyAuthID, const SafeString& boshHTTPConnectProxyAuthPassword, const TLSOptions& tlsOptions); |
| 25 | ~BOSHConnectionPool(); | 27 | ~BOSHConnectionPool(); |
| 26 | void write(const SafeByteArray& data); | 28 | void write(const SafeByteArray& data); |
| 27 | void writeFooter(); | 29 | void writeFooter(); |
Swift