/* * Copyright (c) 2011 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include #include #include namespace Swift { class Connection; class TLSConnectionFactory : public ConnectionFactory { public: TLSConnectionFactory(TLSContextFactory* contextFactory, ConnectionFactory* connectionFactory); virtual ~TLSConnectionFactory(); virtual boost::shared_ptr createConnection(); private: TLSContextFactory* contextFactory; ConnectionFactory* connectionFactory; }; }