warsvrwin32ntenginetask.h
来自「ftpserver very good sample」· C头文件 代码 · 共 88 行
H
88 行
/** WarThreadPoolTask that process I/O Completion ports.*/#ifndef WAR_SVR_WIN32_NT_ENGINE_TASK_H#define WAR_SVR_WIN32_NT_ENGINE_TASK_H/* SYSTEM INCLUDES *//* PROJECT INCLUDES */#ifndef WAR_THREAD_POOL_TASK_H# include"WarThreadPoolTask.h"#endif/* LOCAL INCLUDES *//* FORWARD REFERENCES */class WarSvrWin32NtEngine;#ifdef __cplusplusextern "C" {#endif/****************** BEGIN OLD STYLE C spesific ********//****************** END OLD STYLE C spesific **********/#ifdef __cplusplus }#endif/****************** BEGIN C++ spesific ****************/#ifdef __cplusplusclass WarSvrWin32NtEngineTask : public WarThreadPoolTask{public: // LIFECYCLE /** * Default constructor. */ WarSvrWin32NtEngineTask(WarSvrWin32NtEngine& rEngine); /** * Destructor. */ ~WarSvrWin32NtEngineTask(void); // OPERATORS // OPERATIONS // ACCESS // INQUIRY /// Housekeeping delay DWORD GetWaitTimeout() { return 1000; } protected: virtual void OnProcessing(WarThreadForPool * pThread);private: WarSvrWin32NtEngine& mrEngine;};/* INLINE METHODS *//* EXTERNAL REFERENCES */#endif /* __cplusplus *//****************** END C++ spesific ******************/#endif /* WAR_SVR_WIN32_NTENGINE_TASK_H_ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?