⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 warsvrprotocolhttplite.h

📁 ftpserver very good sample
💻 H
字号:
/** */#ifndef WAR_SVR_PROTOCOL_HTTP_LITE_H#define WAR_SVR_PROTOCOL_HTTP_LITE_H/* SYSTEM INCLUDES */#ifndef WAR_INCLUDED_TCHAR_H#   define WAR_INCLUDED_TCHAR_H#   include <tchar.h>#endif/* PROJECT INCLUDES */#ifndef WAR_SVR_PROTOCOL_HTTP_H#   include "WarSvrProtocolHttp.h"#endif#ifndef WAR_SVR_DEFINITION_HTTP_H#   include "WarSvrDefinitionHttp.h"#endif#ifndef WAR_WIN32_REGISTRY_H#   include "WarWin32Registry.h"#endif#ifndef WAR_SVR_PROTOCOL_HTTP_REPLY_H#	include "WarSvrProtocolHttpReply.h"#endif/* LOCAL INCLUDES */#ifndef WAR_HTTPD_LITE_H#   include "WarftpdLite.h"#endif/* FORWARD REFERENCES */#ifdef __cplusplusextern "C" {#endif/****************** BEGIN OLD STYLE C spesific ********//****************** END OLD STYLE C spesific **********/#ifdef __cplusplus }#endif/****************** BEGIN C++ spesific ****************/#ifdef __cplusplusclass WarSvrProtocolHttpLite : public WarSvrProtocolHttp{public:    // LIFECYCLE        /**    * Default constructor.    */    WarSvrProtocolHttpLite(        war_socket_io_ptr_t& companionPtr,        WarSvrDefinition& svrDefinion)		: WarSvrProtocolHttp(companionPtr, svrDefinion)	{	}        // OPERATIONS                           // ACCESS    // INQUIRY    protected:private:};class WarSvrDefinitionHttpLite : public WarSvrDefinitionHttp{public:    WarSvrDefinitionHttpLite()        throw(WarException)    {}    war_registrypath_t mRegistryPath;protected:     virtual WarSvrProtocol *GetNewSvr(         war_socket_io_ptr_t& companionPtr)        throw(WarException)     {         return new WarSvrProtocolHttpLite(             companionPtr, *this);     }};typedef WarPtrWrapper<WarSvrDefinitionHttpLite> war_svr_definition_http_lite_ptr_t;/* INLINE METHODS *//* EXTERNAL REFERENCES */#endif /* __cplusplus *//****************** END C++ spesific ******************/#endif  /* WAR_SVR_PROTOCOL_HTTP_LITE_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -