diff options
Diffstat (limited to 'src/i2p.h')
-rw-r--r-- | src/i2p.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -7,6 +7,7 @@ #include <compat/compat.h> #include <netaddress.h> +#include <netbase.h> #include <sync.h> #include <util/fs.h> #include <util/sock.h> @@ -67,7 +68,7 @@ public: * `Session` object. */ Session(const fs::path& private_key_file, - const CService& control_host, + const Proxy& control_host, CThreadInterrupt* interrupt); /** @@ -81,7 +82,7 @@ public: * `CThreadInterrupt` object is saved, so it must not be destroyed earlier than this * `Session` object. */ - Session(const CService& control_host, CThreadInterrupt* interrupt); + Session(const Proxy& control_host, CThreadInterrupt* interrupt); /** * Destroy the session, closing the internally used sockets. The sockets that have been @@ -235,9 +236,9 @@ private: const fs::path m_private_key_file; /** - * The host and port of the SAM control service. + * The SAM control service proxy. */ - const CService m_control_host; + const Proxy m_control_host; /** * Cease network activity when this is signaled. |