diff options
author | Marc Laukien <marc@zeroc.com> | 2001-10-09 18:27:58 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-10-09 18:27:58 +0000 |
commit | ca9e4073d50175daa12dba5f197f3324eb2722cc (patch) | |
tree | ee1813a45b738c456b4bc3eb72e19e78d1b35b36 /cpp/src/Ice/Endpoint.cpp | |
parent | removed pickler, native (diff) | |
download | ice-ca9e4073d50175daa12dba5f197f3324eb2722cc.tar.bz2 ice-ca9e4073d50175daa12dba5f197f3324eb2722cc.tar.xz ice-ca9e4073d50175daa12dba5f197f3324eb2722cc.zip |
IntStream
Diffstat (limited to 'cpp/src/Ice/Endpoint.cpp')
-rw-r--r-- | cpp/src/Ice/Endpoint.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/src/Ice/Endpoint.cpp b/cpp/src/Ice/Endpoint.cpp index e5804907e39..47a303b332d 100644 --- a/cpp/src/Ice/Endpoint.cpp +++ b/cpp/src/Ice/Endpoint.cpp @@ -17,7 +17,7 @@ #include <Ice/SslConnector.h> #include <Ice/SslTransceiver.h> #include <Ice/UdpTransceiver.h> -#include <Ice/Stream.h> +#include <Ice/IntStream.h> #include <Ice/LocalException.h> using namespace std; @@ -66,7 +66,7 @@ IceInternal::Endpoint::endpointFromString(const string& str) } void -IceInternal::Endpoint::streamRead(Stream* s, EndpointPtr& v) +IceInternal::Endpoint::streamRead(IntStream* s, EndpointPtr& v) { Short type; s->read(type); @@ -99,13 +99,13 @@ IceInternal::Endpoint::streamRead(Stream* s, EndpointPtr& v) } } -IceInternal::UnknownEndpoint::UnknownEndpoint(Stream* s) +IceInternal::UnknownEndpoint::UnknownEndpoint(IntStream* s) { s->read(const_cast<vector<Byte>&>(_rawBytes)); } void -IceInternal::UnknownEndpoint::streamWrite(Stream* s) const +IceInternal::UnknownEndpoint::streamWrite(IntStream* s) const { s->write(UnknownEndpointType); s->write(_rawBytes); @@ -326,7 +326,7 @@ IceInternal::TcpEndpoint::TcpEndpoint(const string& str) : } } -IceInternal::TcpEndpoint::TcpEndpoint(Stream* s) : +IceInternal::TcpEndpoint::TcpEndpoint(IntStream* s) : _port(0), _timeout(-1) { @@ -338,7 +338,7 @@ IceInternal::TcpEndpoint::TcpEndpoint(Stream* s) : } void -IceInternal::TcpEndpoint::streamWrite(Stream* s) const +IceInternal::TcpEndpoint::streamWrite(IntStream* s) const { s->write(TcpEndpointType); s->startWriteEncaps(); @@ -641,7 +641,7 @@ IceInternal::SslEndpoint::SslEndpoint(const string& str) : } } -IceInternal::SslEndpoint::SslEndpoint(Stream* s) : +IceInternal::SslEndpoint::SslEndpoint(IntStream* s) : _port(0), _timeout(-1) { @@ -653,7 +653,7 @@ IceInternal::SslEndpoint::SslEndpoint(Stream* s) : } void -IceInternal::SslEndpoint::streamWrite(Stream* s) const +IceInternal::SslEndpoint::streamWrite(IntStream* s) const { s->write(SslEndpointType); s->startWriteEncaps(); @@ -948,7 +948,7 @@ IceInternal::UdpEndpoint::UdpEndpoint(const string& str) : } } -IceInternal::UdpEndpoint::UdpEndpoint(Stream* s) : +IceInternal::UdpEndpoint::UdpEndpoint(IntStream* s) : _port(0) { s->startReadEncaps(); @@ -958,7 +958,7 @@ IceInternal::UdpEndpoint::UdpEndpoint(Stream* s) : } void -IceInternal::UdpEndpoint::streamWrite(Stream* s) const +IceInternal::UdpEndpoint::streamWrite(IntStream* s) const { s->write(UdpEndpointType); s->startWriteEncaps(); |