diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-06-27 17:54:30 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-06-27 17:54:30 +0200 |
commit | c56f8ab6ca6ca0bdb9536fcce1ef24f1ef40ddc7 (patch) | |
tree | 5cb64dfe155e5d2349efb6c7dc4b0f5b5284d44a /cpp/src/Ice/WSEndpoint.h | |
parent | Fix Windows php build to restore nuget packages (diff) | |
download | ice-c56f8ab6ca6ca0bdb9536fcce1ef24f1ef40ddc7.tar.bz2 ice-c56f8ab6ca6ca0bdb9536fcce1ef24f1ef40ddc7.tar.xz ice-c56f8ab6ca6ca0bdb9536fcce1ef24f1ef40ddc7.zip |
Refactored SSL and iAP transports, support for running SSL on top
of TCP/iAP/Bluetooth.
Diffstat (limited to 'cpp/src/Ice/WSEndpoint.h')
-rw-r--r-- | cpp/src/Ice/WSEndpoint.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/cpp/src/Ice/WSEndpoint.h b/cpp/src/Ice/WSEndpoint.h index 8216902d3f9..a247219409d 100644 --- a/cpp/src/Ice/WSEndpoint.h +++ b/cpp/src/Ice/WSEndpoint.h @@ -20,17 +20,6 @@ namespace IceInternal { -// -// Delegate interface implemented by TcpEndpoint or IceSSL::Endpoint or any endpoint that WS can -// delegate to. -// -class ICE_API WSEndpointDelegate : public virtual IceUtil::Shared -{ -public: - - virtual Ice::EndpointInfoPtr getWSInfo(const std::string&) const = 0; -}; - class WSEndpoint : public EndpointI, public Ice::EnableSharedFromThis<WSEndpoint> { public: @@ -39,10 +28,11 @@ public: WSEndpoint(const ProtocolInstancePtr&, const EndpointIPtr&, std::vector<std::string>&); WSEndpoint(const ProtocolInstancePtr&, const EndpointIPtr&, Ice::InputStream*); + virtual void streamWriteImpl(Ice::OutputStream*) const; + virtual Ice::EndpointInfoPtr getInfo() const; virtual Ice::Short type() const; virtual const std::string& protocol() const; - virtual void streamWrite(Ice::OutputStream*) const; virtual Ice::Int timeout() const; virtual EndpointIPtr timeout(Ice::Int) const; @@ -62,7 +52,6 @@ public: virtual ::Ice::Int hash() const; virtual std::string options() const; - EndpointIPtr delegate() const; WSEndpointPtr endpoint(const EndpointIPtr&) const; #ifdef ICE_CPP11_MAPPING @@ -83,7 +72,7 @@ private: // All members are const, because endpoints are immutable. // const ProtocolInstancePtr _instance; - const IPEndpointIPtr _delegate; + const EndpointIPtr _delegate; const std::string _resource; }; @@ -100,7 +89,7 @@ public: virtual EndpointIPtr read(Ice::InputStream*) const; virtual void destroy(); - virtual EndpointFactoryPtr clone(const ProtocolInstancePtr&) const; + virtual EndpointFactoryPtr clone(const ProtocolInstancePtr&, const EndpointFactoryPtr&) const; private: |