// ********************************************************************** // // Copyright (c) 2003-2004 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ********************************************************************** #ifndef ICE_SSL_CONNECTOR_H #define ICE_SSL_CONNECTOR_H #include #include #include #ifndef _WIN32 # include // For struct sockaddr_in #endif namespace IceSSL { class SslEndpoint; class SslConnector : public IceInternal::Connector { public: virtual IceInternal::TransceiverPtr connect(int); virtual std::string toString() const; private: SslConnector(const OpenSSLPluginIPtr&, const std::string&, int); virtual ~SslConnector(); friend class SslEndpoint; OpenSSLPluginIPtr _plugin; struct sockaddr_in _addr; }; } #endif