diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-11-27 11:58:35 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-11-27 11:58:35 +0100 |
commit | 47f800495093fd7679a315e2d730fea22f6135b7 (patch) | |
tree | a7b8d3488f3841367dd03d10cae293f36fd10481 /cpp/src/Ice/TcpConnector.h | |
parent | Fixed SystemException to no longer derive from LocalException (diff) | |
download | ice-47f800495093fd7679a315e2d730fea22f6135b7.tar.bz2 ice-47f800495093fd7679a315e2d730fea22f6135b7.tar.xz ice-47f800495093fd7679a315e2d730fea22f6135b7.zip |
- Added support for non-blocking AMI/batch requests, connection
creation.
- Added support for AMI oneway requests.
- Changed collocation optimization to not perform any DNS lookups.
Diffstat (limited to 'cpp/src/Ice/TcpConnector.h')
-rw-r--r-- | cpp/src/Ice/TcpConnector.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/Ice/TcpConnector.h b/cpp/src/Ice/TcpConnector.h index ae0bc1a72a8..2147f30cccc 100644 --- a/cpp/src/Ice/TcpConnector.h +++ b/cpp/src/Ice/TcpConnector.h @@ -16,8 +16,8 @@ #include <Ice/LoggerF.h> #include <Ice/Connector.h> -#ifdef _WIN32
-# include <winsock2.h>
+#ifdef _WIN32 +# include <winsock2.h> #else # include <netinet/in.h> // For struct sockaddr_in #endif @@ -30,6 +30,7 @@ class TcpConnector : public Connector public: virtual TransceiverPtr connect(int); + virtual Ice::Short type() const; virtual std::string toString() const; @@ -37,8 +38,6 @@ public: virtual bool operator!=(const Connector&) const; virtual bool operator<(const Connector&) const; - bool equivalent(const std::string&, int) const; - private: TcpConnector(const InstancePtr&, const struct sockaddr_in&, Ice::Int, const std::string&); |