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/Connector.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/Connector.h')
-rw-r--r-- | cpp/src/Ice/Connector.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/Ice/Connector.h b/cpp/src/Ice/Connector.h index 347997afbce..825afa86383 100644 --- a/cpp/src/Ice/Connector.h +++ b/cpp/src/Ice/Connector.h @@ -14,6 +14,12 @@ #include <Ice/ConnectorF.h> #include <Ice/TransceiverF.h> +#ifdef _WIN32 +# include <winsock2.h> +#else +# define SOCKET int +#endif + namespace IceInternal { @@ -22,6 +28,7 @@ class ICE_API Connector : public ::IceUtil::Shared public: virtual TransceiverPtr connect(int) = 0; + virtual Ice::Short type() const = 0; virtual std::string toString() const = 0; |