diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2014-08-07 12:18:42 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2014-08-07 12:18:42 -0230 |
commit | 232fa424a7339659b6ad2cd02fbfe89420457601 (patch) | |
tree | 978d9e9286c2915b771f8bea019276ab216eecc4 /cpp/src/Ice/TcpConnector.h | |
parent | Windows SSL SChannel implementation & OS X Secure Transport fixes. (diff) | |
download | ice-232fa424a7339659b6ad2cd02fbfe89420457601.tar.bz2 ice-232fa424a7339659b6ad2cd02fbfe89420457601.tar.xz ice-232fa424a7339659b6ad2cd02fbfe89420457601.zip |
ICE-5457 added ability to set source address for connections
Diffstat (limited to 'cpp/src/Ice/TcpConnector.h')
-rw-r--r-- | cpp/src/Ice/TcpConnector.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpp/src/Ice/TcpConnector.h b/cpp/src/Ice/TcpConnector.h index 1acb6efc1c9..1b3f6c7e92a 100644 --- a/cpp/src/Ice/TcpConnector.h +++ b/cpp/src/Ice/TcpConnector.h @@ -21,7 +21,7 @@ namespace IceInternal class TcpConnector : public Connector { public: - + virtual TransceiverPtr connect(); virtual Ice::Short type() const; @@ -32,14 +32,16 @@ public: virtual bool operator<(const Connector&) const; private: - - TcpConnector(const ProtocolInstancePtr&, const Address&, const NetworkProxyPtr&, Ice::Int, const std::string&); + + TcpConnector(const ProtocolInstancePtr&, const Address&, const NetworkProxyPtr&, const Address&, Ice::Int, + const std::string&); virtual ~TcpConnector(); friend class TcpEndpointI; const ProtocolInstancePtr _instance; const Address _addr; const NetworkProxyPtr _proxy; + const Address _sourceAddr; const Ice::Int _timeout; const std::string _connectionId; }; |