/
zOMGdev
/
cppcms
Обзор
Документация
Войти
/
zOMGdev
/
cppcms
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
private/tcp_cache_server.h
44 строки
1 KB
Artyom Beilis
- Update copyright notice,
03 янв 2012, 17:58
03 янв 2012, 17:58
068d3f9
Код
Авторство
О чём код?
/////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com> // // See accompanying file COPYING.TXT file for licensing details. // /////////////////////////////////////////////////////////////////////////////// #ifndef CPPCMS_TCP_CACHE_SERVER_H #define CPPCMS_TCP_CACHE_SERVER_H #include <cppcms/defs.h> #include "base_cache.h" #include <booster/noncopyable.h> #include <booster/intrusive_ptr.h> #include <booster/shared_ptr.h> #include <booster/hold_ptr.h> 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<base_cache> cache, booster::shared_ptr<cppcms::sessions::session_storage_factory> 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