summaryrefslogtreecommitdiff
path: root/cppe/src/TcpTransport/TcpEndpoint.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-02-20 19:07:12 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-02-20 19:07:12 +0000
commit99a1e439a69d09563d10cf9f098214636fd1c714 (patch)
tree8912fc8fa3208aa8f39f4b98f5105af56f01bc2a /cppe/src/TcpTransport/TcpEndpoint.cpp
parentChanges for VS2005 support (diff)
downloadice-99a1e439a69d09563d10cf9f098214636fd1c714.tar.bz2
ice-99a1e439a69d09563d10cf9f098214636fd1c714.tar.xz
ice-99a1e439a69d09563d10cf9f098214636fd1c714.zip
- Socket timeout fixes.
- Removed unused code for collocation optimization.
Diffstat (limited to 'cppe/src/TcpTransport/TcpEndpoint.cpp')
-rw-r--r--cppe/src/TcpTransport/TcpEndpoint.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/cppe/src/TcpTransport/TcpEndpoint.cpp b/cppe/src/TcpTransport/TcpEndpoint.cpp
index 62bd3b70676..eb3961ec6b2 100644
--- a/cppe/src/TcpTransport/TcpEndpoint.cpp
+++ b/cppe/src/TcpTransport/TcpEndpoint.cpp
@@ -224,13 +224,7 @@ IceInternal::TcpEndpoint::unknown() const
ConnectorPtr
IceInternal::TcpEndpoint::connector() const
{
- return new Connector(_instance, _host, _port, _timeout);
-}
-
-bool
-IceInternal::TcpEndpoint::equivalent(const TransceiverPtr&) const
-{
- return false;
+ return new Connector(_instance, _host, _port);
}
bool
@@ -376,7 +370,7 @@ IceInternal::TcpEndpoint::expand(bool includeLoopback) const
AcceptorPtr
IceInternal::TcpEndpoint::acceptor(EndpointPtr& endp) const
{
- Acceptor* p = new Acceptor(_instance, _host, _port, _timeout);
+ Acceptor* p = new Acceptor(_instance, _host, _port);
endp = new TcpEndpoint(_instance, _host, p->effectivePort(), _timeout, _publish);
return p;
}
@@ -387,10 +381,4 @@ IceInternal::TcpEndpoint::publish() const
return _publish;
}
-bool
-IceInternal::TcpEndpoint::equivalent(const AcceptorPtr& acceptor) const
-{
- return acceptor->equivalent(_host, _port);
-}
-
#endif