diff options
Diffstat (limited to 'Swiften/Network/ChainedConnector.h')
| -rw-r--r-- | Swiften/Network/ChainedConnector.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Network/ChainedConnector.h b/Swiften/Network/ChainedConnector.h index a00d7e5..9620293 100644 --- a/Swiften/Network/ChainedConnector.h +++ b/Swiften/Network/ChainedConnector.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2011-2016 Isode Limited. | 2 | * Copyright (c) 2011-2018 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 | */ |
| @@ -26,7 +26,7 @@ namespace Swift { | |||
| 26 | 26 | ||
| 27 | class SWIFTEN_API ChainedConnector { | 27 | class SWIFTEN_API ChainedConnector { |
| 28 | public: | 28 | public: |
| 29 | ChainedConnector(const std::string& hostname, int port, const boost::optional<std::string>& serviceLookupPrefix, DomainNameResolver*, const std::vector<ConnectionFactory*>&, TimerFactory*); | 29 | ChainedConnector(const std::string& hostname, unsigned short port, const boost::optional<std::string>& serviceLookupPrefix, DomainNameResolver*, const std::vector<ConnectionFactory*>&, TimerFactory*); |
| 30 | ~ChainedConnector(); | 30 | ~ChainedConnector(); |
| 31 | 31 | ||
| 32 | void setTimeoutMilliseconds(int milliseconds); | 32 | void setTimeoutMilliseconds(int milliseconds); |
| @@ -42,7 +42,7 @@ namespace Swift { | |||
| 42 | 42 | ||
| 43 | private: | 43 | private: |
| 44 | std::string hostname; | 44 | std::string hostname; |
| 45 | int port; | 45 | unsigned short port; |
| 46 | boost::optional<std::string> serviceLookupPrefix; | 46 | boost::optional<std::string> serviceLookupPrefix; |
| 47 | DomainNameResolver* resolver; | 47 | DomainNameResolver* resolver; |
| 48 | std::vector<ConnectionFactory*> connectionFactories; | 48 | std::vector<ConnectionFactory*> connectionFactories; |
Swift