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/IceSSL/OpenSSLTransceiverI.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/IceSSL/OpenSSLTransceiverI.h')
-rw-r--r-- | cpp/src/IceSSL/OpenSSLTransceiverI.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cpp/src/IceSSL/OpenSSLTransceiverI.h b/cpp/src/IceSSL/OpenSSLTransceiverI.h index 8451db86b69..58459e804b9 100644 --- a/cpp/src/IceSSL/OpenSSLTransceiverI.h +++ b/cpp/src/IceSSL/OpenSSLTransceiverI.h @@ -32,7 +32,7 @@ namespace IceSSL class ConnectorI; class AcceptorI; -class TransceiverI : public IceInternal::Transceiver, public IceInternal::WSTransceiverDelegate +class TransceiverI : public IceInternal::Transceiver { public: @@ -51,7 +51,6 @@ public: virtual std::string toString() const; virtual std::string toDetailedString() const; virtual Ice::ConnectionInfoPtr getInfo() const; - virtual Ice::ConnectionInfoPtr getWSInfo(const Ice::HeaderDict&) const; virtual void checkSendSize(const IceInternal::Buffer&); virtual void setBufferSize(int rcvSize, int sndSize); @@ -59,11 +58,9 @@ public: private: - TransceiverI(const InstancePtr&, const IceInternal::StreamSocketPtr&, const std::string&, bool); + TransceiverI(const InstancePtr&, const IceInternal::TransceiverPtr&, const std::string&, bool); virtual ~TransceiverI(); - void fillConnectionInfo(const ConnectionInfoPtr&, std::vector<CertificatePtr>&) const; - friend class ConnectorI; friend class AcceptorI; @@ -72,7 +69,8 @@ private: const std::string _host; const std::string _adapterName; const bool _incoming; - const IceInternal::StreamSocketPtr _stream; + const IceInternal::TransceiverPtr _delegate; + bool _connected; bool _verified; std::vector<CertificatePtr> _nativeCerts; |