|
| FcgiApp (winux::Configure &conf, struct xAppServerData *servData=NULL) |
| 构造函数 更多...
|
|
virtual int | run (void *runParam) |
| 运行处理 更多...
|
|
| App (winux::Configure &conf, struct xAppServerData *servData=NULL) |
| 构造函数 更多...
|
|
virtual | ~App () |
|
virtual ErrorCode | execWebMain (Response *rsp, void *runParam, int *retCode) |
| 执行生成页面内容的过程 更多...
|
|
ErrorCode | importDoFile (winux::String const &doFile, Response *rsp, void *runParam, int *retCode, winux::String *errDetail) |
| import一个do文件,并把它的输出作为指定rsp的输出 更多...
|
|
int | loadedDoFiles (winux::Mixed *arrDoFiles) const |
| 产品模式下,显示所有已经加载的do文件 更多...
|
|
bool | unloadDoFile (winux::String const &doFullPath) |
| 卸载指定的do文件,如果是当前页面则不会释放 更多...
|
|
winux::DllLoader & | loadModule (winux::String const &modFile) |
| 加载一个模块,若已经加载则返回其引用. 更多...
|
|
int | loadedModules (winux::Mixed *arrModules) const |
| 显示已经加载的模块 更多...
|
|
bool | unloadModule (winux::String const &modFile) |
| 卸载一个模块 更多...
|
|
void * | getParam () const |
| 取得do传递的参数 更多...
|
|
template<typename _Ty > |
_Ty | getParam () const |
| 取得do传递的参数 更多...
|
|
void | setParam (void *param) |
| 设置do传递参数 更多...
|
|
void * | getRunParam () const |
| 取得从run()传进的参数 更多...
|
|
template<typename _Ty > |
_Ty | getRunParam () const |
| 取得从run()传进的参数 更多...
|
|
struct xAppServerData * | getServerData () |
| 取得服务器程序定义的相关数据 更多...
|
|
void | setServerData (struct xAppServerData *data) |
| 设置服务器程序定义的相关数据 更多...
|
|
SessionServer * | getSessServ () |
| 取得SessionServer 更多...
|
|
void | setSessServ (SessionServer *sessServ) |
| 设置SessionServer 更多...
|
|
|
enum | ErrorCode { Err_Success,
Err_DoFileNotFound,
Err_WebMainNotFound,
Err_InfiniteRecursion
} |
| 执行do文件的错误码 更多...
|
|
winux::Configure & | config |
| 配置 更多...
|
|
typedef int(* | PFN_WebMain) (Response *, void *) |
| do文件中WebMain()的类型 更多...
|
|
typedef winux::DllLoader::Function< PFN_WebMain > | WebMainFunc |
| WebMain函数对象类型 更多...
|
|
ErrorCode | _importDoFileDevelopment (winux::String const &doFullPath, Response *rsp, void *runParam, int *retCode, winux::String *errDetail) |
|
ErrorCode | _importDoFileProduction (winux::String const &doFullPath, Response *rsp, void *runParam, int *retCode, winux::String *errDetail) |
|
SessionServer * | _sessServ |
| SessionServer. 更多...
|
|
void * | _runParam |
| 来自run()传递进来的参数 更多...
|
|
void * | _param |
| 来自setParam()传递进来的参数 更多...
|
|
struct xAppServerData * | _servData |
| 创建App对象的程序传递进来的结构。定义是自定的,所在于全局名称空间::,可通过头文件定义结构再通过包含头文件去使用 更多...
|
|
std::map< winux::String, winux::SimplePointer< winux::DllLoader > > | _loadedDlls |
| 已经加载的dll 更多...
|
|
std::map< winux::String, WebMainFunc > | _loadedWebMainFuncs |
| 已经取得的WebMain()指针 更多...
|
|
winux::StringArray | _importDoPaths |
| 防importDoFile()无穷递归 更多...
|
|
bool | _isProduction |
| 指示是否以产品模式运行 更多...
|
|
winux::int64 | _maxUrlencodedPostSize |
| application/x-www-form-urlencoded 表单POST发送数据的最大大小 更多...
|
|
winux::int64 | _maxMultiFormPostSize |
| multipart/form-data 多部分表单POST发送数据的最大大小 更多...
|
|
winux::String | _uploadTmpPath |
| 上传文件的临时目录 更多...
|
|
FCGI App类
以FastCGI模式运行
在文件 webx_FcgiApp.hpp 第 9 行定义.