diff options
author | Anthony Neal <aneal@zeroc.com> | 2002-09-11 12:33:02 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2002-09-11 12:33:02 +0000 |
commit | 22056550f5f34cc2ee1cd28a23fd40545c566c4b (patch) | |
tree | dcd27d328d2e11f09924a407cc5fb08dfac32d8d /cpp/src/IceSSL/SslClientTransceiver.h | |
parent | fixed retry bug (diff) | |
download | ice-22056550f5f34cc2ee1cd28a23fd40545c566c4b.tar.bz2 ice-22056550f5f34cc2ee1cd28a23fd40545c566c4b.tar.xz ice-22056550f5f34cc2ee1cd28a23fd40545c566c4b.zip |
Removed the Connection classes, added the new SslTransceiver hierarchy,
cleaned up a lot of code.
Diffstat (limited to 'cpp/src/IceSSL/SslClientTransceiver.h')
-rw-r--r-- | cpp/src/IceSSL/SslClientTransceiver.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/SslClientTransceiver.h b/cpp/src/IceSSL/SslClientTransceiver.h new file mode 100644 index 00000000000..dba84a9231b --- /dev/null +++ b/cpp/src/IceSSL/SslClientTransceiver.h @@ -0,0 +1,39 @@ +// ********************************************************************** +// +// Copyright (c) 2002 +// Mutable Realms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +#ifndef ICE_SSL_CLIENT_TRANSCEIVER_H +#define ICE_SSL_CLIENT_TRANSCEIVER_H + +#include <Ice/LoggerF.h> +#include <IceSSL/SslTransceiver.h> +#include <IceSSL/ContextOpenSSLClient.h> +#include <IceSSL/PluginBaseIF.h> +#include <IceSSL/TraceLevelsF.h> + +namespace IceSSL +{ + +class ClientContext; + +class SslClientTransceiver : public SslTransceiver +{ +public: + virtual int handshake(int timeout = 0); + virtual void write(IceInternal::Buffer&, int); + +protected: + virtual void showConnectionInfo(); + SslClientTransceiver(const PluginBaseIPtr&, SOCKET, const OpenSSL::CertificateVerifierPtr&, SSL*); + friend class ClientContext; +}; + +} + +#endif |