ZFFramework
 
Loading...
Searching...
No Matches
ZFDebugServer.h
Go to the documentation of this file.
1
5
6#ifndef _ZFI_ZFDebugServer_h_
7#define _ZFI_ZFDebugServer_h_
8
9#include "ZFAppUtilDef.h"
11
44 , ZFMP_IN(zfuint, port)
45 )
46
47
49 , ZFMP_IN(const zfstring &, url)
50 , ZFMP_IN(const zfstring &, luaCode)
51 , ZFMP_IN_OPT(const ZFListener &, callback, zfnull)
52 )
53
56 , ZFMP_IN(const zfstring &, url)
57 , ZFMP_IN(const ZFInput &, luaCode)
58 , ZFMP_IN_OPT(const ZFListener &, callback, zfnull)
59 )
60
62#endif // #ifndef _ZFI_ZFDebugServer_h_
63
global header for ZFAppUtil module
#define ZFLIB_ZFAppUtil
used to export symbols
Definition ZFAppUtilDef.h:22
#define zfnull
same as NULL, defined for future use
Definition ZFCoreTypeDef_CoreType.h:88
_ZFT_t_zfuint zfuint
same as unsigned int, see zfindex
Definition ZFCoreTypeDef_CoreType.h:169
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
zfautoT< ZFHttpServer > ZFDebugServer(zfuint port)
util to start a debug http server that can receive and run lua code from remote
zfautoT< ZFTaskId > ZFDebugClient(const zfstring &url, const zfstring &luaCode, const ZFListener &callback=(zft_zfnull))
see ZFDebugServer
#define ZFMP_IN_OPT(ParamType, paramName, DefaultValue)
see ZFMP_IN
Definition ZFMethod.h:108
#define ZFMP_IN(ParamType, paramName)
macro to wrap param types for ZFMETHOD_INLINE_0 series
Definition ZFMethod.h:105
#define ZFMETHOD_FUNC_DECLARE_3(ZFLIB_, ReturnType, MethodName, ZFMP_0, ZFMP_1, ZFMP_2)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:910
#define ZFMETHOD_FUNC_DECLARE_1(ZFLIB_, ReturnType, MethodName, ZFMP_0)
see ZFMETHOD_FUNC_DECLARE_0
Definition ZFMethodFuncDeclare.h:624
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
general input callback
Definition ZFIOCallback_input.h:36
listener as ZFCallback, mostly used by ZFObject::observerNotify
Definition ZFObjectObserver.h:30
abstract task id
Definition ZFTaskId.h:16
type restrict version of zfauto
Definition zfautoFwd.h:113