diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-11-13 10:17:27 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-11-13 10:17:27 +0100 |
commit | 99b44d083eeee5583adfe642081a827224fa1309 (patch) | |
tree | 46bb3af634cbd5d90b9e5d46099f4e0e85f70ec6 /cpp/src/Ice/UdpConnector.cpp | |
parent | Cosmetic updates to IceGrid Admin connection wizard (diff) | |
download | ice-99b44d083eeee5583adfe642081a827224fa1309.tar.bz2 ice-99b44d083eeee5583adfe642081a827224fa1309.tar.xz ice-99b44d083eeee5583adfe642081a827224fa1309.zip |
Fixed ICE-4927: fixed proxy encoding to marshal protocol/encoding version instead of encoding it in endpoints
Diffstat (limited to 'cpp/src/Ice/UdpConnector.cpp')
-rw-r--r-- | cpp/src/Ice/UdpConnector.cpp | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/cpp/src/Ice/UdpConnector.cpp b/cpp/src/Ice/UdpConnector.cpp index 29782122b53..b52c5a44bd6 100644 --- a/cpp/src/Ice/UdpConnector.cpp +++ b/cpp/src/Ice/UdpConnector.cpp @@ -48,16 +48,6 @@ IceInternal::UdpConnector::operator==(const Connector& r) const return false; } - if(_protocol != p->_protocol) - { - return false; - } - - if(_encoding != p->_encoding) - { - return false; - } - if(_connectionId != p->_connectionId) { return false; @@ -91,24 +81,6 @@ IceInternal::UdpConnector::operator<(const Connector& r) const return type() < r.type(); } - if(_protocol < p->_protocol) - { - return true; - } - else if(p->_protocol < _protocol) - { - return false; - } - - if(_encoding < p->_encoding) - { - return true; - } - else if(p->_encoding < _encoding) - { - return false; - } - if(_connectionId < p->_connectionId) { return true; @@ -139,15 +111,11 @@ IceInternal::UdpConnector::operator<(const Connector& r) const } IceInternal::UdpConnector::UdpConnector(const InstancePtr& instance, const Address& addr, - const string& mcastInterface, int mcastTtl, - const Ice::ProtocolVersion& protocol, const Ice::EncodingVersion& encoding, - const std::string& connectionId) : + const string& mcastInterface, int mcastTtl, const std::string& connectionId) : _instance(instance), _addr(addr), _mcastInterface(mcastInterface), _mcastTtl(mcastTtl), - _protocol(protocol), - _encoding(encoding), _connectionId(connectionId) { } |