diff options
author | Marc Laukien <marc@zeroc.com> | 2002-04-02 17:08:47 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-04-02 17:08:47 +0000 |
commit | c98649e0be8c8bcbc8eba686f9a08f1ed17d36cb (patch) | |
tree | cd9ddef90cf2f5496be9abc07e3018bb294d8213 /cpp/src/Ice/Endpoint.cpp | |
parent | removed shutdown() from acceptor (diff) | |
download | ice-c98649e0be8c8bcbc8eba686f9a08f1ed17d36cb.tar.bz2 ice-c98649e0be8c8bcbc8eba686f9a08f1ed17d36cb.tar.xz ice-c98649e0be8c8bcbc8eba686f9a08f1ed17d36cb.zip |
cleanup
Diffstat (limited to 'cpp/src/Ice/Endpoint.cpp')
-rw-r--r-- | cpp/src/Ice/Endpoint.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/Ice/Endpoint.cpp b/cpp/src/Ice/Endpoint.cpp index f95044baa34..b88afdc2bcf 100644 --- a/cpp/src/Ice/Endpoint.cpp +++ b/cpp/src/Ice/Endpoint.cpp @@ -66,7 +66,7 @@ IceInternal::Endpoint::endpointFromString(const InstancePtr& instance, const str { return new UdpEndpoint(instance, str.substr(end)); } -
+ throw EndpointParseException(__FILE__, __LINE__); } @@ -95,7 +95,7 @@ IceInternal::Endpoint::streamRead(BasicStream* s, EndpointPtr& v) v = new UdpEndpoint(s); break; } -
+ default: { v = new UnknownEndpoint(type, s); @@ -552,7 +552,7 @@ IceInternal::TcpEndpoint::operator<(const Endpoint& r) const { return false; // tcp is not "less than" udp } -
+ if (dynamic_cast<const UnknownEndpoint*>(&r)) { return false; // tcp is not "less than" unknown @@ -887,7 +887,7 @@ IceInternal::SslEndpoint::operator<(const Endpoint& r) const { return false; // ssl is not "less than" udp } -
+ if (dynamic_cast<const UnknownEndpoint*>(&r)) { return false; // ssl is not "less than" unknown @@ -1217,7 +1217,7 @@ IceInternal::UdpEndpoint::operator<(const Endpoint& r) const { return true; // udp is "less than" tcp } -
+ if (dynamic_cast<const UnknownEndpoint*>(&r)) { return false; // udp is not "less than" unknown @@ -1270,4 +1270,4 @@ IceInternal::UdpEndpoint::operator<(const Endpoint& r) const return false; } -
+ |