/////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) // // See accompanying file COPYING.TXT file for licensing details. // /////////////////////////////////////////////////////////////////////////////// #ifndef CPPCMS_TCP_CACHE_SERVER_H #define CPPCMS_TCP_CACHE_SERVER_H #include #include "base_cache.h" #include #include #include #include namespace cppcms { namespace sessions { class session_storage_factory; } namespace impl { class CPPCMS_API tcp_cache_service : public booster::noncopyable { public: tcp_cache_service( booster::intrusive_ptr cache, booster::shared_ptr f, int threads, std::string ip, int port, int gc_timeout = 10); ~tcp_cache_service(); void stop(); private: class session; class server; struct _data; booster::hold_ptr<_data> d; }; } // impl } // cppcms #endif