theLink 10.0
Loading...
Searching...
No Matches
MqContextC_py.c File Reference

tag: nhi1-release-250425 More...

+ Include dependency graph for MqContextC_py.c:

Go to the source code of this file.

Macros

#define META_FILE_NAME   "MqContextC_py.c"
 
#define OT_CLASS   (&NS(MqContextCR))
 
#define OT_CLASS_NAME   "MqContextC"
 
#define OT_LNG2META(O)
 
#define OT_retObj_CONSTR(mng)
 
#define OT_SETUP_hdl   OT_SETUP_hdl_tmpl(MqContextC)
 
#define OT_SETUP_hdl__null_allow   OT_SETUP_hdl_tmpl__null_allow(MqContextC)
 
#define OT_SETUP_hdl_constr
 
#define OT_SETUP_hdl_destr   OT_SETUP_hdl_tmpl__null_allow(MqContextC)
 
#define OT_SETUP_hdl_static
 
#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static
 
#define SetupRtFromObj_X(hdl)
 
#define SetupRtFromObj_XN(hdl)
 
#define MqContextCTT   MQ(MqMsgqueThreadState).MqContextCTT
 
#define ClassInit
 
#define META_CONTEXT_S   hdl
 
#define ClassFactoryGet_doc   "MqFactoryC ctx.ClassFactoryGet() (const)"
 
#define ClassFactorySet_doc   "ctx.ClassFactorySet(item:MqFactoryC)"
 
#define ClassIdentGet_doc   "string ctx.ClassIdentGet() (const)"
 
#define ClassIdentSet_doc   "ctx.ClassIdentSet(ident:string)"
 
#define ClassOriginalIdentGet_doc   "string ctx.ClassOriginalIdentGet() (const)"
 
#define ConfigGetIoTcpL_doc   "MkBufferListC ctx.ConfigGetIoTcpL()"
 
#define ConfigCheckStartAs_doc   "bool ctx.ConfigCheckStartAs(data:MqStartE)"
 
#define ConfigGetBuffersize_doc   "int32 ctx.ConfigGetBuffersize() (const)"
 
#define ConfigGetIdentFrom_doc   "MqIdentE ctx.ConfigGetIdentFrom()"
 
#define ConfigGetIoPipe_doc   "int32 ctx.ConfigGetIoPipe()"
 
#define ConfigGetIoUds_doc   "string ctx.ConfigGetIoUds() (const)"
 
#define ConfigGetIsParent_doc   "bool ctx.ConfigGetIsParent()"
 
#define ConfigGetIsServer_doc   "bool ctx.ConfigGetIsServer()"
 
#define ConfigGetIsString_doc   "bool ctx.ConfigGetIsString()"
 
#define ConfigGetName_doc   "string ctx.ConfigGetName() (const)"
 
#define ConfigGetPkgsize_doc   "int32 ctx.ConfigGetPkgsize() (const)"
 
#define ConfigGetPostfix_doc   "string ctx.ConfigGetPostfix() (const)"
 
#define ConfigGetPrefix_doc   "string ctx.ConfigGetPrefix() (const)"
 
#define ConfigGetStartAs_doc   "MqStartE ctx.ConfigGetStartAs()"
 
#define ConfigGetStatusIs_doc   "MqStatusIsEF ctx.ConfigGetStatusIs()"
 
#define ConfigGetStorage_doc   "string ctx.ConfigGetStorage() (const)"
 
#define ConfigGetTimeout_doc   "MkTimeoutE|int32 ctx.ConfigGetTimeout() (const)"
 
#define ConfigReset_doc   "ctx.ConfigReset()"
 
#define ConfigSetAllDebug_doc   "ctx.ConfigSetAllDebug(data:int32)"
 
#define ConfigSetBgError_doc   "ctx.ConfigSetBgError(?callback:callable=None?)"
 
#define ConfigSetBuffersize_doc   "ctx.ConfigSetBuffersize(data:int32)"
 
#define ConfigSetConfigFile_doc   "ctx.ConfigSetConfigFile(filename:string)"
 
#define ConfigSetDaemon_doc   "ctx.ConfigSetDaemon(pidfile:string)"
 
#define ConfigSetEvent_doc   "ctx.ConfigSetEvent(?callback:callable=None?)"
 
#define ConfigSetIdentFrom_doc   "ctx.ConfigSetIdentFrom(data:MqIdentE)"
 
#define ConfigSetIgnoreExit_doc   "ctx.ConfigSetIgnoreExit(data:bool)"
 
#define ConfigSetIoPipe_doc   "ctx.ConfigSetIoPipe(fh:int32)"
 
#define ConfigSetIoTcp_doc   "ctx.ConfigSetIoTcp(?host:string=\"None\"?, ?port:string=\"None\"?, ?myhost:string=\"None\"?, ?myport:string=\"None\"?)"
 
#define ConfigSetIoTcpL_doc   "ctx.ConfigSetIoTcpL(vals:MkBufferListC)"
 
#define ConfigSetIoUds_doc   "ctx.ConfigSetIoUds(file:string)"
 
#define ConfigSetIsServer_doc   "ctx.ConfigSetIsServer(data:bool)"
 
#define ConfigSetIsString_doc   "ctx.ConfigSetIsString(data:bool)"
 
#define ConfigSetName_doc   "ctx.ConfigSetName(data:string)"
 
#define ConfigSetPkgsize_doc   "ctx.ConfigSetPkgsize(data:int32)"
 
#define ConfigSetPostfix_doc   "ctx.ConfigSetPostfix(data:string)"
 
#define ConfigSetPrefix_doc   "ctx.ConfigSetPrefix(data:string)"
 
#define ConfigSetServerCleanup_doc   "ctx.ConfigSetServerCleanup(?callback:callable=None?)"
 
#define ConfigSetServerSetup_doc   "ctx.ConfigSetServerSetup(?callback:callable=None?)"
 
#define ConfigSetStartAs_doc   "ctx.ConfigSetStartAs(data:MqStartE)"
 
#define ConfigSetStartAsString_doc   "ctx.ConfigSetStartAsString(data:string)"
 
#define ConfigSetStorage_doc   "ctx.ConfigSetStorage(data:string)"
 
#define ConfigSetTimeout_doc   "ctx.ConfigSetTimeout(data:MkTimeoutE|int32)"
 
#define ConfigGetIoTcp_doc   "{host:string port:string myhost:string myport:string} ctx.ConfigGetIoTcp()"
 
#define Create_doc   "MqContextC MqContextC.Create(?tmpl:MqContextC=None?)"
 
#define new_doc   "MqContextC MqContextC.new(?tmpl:MqContextC=None?)"
 
#define GetNull_doc   "MqContextC MqContextC.GetNull()"
 
#define HandleResolve_doc   "MqContextC MqContextC.HandleResolve(netHdl:MK_HDL)"
 
#define Instances_doc   "MqContextC MqContextC.Instances()"
 
#define ErrorFORMAT_doc   "MkErrorC fmtobj.ErrorFORMAT() (const)"
 
#define GetBuffer_doc   "MkBufferC ctx.GetBuffer()"
 
#define Next_doc   "MqContextC ctx.Next()"
 
#define Prev_doc   "MqContextC ctx.Prev()"
 
#define ErrorCopy_doc   "MkErrorE targetCtx.ErrorCopy(sourceCtx:MqContextC) (const)"
 
#define ErrorMove_doc   "MkErrorE targetCtx.ErrorMove(sourceCtx:MqContextC) (const)"
 
#define LogConfig_doc   "ctx.LogConfig(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)"
 
#define LogEnv_doc   "ctx.LogEnv(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)"
 
#define LogLink_doc   "ctx.LogLink(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)"
 
#define LogSetup_doc   "ctx.LogSetup(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)"
 
#define LogShort_doc   "ctx.LogShort(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?, ?label:string=\"None\"?) (const)"
 
#define LogType_doc   "ctx.LogType(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)"
 
#define EnvProtect_doc   "ctx.EnvProtect()"
 
#define EnvRestore_doc   "ctx.EnvRestore()"
 
#define Exit_doc   "int32 ctx.Exit(?callfunc:string=\"MK_NULL\"?, ?callfile:string=\"MK_NULL\"?, ?callline:int32=-1?)"
 
#define GetRoot_doc   "MqContextC ctx.GetRoot()"
 
#define LinkGetParent_doc   "MqContextC ctx.LinkGetParent()"
 
#define LinkConnect_doc   "ctx.LinkConnect()"
 
#define LinkCreate_doc   "ctx.LinkCreate(?args:MkBufferListC...=None?)"
 
#define LinkCreateChild_doc   "ctx.LinkCreateChild(parent:MqContextC, ?args:MkBufferListC...=None?)"
 
#define LinkDelete_doc   "ctx.LinkDelete()"
 
#define LinkGetCtxId_doc   "int32 ctx.LinkGetCtxId()"
 
#define LinkGetTargetIdent_doc   "string ctx.LinkGetTargetIdent()"
 
#define LinkIsConnected_doc   "bool ctx.LinkIsConnected()"
 
#define LinkIsParent_doc   "bool ctx.LinkIsParent()"
 
#define LinkShutdown_doc   "ctx.LinkShutdown()"
 
#define LogParentOrChild_doc   "string ctx.LogParentOrChild() (const)"
 
#define LogServerOrClient_doc   "string ctx.LogServerOrClient() (const)"
 
#define ProcessEvent_doc   "ctx.ProcessEvent(?wait:MqWaitOnEventE=NO?, ?timeout:MkTimeoutE|int32=DEFAULT?)"
 
#define ProxyForward_doc   "sourceCtx.ProxyForward(targetCtx:MqContextC, ?dump:MqDumpC=None?, ?timeout:MkTimeoutE|int32=DEFAULT?)"
 
#define ProxyItem_doc   "sourceCtx.ProxyItem(targetCtx:MqContextC)"
 
#define ReadALL_doc   "MkBufferListC ctx.ReadALL(?val_inout:MkBufferListC=None?)"
 
#define ReadBFL_doc   "MkBufferListC ctx.ReadBFL()"
 
#define ReadBUF_doc   "MkBufferC ctx.ReadBUF()"
 
#define ReadDbg_doc   "ctx.ReadDbg()"
 
#define ReadGetNextType_doc   "MkTypeE ctx.ReadGetNextType()"
 
#define ReadGetNumItems_doc   "int32 ctx.ReadGetNumItems()"
 
#define ReadItemExists_doc   "bool ctx.ReadItemExists()"
 
#define ReadL_END_doc   "ctx.ReadL_END()"
 
#define ReadL_START_doc   "ctx.ReadL_START(?buf:MkBufferC=None?)"
 
#define ReadT_END_doc   "ctx.ReadT_END()"
 
#define ReadT_START_doc   "ctx.ReadT_START()"
 
#define ReadUndo_doc   "ctx.ReadUndo()"
 
#define ReadBIN_doc   "binary ctx.ReadBIN()"
 
#define ReadBOL_doc   "bool ctx.ReadBOL()"
 
#define ReadBinaryR_doc   "binary ctx.ReadBinaryR()"
 
#define ReadDBL_doc   "double ctx.ReadDBL()"
 
#define ReadFLT_doc   "float ctx.ReadFLT()"
 
#define ReadHDL_doc   "MK_HDL ctx.ReadHDL()"
 
#define ReadI16_doc   "int16 ctx.ReadI16()"
 
#define ReadI32_doc   "int32 ctx.ReadI32()"
 
#define ReadI64_doc   "int64 ctx.ReadI64()"
 
#define ReadI8_doc   "int8 ctx.ReadI8()"
 
#define ReadLIST_doc   "[list...] ctx.ReadLIST()"
 
#define ReadLONG_doc   "long ctx.ReadLONG()"
 
#define ReadNEXT_doc   "obj ctx.ReadNEXT()"
 
#define ReadSTR_doc   "string ctx.ReadSTR()"
 
#define ReadStringR_doc   "string ctx.ReadStringR()"
 
#define RouteGetTree_doc   "MkBufferListC ctx.RouteGetTree()"
 
#define RouteCreate_doc   "ctx.RouteCreate(route:string, service:string, ?overwrite:bool=false?)"
 
#define RouteDelete_doc   "ctx.RouteDelete(route:string, service:string, ?overwrite:bool=false?)"
 
#define RouteResolve_doc   "[MqContextC...] ctx.RouteResolve(ident:string, ?retnum:int32=-1?)"
 
#define RouteTraverse_doc   "ctx.RouteTraverse(service:string, ?args:MkBufferListC...=None?)"
 
#define RouteGetPath_doc   "string ctx.RouteGetPath()"
 
#define Send_doc   "ctx.Send(cstr:string, args:args...)"
 
#define SendBFL_doc   "ctx.SendBFL(val:MkBufferListC)"
 
#define SendBIN_doc   "ctx.SendBIN(val:binary)"
 
#define SendBOL_doc   "ctx.SendBOL(val:bool)"
 
#define SendBUF_doc   "ctx.SendBUF(val:MkBufferC)"
 
#define SendBUS_FLAT_doc   "ctx.SendBUS_FLAT(val:MkBufferStreamC)"
 
#define SendBinaryR_doc   "ctx.SendBinaryR(val:binary)"
 
#define SendDBL_doc   "ctx.SendDBL(val:double)"
 
#define SendEND_doc   "ctx.SendEND(token:string[4], ?timeout:MkTimeoutE|int32=DEFAULT?)"
 
#define SendEND_AND_CALLBACK_doc   "ctx.SendEND_AND_CALLBACK(token:string[4], callback:callable, ?timeout:MkTimeoutE|int32=DEFAULT?)"
 
#define SendEND_AND_SUB_doc   "ctx.SendEND_AND_SUB(token:string[4], callback:callable, ?timeout:MkTimeoutE|int32=DEFAULT?)"
 
#define SendEND_AND_TRANSACTION_doc   "ctx.SendEND_AND_TRANSACTION(token:string[4], callback:string[4], ?timeout:MkTimeoutE|int32=DEFAULT?)"
 
#define SendEND_AND_WAIT_doc   "ctx.SendEND_AND_WAIT(token:string[4], ?timeout:MkTimeoutE|int32=DEFAULT?)"
 
#define SendERROR_doc   "ctx.SendERROR()"
 
#define SendFLT_doc   "ctx.SendFLT(val:float)"
 
#define SendHDL_doc   "ctx.SendHDL(val:MK_HDL)"
 
#define SendI16_doc   "ctx.SendI16(val:int16)"
 
#define SendI32_doc   "ctx.SendI32(val:int32)"
 
#define SendI64_doc   "ctx.SendI64(val:int64)"
 
#define SendI8_doc   "ctx.SendI8(val:int8)"
 
#define SendLONG_doc   "ctx.SendLONG(val:long)"
 
#define SendLTR_doc   "ctx.SendLTR(transLId:int32)"
 
#define SendL_END_doc   "ctx.SendL_END()"
 
#define SendL_FLAT_doc   "ctx.SendL_FLAT(val:MkBufferListC)"
 
#define SendL_START_doc   "ctx.SendL_START()"
 
#define SendRETURN_doc   "ctx.SendRETURN()"
 
#define SendRETURN_SUB_doc   "ctx.SendRETURN_SUB()"
 
#define SendSTART_doc   "ctx.SendSTART()"
 
#define SendSTR_doc   "ctx.SendSTR(val:string)"
 
#define SendSYNC_doc   "ctx.SendSYNC()"
 
#define SendStringR_doc   "ctx.SendStringR(val:string)"
 
#define SendT_END_doc   "ctx.SendT_END()"
 
#define SendT_START_doc   "ctx.SendT_START()"
 
#define ServiceCreate_doc   "ctx.ServiceCreate(token:string[4], callback:callable)"
 
#define ServiceDelete_doc   "ctx.ServiceDelete(token:string[4])"
 
#define ServiceIsTransaction_doc   "bool ctx.ServiceIsTransaction()"
 
#define ServiceProxy_doc   "ctx.ServiceProxy(token:string[4], ?id:MqSlaveE|int32=MQ_SLAVE_OTHER?)"
 
#define ServiceProxyCtx_doc   "ctx.ServiceProxyCtx(token:string[4], target:MqContextC)"
 
#define ServiceProxyCtxExists_doc   "bool ctx.ServiceProxyCtxExists(token:string[4], target:MqContextC)"
 
#define ServiceProxyRoundRobin_doc   "ctx.ServiceProxyRoundRobin(token:string[4], ident:string)"
 
#define ServiceStorage_doc   "ctx.ServiceStorage(token:string[4])"
 
#define ServiceTokenCheck_doc   "bool ctx.ServiceTokenCheck(token:string[4])"
 
#define ServiceTokenExists_doc   "bool ctx.ServiceTokenExists(token:string[4])"
 
#define ServiceTokenGet_doc   "string[4] ctx.ServiceTokenGet()"
 
#define SlaveGetMaster_doc   "MqContextC ctx.SlaveGetMaster()"
 
#define SlaveGet_doc   "MqContextC ctx.SlaveGet(id:MqSlaveE|int32)"
 
#define SlaveGetFilter_doc   "MqContextC ctx.SlaveGetFilter()"
 
#define SlaveGetProxy_doc   "MqContextC ctx.SlaveGetProxy(id:MqSlaveE|int32)"
 
#define SlaveCheck_doc   "bool ctx.SlaveCheck(id:MqSlaveE|int32) (const)"
 
#define SlaveCreate_doc   "ctx.SlaveCreate(id:MqSlaveE|int32, slave:MqContextC)"
 
#define SlaveDelete_doc   "ctx.SlaveDelete(id:MqSlaveE|int32)"
 
#define SlaveIs_doc   "bool ctx.SlaveIs() (const)"
 
#define SlaveWorker_doc   "ctx.SlaveWorker(id:MqSlaveE|int32, ?fct:string=\"WORKER\"?, ?args:MkBufferListC...=None?)"
 
#define StorageDelete_doc   "int32 ctx.StorageDelete(?*transLIdP_inout:int32=0?)"
 
#define StorageImport_doc   "int32 ctx.StorageImport(?*transLIdP_inout:int32=0?)"
 
#define StorageClose_doc   "ctx.StorageClose()"
 
#define StorageDecrRef_doc   "ctx.StorageDecrRef(transLId:int32)"
 
#define StorageIncrRef_doc   "ctx.StorageIncrRef(transLId:int32)"
 
#define StorageLog_doc   "ctx.StorageLog(?callfunc:string=\"MK_NULL\"?)"
 
#define StorageOpen_doc   "ctx.StorageOpen(storageFile:string)"
 
#define StorageCount_doc   "int32 ctx.StorageCount()"
 
#define StorageErrCnt_doc   "int32 ctx.StorageErrCnt(transLId:int32)"
 
#define StorageExport_doc   "int32 ctx.StorageExport()"
 
#define StorageResolve_doc   "{otherCtxP:MqContextC otherLIdP:int32} ctx.StorageResolve()"
 
#define Send_doc   Send_doc_extra
 
#define Debug_doc   "None ctx.Debug(prefix:str, obj=self:object)"
 
#define MqContextC_Doc   "The pymqmsgque project is an infrastructure to link software together to\n\act like a single software. To link mean distributing work from one\n\software to an other software an wait or not wait for an answer. The\n\linking is done using unix or inet domain sockets and is based on\n\packages send from one software to an other software and back. The\n\pymqmsgque project is used to handle all the different aspects for setup\n\and maintain the link and is responsible for:\n\\n\o starting and stopping the server application\n\o starting and stopping the communication interface\n\o sending and receiving package data\n\o reading and writing data from or into a package\n\o setup and maintain the event-handling for an asynchronous transfer\n\o propagate the error messages from the server to the client"
 

Functions

static OT_OBJ_T pymqmsgque_MqContextC_CTOR (MK_RT mkrt, OT_CLS_T type, MQ_CTX hdl)
 
static MK_PTR pymqmsgque_MqContextC_selfCreate (MK_RT mkrt, MK_OBJ const obj, MK_PTR const env)
 
static void pymqmsgque_MqContextC_selfDelete (MK_RT mkrt, MK_PTR self, MK_PTR const env)
 
static void pymqmsgque_MqContextC_selfUnlink (MK_RT mkrt, MK_PTR self, MK_PTR const env)
 
PyObject * pymqmsgque_MqContextC_ReadNEXT (MqContextC_ARGS)
  Python: obj ctx.ReadNEXT() C-API
get the next argument as native object …
 
PyObject * pymqmsgque_MqContextC_ReadLIST (MqContextC_ARGS)
  Python: [list...] ctx.ReadLIST() C-API
get all arguments as native list …
 
static PyObject * pymqmsgque_MqContextC_Debug (MqContextC_ARGS)
 
static PyObject * pymqmsgque_MqContextC_Debug2 (MqContextC_ARGS)
 
static OT_ProcRet pymqmsgque_MqContextC_HandleResolve (OtClass_ARGS)
  Python: [static] MqContextC MqContextC.HandleResolve(netHdl:MK_HDL) C-API
Handle-Resolve-Slot - return a MqContextC from netHdl or None if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet pymqmsgque_MqContextC_HandleGet (MqContextC_ARGS)
 
static OT_ProcRet pymqmsgque_MqContextC_Next (MqContextC_ARGS)
  Python: MqContextC ctx.Next() C-API
get next instance from linked-list of MqContextS type
 
static OT_ProcRet pymqmsgque_MqContextC_Prev (MqContextC_ARGS)
  Python: MqContextC ctx.Prev() C-API
get previous instance from linked-list of MqContextS type
 
static OT_ProcRet pymqmsgque_MqContextC_Instances (OtClass_ARGS)
  Python: [static] MqContextC MqContextC.Instances() C-API
get head-instance from linked-list of MqContextS type …
 
static OT_ProcRet pymqmsgque_MqContextC_GetNull (OtClass_ARGS)
  Python: [static] MqContextC MqContextC.GetNull() C-API
Null-Slot - return a MqContextC typed NULL instance …
 
static OT_ProcRet pymqmsgque_MqContextC_ClassFactoryGet (MqContextC_ARGS)
  Python: MqFactoryC ctx.ClassFactoryGet() C-API
get the MqFactoryC used by the MqContextC
 
static OT_ProcRet pymqmsgque_MqContextC_ClassFactorySet (MqContextC_ARGS)
  Python: ctx.ClassFactorySet(item:MqFactoryC) C-API
link the MqContextC to a new MqFactoryC
 
static OT_ProcRet pymqmsgque_MqContextC_ClassIdentGet (MqContextC_ARGS)
  Python: string ctx.ClassIdentGet() C-API
get the application-identification
 
static OT_ProcRet pymqmsgque_MqContextC_ClassIdentSet (MqContextC_ARGS)
  Python: ctx.ClassIdentSet(ident:string) C-API
link the MqContextC to a new MqFactoryC identified by ident
 
static OT_ProcRet pymqmsgque_MqContextC_ClassOriginalIdentGet (MqContextC_ARGS)
  Python: string ctx.ClassOriginalIdentGet() C-API
get the MqFactoryS::originalIdent from the MqContextC
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIoTcpL (MqContextC_ARGS)
  Python: MkBufferListC ctx.ConfigGetIoTcpL() C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetBuffersize (MqContextC_ARGS)
  Python: int32 ctx.ConfigGetBuffersize() C-API
get the minimum of the read/send buffersize of the socket
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIdentFrom (MqContextC_ARGS)
  Python: MqIdentE ctx.ConfigGetIdentFrom() C-API
get the MqConfigS::identFrom
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIoPipe (MqContextC_ARGS)
  Python: int32 ctx.ConfigGetIoPipe() C-API
return the MqIoPipeConfigS
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIoUds (MqContextC_ARGS)
  Python: string ctx.ConfigGetIoUds() C-API
return the MqIoUdsConfigS
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIsParent (MqContextC_ARGS)
  Python: bool ctx.ConfigGetIsParent() C-API
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is None
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIsServer (MqContextC_ARGS)
  Python: bool ctx.ConfigGetIsServer() C-API
does the context object is a server ?
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIsString (MqContextC_ARGS)
  Python: bool ctx.ConfigGetIsString() C-API
does the context object is using the string-mode ?
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetName (MqContextC_ARGS)
  Python: string ctx.ConfigGetName() C-API
get the name of the context object
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetPkgsize (MqContextC_ARGS)
  Python: int32 ctx.ConfigGetPkgsize() C-API
get the maximun size of a BDY package
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetPostfix (MqContextC_ARGS)
  Python: string ctx.ConfigGetPostfix() C-API
get the MqConfigS::dispPostfix
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetPrefix (MqContextC_ARGS)
  Python: string ctx.ConfigGetPrefix() C-API
get the MqConfigS::dispPrefix
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetStartAs (MqContextC_ARGS)
  Python: MqStartE ctx.ConfigGetStartAs() C-API
return the MqConfigS::startAs value
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetStatusIs (MqContextC_ARGS)
  Python: MqStatusIsEF ctx.ConfigGetStatusIs() C-API
return the MqContextS::statusIs value
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetStorage (MqContextC_ARGS)
  Python: string ctx.ConfigGetStorage() C-API
get the storage of the context object
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetTimeout (MqContextC_ARGS)
  Python: MkTimeoutE|int32 ctx.ConfigGetTimeout() C-API
get the timeout value of the context object
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetConfigFile (MqContextC_ARGS)
  Python: ctx.ConfigSetConfigFile(filename:string) C-API
set the config-file and parse for well-known config-items
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIoTcp (MqContextC_ARGS)
  Python: {host:string port:string myhost:string myport:string} ctx.ConfigGetIoTcp() C-API
get the configuration-data of the tcp-client-server-link
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetBgError (MqContextC_ARGS)
  Python: ctx.ConfigSetBgError(?callback:callable=None?) C-API
set the MqSetupS::BgError
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetEvent (MqContextC_ARGS)
  Python: ctx.ConfigSetEvent(?callback:callable=None?) C-API
set the MqSetupS::Event
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetServerCleanup (MqContextC_ARGS)
  Python: ctx.ConfigSetServerCleanup(?callback:callable=None?) C-API
set the MqSetupS::ServerCleanup
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetServerSetup (MqContextC_ARGS)
  Python: ctx.ConfigSetServerSetup(?callback:callable=None?) C-API
set the MqSetupS::ServerSetup
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigReset (MqContextC_ARGS)
  Python: ctx.ConfigReset() C-API
clean the MqContextS::config data
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigCheckStartAs (MqContextC_ARGS)
  Python: bool ctx.ConfigCheckStartAs(data:MqStartE) C-API
check if MqConfigS::startAs can be set to data
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetAllDebug (MqContextC_ARGS)
  Python: ctx.ConfigSetAllDebug(data:int32) C-API
set the MkRuntimeS::debug value
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetBuffersize (MqContextC_ARGS)
  Python: ctx.ConfigSetBuffersize(data:int32) C-API
set the MqIoConfigS::buffersize value
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetDaemon (MqContextC_ARGS)
  Python: ctx.ConfigSetDaemon(pidfile:string) C-API
start the server-context as daemon …
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetIdentFrom (MqContextC_ARGS)
  Python: ctx.ConfigSetIdentFrom(data:MqIdentE) C-API
set the MqConfigS::identFrom value
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetIgnoreExit (MqContextC_ARGS)
  Python: ctx.ConfigSetIgnoreExit(data:bool) C-API
set the MqSetupS::ignoreExit value
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetIoPipe (MqContextC_ARGS)
  Python: ctx.ConfigSetIoPipe(fh:int32) C-API
set the pipe configuration data …
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetIoTcp (MqContextC_ARGS)
  Python: ctx.ConfigSetIoTcp(?host:string="None"?, ?port:string="None"?, ?myhost:string="None"?, ?myport:string="None"?) C-API
configure a context to use a tcp-client-server-link
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetIoTcpL (MqContextC_ARGS)
  Python: ctx.ConfigSetIoTcpL(vals:MkBufferListC) C-API
configure a context to use a tcp-client-server-link
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetIoUds (MqContextC_ARGS)
  Python: ctx.ConfigSetIoUds(file:string) C-API
configure a context to use a uds-client-server-link
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetIsServer (MqContextC_ARGS)
  Python: ctx.ConfigSetIsServer(data:bool) C-API
set the MqSetupS::isServer value
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetIsString (MqContextC_ARGS)
  Python: ctx.ConfigSetIsString(data:bool) C-API
set the MqConfigS::native value 'S'string or 'L'owEndian or 'B'igEndian
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetName (MqContextC_ARGS)
  Python: ctx.ConfigSetName(data:string) C-API
set the MqConfigS::dispName value and cleanup old value
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetPkgsize (MqContextC_ARGS)
  Python: ctx.ConfigSetPkgsize(data:int32) C-API
set the MqIoConfigS::pkgsize value
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetPostfix (MqContextC_ARGS)
  Python: ctx.ConfigSetPostfix(data:string) C-API
set the client-part (2) of the application-identifer MqConfigS::dispName
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetPrefix (MqContextC_ARGS)
  Python: ctx.ConfigSetPrefix(data:string) C-API
set the server-part (1) of the application-identifer MqConfigS::dispName
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetStartAs (MqContextC_ARGS)
  Python: ctx.ConfigSetStartAs(data:MqStartE) C-API
set the MqConfigS::startAs value
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetStartAsString (MqContextC_ARGS)
  Python: ctx.ConfigSetStartAsString(data:string) C-API
set the MqConfigS::startAs value using string default, thread, fork or spawn
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetStorage (MqContextC_ARGS)
  Python: ctx.ConfigSetStorage(data:string) C-API
set the Storage value and cleanup old value
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetTimeout (MqContextC_ARGS)
  Python: ctx.ConfigSetTimeout(data:MkTimeoutE|int32) C-API
set the MqIoConfigS::timeout value
 
static OT_ProcRet pymqmsgque_MqContextC_EnvProtect (MqContextC_ARGS)
  Python: ctx.EnvProtect() C-API
protect the service-environment
 
static OT_ProcRet pymqmsgque_MqContextC_EnvRestore (MqContextC_ARGS)
  Python: ctx.EnvRestore() C-API
restore the service-environment
 
static OT_ProcRet pymqmsgque_MqContextC_ErrorFORMAT (MqContextC_ARGS)
  Python: MkErrorC fmtobj.ErrorFORMAT() C-API
helper used to access MkErrorDEFAULT from MqContextC
 
OT_ProcRet pymqmsgque_MqContextC_ErrorCopy (MqContextC_ARGS)
  Python: MkErrorE targetCtx.ErrorCopy(sourceCtx:MqContextC) C-API
copy a MkErrorS from the sourceCtx to the targetCtx
 
OT_ProcRet pymqmsgque_MqContextC_ErrorMove (MqContextC_ARGS)
  Python: MkErrorE targetCtx.ErrorMove(sourceCtx:MqContextC) C-API
move a MkErrorS from the sourceCtx to the targetCtx
 
OT_ProcRet pymqmsgque_MqContextC_Send (MqContextC_ARGS)
  Python: ctx.Send(cstr:string, args:args...) C-API
user friendly replacement for the MqContextC_SendApi_C_API
 
static OT_ProcRet pymqmsgque_MqContextC_LinkGetParent (MqContextC_ARGS)
  Python: MqContextC ctx.LinkGetParent() C-API
get the initial parent-context from a client/server link …
 
static OT_ProcRet pymqmsgque_MqContextC_LinkConnect (MqContextC_ARGS)
  Python: ctx.LinkConnect() C-API
re-connect a client-server-link after a server crash or a network downtime …
 
static OT_ProcRet pymqmsgque_MqContextC_LinkCreate (MqContextC_ARGS)
  Python: ctx.LinkCreate(?args:MkBufferListC...=None?) C-API
make ctx to a parent-context and setup a new client-server-link
 
static OT_ProcRet pymqmsgque_MqContextC_LinkCreateChild (MqContextC_ARGS)
  Python: ctx.LinkCreateChild(parent:MqContextC, ?args:MkBufferListC...=None?) C-API
make a context to a child-context on-top of an existing parent-client-server-link
 
static OT_ProcRet pymqmsgque_MqContextC_LinkDelete (MqContextC_ARGS)
  Python: ctx.LinkDelete() C-API
close the client-server-link
 
static OT_ProcRet pymqmsgque_MqContextC_LinkGetCtxId (MqContextC_ARGS)
  Python: int32 ctx.LinkGetCtxId() C-API
get an identifier which is unique per parent-or-child-context
 
static OT_ProcRet pymqmsgque_MqContextC_LinkGetTargetIdent (MqContextC_ARGS)
  Python: string ctx.LinkGetTargetIdent() C-API
get the ident of the link-target
 
static OT_ProcRet pymqmsgque_MqContextC_LinkIsConnected (MqContextC_ARGS)
  Python: bool ctx.LinkIsConnected() C-API
is the context connected? …
 
static OT_ProcRet pymqmsgque_MqContextC_LinkIsParent (MqContextC_ARGS)
  Python: bool ctx.LinkIsParent() C-API
is the context a parent-context? …
 
static OT_ProcRet pymqmsgque_MqContextC_LinkShutdown (MqContextC_ARGS)
  Python: ctx.LinkShutdown() C-API
shutdown the communication with a server
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet pymqmsgque_MqContextC_Log (MqContextC_ARGS)
 
static OT_ProcRet pymqmsgque_MqContextC_LogConfig (MqContextC_ARGS)
  Python: ctx.LogConfig(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?) C-API
log the MqContextC part MqConfigS
 
static OT_ProcRet pymqmsgque_MqContextC_LogEnv (MqContextC_ARGS)
  Python: ctx.LogEnv(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?) C-API
log the MqContextC part MqEnvS
 
static OT_ProcRet pymqmsgque_MqContextC_LogLink (MqContextC_ARGS)
  Python: ctx.LogLink(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?) C-API
log the MqContextC part MqLinkS
 
static OT_ProcRet pymqmsgque_MqContextC_LogSetup (MqContextC_ARGS)
  Python: ctx.LogSetup(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?) C-API
log the MqContextC part MqSetupS
 
static OT_ProcRet pymqmsgque_MqContextC_LogShort (MqContextC_ARGS)
  Python: ctx.LogShort(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?, ?label:string="None"?) C-API
log the MqContextC with less info then MqContextLog
 
static OT_ProcRet pymqmsgque_MqContextC_LogType (MqContextC_ARGS)
  Python: ctx.LogType(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string="MK_NULL"?, ?lvl:int32=0?) C-API
log the MqContextC part MkTypeS
 
static OT_ProcRet pymqmsgque_MqContextC_LogParentOrChild (MqContextC_ARGS)
  Python: string ctx.LogParentOrChild() C-API
is ctx a PARENT or a CHILD ? …
 
static OT_ProcRet pymqmsgque_MqContextC_LogServerOrClient (MqContextC_ARGS)
  Python: string ctx.LogServerOrClient() C-API
is ctx a SERVER or a CLIENT ? …
 
static OT_ProcRet pymqmsgque_MqContextC_GetBuffer (MqContextC_ARGS)
  Python: MkBufferC ctx.GetBuffer() C-API
get the MqContextS::ctxbuf object
 
static OT_ProcRet pymqmsgque_MqContextC_GetRoot (MqContextC_ARGS)
  Python: MqContextC ctx.GetRoot() C-API
get the Root (toplevel initial context)
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet pymqmsgque_MqContextC_ToString (MqContextC_ARGS)
 
static OT_ProcRet pymqmsgque_MqContextC_Exit (MqContextC_ARGS)
  Python: int32 ctx.Exit(?callfunc:string="MK_NULL"?, ?callfile:string="MK_NULL"?, ?callline:int32=-1?) C-API
delete the context and exit the current process or thread …
 
static OT_ProcRet pymqmsgque_MqContextC_ProcessEvent (MqContextC_ARGS)
  Python: ctx.ProcessEvent(?wait:MqWaitOnEventE=NO?, ?timeout:MkTimeoutE|int32=DEFAULT?) C-API
enter the event-loop and wait for an incoming service-request. …
 
static OT_ProcRet pymqmsgque_MqContextC_ProxyForward (MqContextC_ARGS)
  Python: sourceCtx.ProxyForward(targetCtx:MqContextC, ?dump:MqDumpC=None?, ?timeout:MkTimeoutE|int32=DEFAULT?) C-API
send the entire read-data-package-data to the link-target
 
static OT_ProcRet pymqmsgque_MqContextC_ProxyItem (MqContextC_ARGS)
  Python: sourceCtx.ProxyItem(targetCtx:MqContextC) C-API
Copy a single-data-item from the sourceCtx to the targetCtx.
 
static OT_ProcRet pymqmsgque_MqContextC_ReadALL (MqContextC_ARGS)
  Python: MkBufferListC ctx.ReadALL(?val_inout:MkBufferListC=None?) C-API
get a temporary MkBufferListC from all data in the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadBFL (MqContextC_ARGS)
  Python: MkBufferListC ctx.ReadBFL() C-API
get a temporary MkBufferListC from next list-item in the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadBUF (MqContextC_ARGS)
  Python: MkBufferC ctx.ReadBUF() C-API
get a temporary MkBufferC from the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadBIN (MqContextC_ARGS)
  Python: doc_mq_py_ReadBIN C-API
generic function to read an MK_BIN object from the read-data-package object …
 
static OT_ProcRet pymqmsgque_MqContextC_ReadBOL (MqContextC_ARGS)
  Python: doc_mq_py_ReadBOL C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadBinaryR (MqContextC_ARGS)
  Python: binary ctx.ReadBinaryR() C-API
read a MkBinaryR from the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadDBL (MqContextC_ARGS)
  Python: doc_mq_py_ReadDBL C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadFLT (MqContextC_ARGS)
  Python: doc_mq_py_ReadFLT C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadHDL (MqContextC_ARGS)
  Python: MK_HDL ctx.ReadHDL() C-API
read the handle from the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadI16 (MqContextC_ARGS)
  Python: doc_mq_py_ReadI16 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadI32 (MqContextC_ARGS)
  Python: doc_mq_py_ReadI32 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadI64 (MqContextC_ARGS)
  Python: doc_mq_py_ReadI64 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadI8 (MqContextC_ARGS)
  Python: doc_mq_py_ReadI8 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadLONG (MqContextC_ARGS)
  Python: long ctx.ReadLONG() C-API
read the long native object from the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadSTR (MqContextC_ARGS)
  Python: doc_mq_py_ReadSTR C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadStringR (MqContextC_ARGS)
  Python: string ctx.ReadStringR() C-API
read a MkStringR from the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadL_END (MqContextC_ARGS)
  Python: ctx.ReadL_END() C-API
finish to extract a list-items from the read-data-package. …
 
static OT_ProcRet pymqmsgque_MqContextC_ReadL_START (MqContextC_ARGS)
  Python: ctx.ReadL_START(?buf:MkBufferC=None?) C-API
start to extract a list-items from the read-data-package. …
 
static OT_ProcRet pymqmsgque_MqContextC_ReadT_END (MqContextC_ARGS)
  Python: ctx.ReadT_END() C-API
finish to extract a longterm-transaction-item from the read-data-package. …
 
static OT_ProcRet pymqmsgque_MqContextC_ReadT_START (MqContextC_ARGS)
  Python: ctx.ReadT_START() C-API
start to extract a longterm-transaction-item from the read-data-package. …
 
static OT_ProcRet pymqmsgque_MqContextC_ReadDbg (MqContextC_ARGS)
 internal function: MqReadDbg
 
static OT_ProcRet pymqmsgque_MqContextC_ReadGetNextType (MqContextC_ARGS)
  Python: MkTypeE ctx.ReadGetNextType() C-API
get the type (MkTypeE) of the next Item in the read-data-buffer or "0" if not available
 
static OT_ProcRet pymqmsgque_MqContextC_ReadGetNumItems (MqContextC_ARGS)
  Python: int32 ctx.ReadGetNumItems() C-API
get the number of items left in the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadItemExists (MqContextC_ARGS)
  Python: bool ctx.ReadItemExists() C-API
check if an item exists in the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadUndo (MqContextC_ARGS)
  Python: ctx.ReadUndo() C-API
undo the last MqContextC READ API function call …
 
static OT_ProcRet pymqmsgque_MqContextC_RouteGetTree (MqContextC_ARGS)
  Python: MkBufferListC ctx.RouteGetTree() C-API
create an overview about all available routing-target and services …
 
static OT_ProcRet pymqmsgque_MqContextC_RouteCreate (MqContextC_ARGS)
  Python: ctx.RouteCreate(route:string, service:string, ?overwrite:bool=false?) C-API
create/delete a routing-link between context an a service using route
 
static OT_ProcRet pymqmsgque_MqContextC_RouteDelete (MqContextC_ARGS)
  Python: ctx.RouteDelete(route:string, service:string, ?overwrite:bool=false?) C-API
delete a routing-link created with MqRouteCreate
 
static OT_ProcRet pymqmsgque_MqContextC_RouteResolve (MqContextC_ARGS)
  Python: [MqContextC...] ctx.RouteResolve(ident:string, ?retnum:int32=-1?) C-API
return a list of all context belonging to ident
 
static OT_ProcRet pymqmsgque_MqContextC_RouteTraverse (MqContextC_ARGS)
  Python: ctx.RouteTraverse(service:string, ?args:MkBufferListC...=None?) C-API
traverse a tree down and call service if available.
 
static OT_ProcRet pymqmsgque_MqContextC_RouteGetPath (MqContextC_ARGS)
  Python: string ctx.RouteGetPath() C-API
return the absolut route-connection-string up to the current ctx
 
static OT_ProcRet pymqmsgque_MqContextC_SendBFL (MqContextC_ARGS)
  Python: ctx.SendBFL(val:MkBufferListC) C-API
append a MkBufferListC object to the send-data-package object …
 
static OT_ProcRet pymqmsgque_MqContextC_SendBIN (MqContextC_ARGS)
  Python: doc_mq_py_SendBIN C-API
append a MK_BIN object to the send-data-package. …
 
static OT_ProcRet pymqmsgque_MqContextC_SendBOL (MqContextC_ARGS)
  Python: doc_mq_py_SendBOL C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_SendBUF (MqContextC_ARGS)
  Python: ctx.SendBUF(val:MkBufferC) C-API
append a MkBufferC object to the send-data-package object …
 
static OT_ProcRet pymqmsgque_MqContextC_SendBUS_FLAT (MqContextC_ARGS)
  Python: ctx.SendBUS_FLAT(val:MkBufferStreamC) C-API
append a MkBufferStreamC object to the send-data-package object …
 
static OT_ProcRet pymqmsgque_MqContextC_SendBinaryR (MqContextC_ARGS)
  Python: ctx.SendBinaryR(val:binary) C-API
append a MkBinaryR object to the send-data-package. …
 
static OT_ProcRet pymqmsgque_MqContextC_SendDBL (MqContextC_ARGS)
  Python: doc_mq_py_SendDBL C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_SendFLT (MqContextC_ARGS)
  Python: doc_mq_py_SendFLT C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_SendHDL (MqContextC_ARGS)
  Python: ctx.SendHDL(val:MK_HDL) C-API
send the handle to the send-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_SendI16 (MqContextC_ARGS)
  Python: doc_mq_py_SendI16 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_SendI32 (MqContextC_ARGS)
  Python: doc_mq_py_SendI32 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_SendI64 (MqContextC_ARGS)
  Python: doc_mq_py_SendI64 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_SendI8 (MqContextC_ARGS)
  Python: doc_mq_py_SendI8 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_SendLONG (MqContextC_ARGS)
  Python: ctx.SendLONG(val:long) C-API
send the long native object to the send-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_SendLTR (MqContextC_ARGS)
 internal function: MqSendLTR
 
static OT_ProcRet pymqmsgque_MqContextC_SendL_FLAT (MqContextC_ARGS)
  Python: ctx.SendL_FLAT(val:MkBufferListC) C-API
append a MkBufferListC object as flat list of items to the send-data-package object …
 
static OT_ProcRet pymqmsgque_MqContextC_SendSTR (MqContextC_ARGS)
  Python: doc_mq_py_SendSTR C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_SendStringR (MqContextC_ARGS)
  Python: ctx.SendStringR(val:string) C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_SendEND (MqContextC_ARGS)
  Python: ctx.SendEND(token:string[4], ?timeout:MkTimeoutE|int32=DEFAULT?) C-API
MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service
 
static OT_ProcRet pymqmsgque_MqContextC_SendEND_AND_CALLBACK (MqContextC_ARGS)
  Python: ctx.SendEND_AND_CALLBACK(token:string[4], callback:callable, ?timeout:MkTimeoutE|int32=DEFAULT?) C-API
finish the send-data-block, call the remote service, do not-wait for the result but expect the result on a callback
 
static OT_ProcRet pymqmsgque_MqContextC_SendEND_AND_SUB (MqContextC_ARGS)
  Python: ctx.SendEND_AND_SUB(token:string[4], callback:callable, ?timeout:MkTimeoutE|int32=DEFAULT?) C-API
finish the send-data-block, call the remote service, do wait for the result and expect multiple sub-results on a callback
 
static OT_ProcRet pymqmsgque_MqContextC_SendEND_AND_TRANSACTION (MqContextC_ARGS)
  Python: ctx.SendEND_AND_TRANSACTION(token:string[4], callback:string[4], ?timeout:MkTimeoutE|int32=DEFAULT?) C-API
finish the send-data-block, call the remote service to do a longterm-transaction-call
 
static OT_ProcRet pymqmsgque_MqContextC_SendEND_AND_WAIT (MqContextC_ARGS)
  Python: ctx.SendEND_AND_WAIT(token:string[4], ?timeout:MkTimeoutE|int32=DEFAULT?) C-API
finish the send-data-block, call the remote service and wait for result…
 
static OT_ProcRet pymqmsgque_MqContextC_SendSTART (MqContextC_ARGS)
  Python: ctx.SendSTART() C-API
initialize the send-data-package. …
 
static OT_ProcRet pymqmsgque_MqContextC_SendSYNC (MqContextC_ARGS)
  Python: ctx.SendSYNC() C-API
garantee that all pending asynchronous-service-calls are processed. …
 
static OT_ProcRet pymqmsgque_MqContextC_SendL_END (MqContextC_ARGS)
  Python: ctx.SendL_END() C-API
finish to append an embedded body-list-item to the send-data-package. …
 
static OT_ProcRet pymqmsgque_MqContextC_SendL_START (MqContextC_ARGS)
  Python: ctx.SendL_START() C-API
start to append an embedded body-list-item to the send-data-package. …
 
static OT_ProcRet pymqmsgque_MqContextC_SendT_END (MqContextC_ARGS)
  Python: ctx.SendT_END() C-API
closed a longterm-transaction-item
 
static OT_ProcRet pymqmsgque_MqContextC_SendT_START (MqContextC_ARGS)
  Python: ctx.SendT_START() C-API
open a longterm-transaction-item
 
static OT_ProcRet pymqmsgque_MqContextC_SendERROR (MqContextC_ARGS)
  Python: ctx.SendERROR() C-API
send the data from the MkErrorC to the link target . …
 
static OT_ProcRet pymqmsgque_MqContextC_SendRETURN (MqContextC_ARGS)
  Python: ctx.SendRETURN() C-API
MqContextC - finish the send-data-block on the server and optional return the results. …
 
static OT_ProcRet pymqmsgque_MqContextC_SendRETURN_SUB (MqContextC_ARGS)
  Python: ctx.SendRETURN_SUB() C-API
return Sub-Data-Blocks required by MqSendEND_AND_SUB
 
static OT_ProcRet pymqmsgque_MqContextC_ServiceCreate (MqContextC_ARGS)
  Python: ctx.ServiceCreate(token:string[4], callback:callable) C-API
create a link between a service-token and a service-callback
 
static OT_ProcRet pymqmsgque_MqContextC_ServiceDelete (MqContextC_ARGS)
  Python: ctx.ServiceDelete(token:string[4]) C-API
delete a service. …
 
static OT_ProcRet pymqmsgque_MqContextC_ServiceIsTransaction (MqContextC_ARGS)
  Python: bool ctx.ServiceIsTransaction() C-API
check if the ongoing-service-call belongs to a transaction …
 
static OT_ProcRet pymqmsgque_MqContextC_ServiceProxy (MqContextC_ARGS)
  Python: ctx.ServiceProxy(token:string[4], ?id:MqSlaveE|int32=MQ_SLAVE_OTHER?) C-API
create a service to link a master-context with a slave-context. …
 
static OT_ProcRet pymqmsgque_MqContextC_ServiceProxyCtx (MqContextC_ARGS)
  Python: ctx.ServiceProxyCtx(token:string[4], target:MqContextC) C-API
same as MqServiceProxy but use an MqContextC as input.
 
static OT_ProcRet pymqmsgque_MqContextC_ServiceProxyCtxExists (MqContextC_ARGS)
  Python: bool ctx.ServiceProxyCtxExists(token:string[4], target:MqContextC) C-API
check if service who belongs to token is a proxy-service
 
static OT_ProcRet pymqmsgque_MqContextC_ServiceProxyRoundRobin (MqContextC_ARGS)
  Python: ctx.ServiceProxyRoundRobin(token:string[4], ident:string) C-API
create a proxy-service using Round-Robin as load-balancer …
 
static OT_ProcRet pymqmsgque_MqContextC_ServiceStorage (MqContextC_ARGS)
  Python: ctx.ServiceStorage(token:string[4]) C-API
setup a service listen on a MqContextC_ServiceApi_Identifer and save all read-data-package into the STORAGE
 
static OT_ProcRet pymqmsgque_MqContextC_ServiceTokenCheck (MqContextC_ARGS)
  Python: bool ctx.ServiceTokenCheck(token:string[4]) C-API
in an ongoing-service-call check if the current MqContextC_ServiceApi_Identifer is token
 
static OT_ProcRet pymqmsgque_MqContextC_ServiceTokenExists (MqContextC_ARGS)
  Python: bool ctx.ServiceTokenExists(token:string[4]) C-API
check if the MqContextC_ServiceApi_Identifer token is defined as ctx service …
 
static OT_ProcRet pymqmsgque_MqContextC_ServiceTokenGet (MqContextC_ARGS)
  Python: string[4] ctx.ServiceTokenGet() C-API
in an ongoing-service-call get the current MqContextC_ServiceApi_Identifer
 
static OT_ProcRet pymqmsgque_MqContextC_SlaveGetMaster (MqContextC_ARGS)
  Python: MqContextC ctx.SlaveGetMaster() C-API
opposite function of MqSlaveGetFilter
 
static OT_ProcRet pymqmsgque_MqContextC_SlaveGet (MqContextC_ARGS)
  Python: MqContextC ctx.SlaveGet(id:MqSlaveE|int32) C-API
get the slave-context from a master-context
 
static OT_ProcRet pymqmsgque_MqContextC_SlaveGetFilter (MqContextC_ARGS)
  Python: MqContextC ctx.SlaveGetFilter() C-API
get the filter-ctx or the master-ctx
 
static OT_ProcRet pymqmsgque_MqContextC_SlaveGetProxy (MqContextC_ARGS)
  Python: MqContextC ctx.SlaveGetProxy(id:MqSlaveE|int32) C-API
on slave return the master and on master return the slave identified by id.
 
static OT_ProcRet pymqmsgque_MqContextC_SlaveCheck (MqContextC_ARGS)
  Python: bool ctx.SlaveCheck(id:MqSlaveE|int32) C-API
check if slave-id is valid
 
static OT_ProcRet pymqmsgque_MqContextC_SlaveCreate (MqContextC_ARGS)
  Python: ctx.SlaveCreate(id:MqSlaveE|int32, slave:MqContextC) C-API
create a master/slave link between the master-parent-context and the slave-parent-context …
 
static OT_ProcRet pymqmsgque_MqContextC_SlaveDelete (MqContextC_ARGS)
  Python: ctx.SlaveDelete(id:MqSlaveE|int32) C-API
Delete a slave object from a master/slave link identified by id. …
 
static OT_ProcRet pymqmsgque_MqContextC_SlaveIs (MqContextC_ARGS)
  Python: bool ctx.SlaveIs() C-API
is the context a slave-context ? …
 
static OT_ProcRet pymqmsgque_MqContextC_SlaveWorker (MqContextC_ARGS)
  Python: ctx.SlaveWorker(id:MqSlaveE|int32, ?fct:string="WORKER"?, ?args:MkBufferListC...=None?) C-API
create a master/slave link using the image of the ctx object self. …
 
static OT_ProcRet pymqmsgque_MqContextC_StorageDelete (MqContextC_ARGS)
  Python: int32 ctx.StorageDelete(?*transLIdP_inout:int32=0?) C-API
delete the storage-row identified by the transLIdP_inout
 
static OT_ProcRet pymqmsgque_MqContextC_StorageImport (MqContextC_ARGS)
  Python: int32 ctx.StorageImport(?*transLIdP_inout:int32=0?) C-API
import the storage-package into the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_StorageClose (MqContextC_ARGS)
  Python: ctx.StorageClose() C-API
close the storage. …
 
static OT_ProcRet pymqmsgque_MqContextC_StorageDecrRef (MqContextC_ARGS)
  Python: ctx.StorageDecrRef(transLId:int32) C-API
decrease the internal refCount lock of the database-entry
 
static OT_ProcRet pymqmsgque_MqContextC_StorageIncrRef (MqContextC_ARGS)
  Python: ctx.StorageIncrRef(transLId:int32) C-API
increase the internal refCount lock of the database-entry
 
static OT_ProcRet pymqmsgque_MqContextC_StorageLog (MqContextC_ARGS)
  Python: ctx.StorageLog(?callfunc:string="MK_NULL"?) C-API
log the storage the status of the open transactions
 
static OT_ProcRet pymqmsgque_MqContextC_StorageOpen (MqContextC_ARGS)
  Python: ctx.StorageOpen(storageFile:string) C-API
switch to a file-based-transaction-database
 
static OT_ProcRet pymqmsgque_MqContextC_StorageCount (MqContextC_ARGS)
  Python: int32 ctx.StorageCount() C-API
count the number of storage-rows
 
static OT_ProcRet pymqmsgque_MqContextC_StorageErrCnt (MqContextC_ARGS)
  Python: int32 ctx.StorageErrCnt(transLId:int32) C-API
increment and return the database row-error-count for the row defined with transLId
 
static OT_ProcRet pymqmsgque_MqContextC_StorageExport (MqContextC_ARGS)
  Python: int32 ctx.StorageExport() C-API
export the read-data-package into the STORAGE
 
static OT_ProcRet pymqmsgque_MqContextC_StorageResolve (MqContextC_ARGS)
  Python: {otherCtxP:MqContextC otherLIdP:int32} ctx.StorageResolve() C-API
extract the context->link.protect.rmtTransLId entry from the database
 
static OT_ProcRet pymqmsgque_MqContextC_Create (OtClass_ARGS)
  Python: [constructor,static] MqContextC MqContextC.Create(?tmpl:MqContextC=None?) C-API
create and initialize the MqContextC ...
 
static OT_ProcRet pymqmsgque_MqContextC_new (CONSTR_ARGS)
  Python: [constructor,static] MqContextC MqContextC.new(?tmpl:MqContextC=None?) C-API
create and initialize the MqContextC ...
 
static MK_UNUSED void pymqmsgque_sParentBeforeFork (MQ_CTX mqctx)
 
static MK_UNUSED void pymqmsgque_sParentAfterFork (MQ_CTX mqctx)
 
static MK_UNUSED void pymqmsgque_sChildAfterFork (MQ_CTX mqctx)
 
static void pymqmsgque_sIncrSelf (MK_RT mkrt, MQ_CTX hdl, MK_PTR const env)
 
static void pymqmsgque_sDecrSelf (MK_RT mkrt, MQ_CTX hdl, MK_PTR const env)
 
static int pymqmsgque_sProcessExit (MK_RT mkrt, int num)
 
static MK_UNUSED int pymqmsgque_sThreadExit (MK_RT mkrt, int num)
 
static PyObject * pymqmsgque_sMqContextC_Str (MqContextC_Obj *self)
 
static PyObject * pymqmsgque_sMqContextC_Repr (MqContextC_Obj *self)
 
int pymqmsgque_pMqContextC_Init (MK_RT mkrt, OT_OBJ_T m)
 

Variables

static PyMethodDef pymqmsgque_MqContextC_Methods []
 
OT_CLASS_TYPE_REF pymqmsgque_MqContextCR
 

Detailed Description

tag: nhi1-release-250425

Definition in file MqContextC_py.c.

Macro Definition Documentation

◆ ClassFactoryGet_doc

#define ClassFactoryGet_doc   "MqFactoryC ctx.ClassFactoryGet() (const)"

doc definition

Definition at line 127 of file MqContextC_py.c.

◆ ClassFactorySet_doc

#define ClassFactorySet_doc   "ctx.ClassFactorySet(item:MqFactoryC)"

Definition at line 130 of file MqContextC_py.c.

◆ ClassIdentGet_doc

#define ClassIdentGet_doc   "string ctx.ClassIdentGet() (const)"

Definition at line 131 of file MqContextC_py.c.

◆ ClassIdentSet_doc

#define ClassIdentSet_doc   "ctx.ClassIdentSet(ident:string)"

Definition at line 132 of file MqContextC_py.c.

◆ ClassInit

#define ClassInit
Value:
/* if not already done, initialize NEW META type */ \
\
/* protect against double call */ \
if (MqContextCTT->selfCreate == NS(MqContextC_selfCreate)) return MK_OK; \
\
/* add "selfCreate" and "selfDelete" feature to the META-Class */ \
MqContextCTT->selfCreate = NS(MqContextC_selfCreate); \
MqContextCTT->selfDelete = NS(MqContextC_selfDelete); \
MqContextCTT->selfUnlink = NS(MqContextC_selfUnlink); \
\
if (!PyType_HasFeature(OT_CLASS,Py_TPFLAGS_READY)) { \
NS(MqContextCR).tp_base = MqContextC_base; \
OtErrorCheckLng (PyType_Ready(OT_CLASS)); \
} \
OtErrorCheckLng(PyModule_AddObjectRef(m, "MqContextC", (PyObject *)OT_CLASS)); \
\
/* define the "NULL" object */ \
MqContextC_MK_NULL = Py_NewRef(MK(AtomCreate) (MK_RT_CALL OT_CLASS, NULL /*obj*/));
#define MK(n)
#define MqContextC_MK_NULL
#define MqContextC_base
#define NS(n)
#define MqContextCTT
#define OT_CLASS
MK_OK
#define MK_RT_CALL
#define MqContextSTT
instance-type as MkTypeS-class-type (cast from MqContextST into MkTypeS) …
PUBLIC data structure for the pymqmsgque-specific-data

Definition at line 65 of file MqContextC_py.c.

65#define ClassInit \
66 /* if not already done, initialize NEW META type */ \
67 if (MqContextCTT == NULL) MqContextCTT = MqContextSTT; \
68 \
69 /* protect against double call */ \
70 if (MqContextCTT->selfCreate == NS(MqContextC_selfCreate)) return MK_OK; \
71 \
72 /* add "selfCreate" and "selfDelete" feature to the META-Class */ \
73 MqContextCTT->selfCreate = NS(MqContextC_selfCreate); \
74 MqContextCTT->selfDelete = NS(MqContextC_selfDelete); \
75 MqContextCTT->selfUnlink = NS(MqContextC_selfUnlink); \
76 \
77 if (!PyType_HasFeature(OT_CLASS,Py_TPFLAGS_READY)) { \
78 NS(MqContextCR).tp_base = MqContextC_base; \
79 OtErrorCheckLng (PyType_Ready(OT_CLASS)); \
80 } \
81 OtErrorCheckLng(PyModule_AddObjectRef(m, "MqContextC", (PyObject *)OT_CLASS)); \
82 \
83 /* define the "NULL" object */ \
84 MqContextC_MK_NULL = Py_NewRef(MK(AtomCreate) (MK_RT_CALL OT_CLASS, NULL /*obj*/));

◆ ClassOriginalIdentGet_doc

#define ClassOriginalIdentGet_doc   "string ctx.ClassOriginalIdentGet() (const)"

Definition at line 133 of file MqContextC_py.c.

◆ ConfigCheckStartAs_doc

#define ConfigCheckStartAs_doc   "bool ctx.ConfigCheckStartAs(data:MqStartE)"

Definition at line 139 of file MqContextC_py.c.

◆ ConfigGetBuffersize_doc

#define ConfigGetBuffersize_doc   "int32 ctx.ConfigGetBuffersize() (const)"

Definition at line 140 of file MqContextC_py.c.

◆ ConfigGetIdentFrom_doc

#define ConfigGetIdentFrom_doc   "MqIdentE ctx.ConfigGetIdentFrom()"

Definition at line 141 of file MqContextC_py.c.

◆ ConfigGetIoPipe_doc

#define ConfigGetIoPipe_doc   "int32 ctx.ConfigGetIoPipe()"

Definition at line 142 of file MqContextC_py.c.

◆ ConfigGetIoTcp_doc

#define ConfigGetIoTcp_doc   "{host:string port:string myhost:string myport:string} ctx.ConfigGetIoTcp()"

Definition at line 182 of file MqContextC_py.c.

◆ ConfigGetIoTcpL_doc

#define ConfigGetIoTcpL_doc   "MkBufferListC ctx.ConfigGetIoTcpL()"

Definition at line 136 of file MqContextC_py.c.

◆ ConfigGetIoUds_doc

#define ConfigGetIoUds_doc   "string ctx.ConfigGetIoUds() (const)"

Definition at line 143 of file MqContextC_py.c.

◆ ConfigGetIsParent_doc

#define ConfigGetIsParent_doc   "bool ctx.ConfigGetIsParent()"

Definition at line 144 of file MqContextC_py.c.

◆ ConfigGetIsServer_doc

#define ConfigGetIsServer_doc   "bool ctx.ConfigGetIsServer()"

Definition at line 145 of file MqContextC_py.c.

◆ ConfigGetIsString_doc

#define ConfigGetIsString_doc   "bool ctx.ConfigGetIsString()"

Definition at line 146 of file MqContextC_py.c.

◆ ConfigGetName_doc

#define ConfigGetName_doc   "string ctx.ConfigGetName() (const)"

Definition at line 147 of file MqContextC_py.c.

◆ ConfigGetPkgsize_doc

#define ConfigGetPkgsize_doc   "int32 ctx.ConfigGetPkgsize() (const)"

Definition at line 148 of file MqContextC_py.c.

◆ ConfigGetPostfix_doc

#define ConfigGetPostfix_doc   "string ctx.ConfigGetPostfix() (const)"

Definition at line 149 of file MqContextC_py.c.

◆ ConfigGetPrefix_doc

#define ConfigGetPrefix_doc   "string ctx.ConfigGetPrefix() (const)"

Definition at line 150 of file MqContextC_py.c.

◆ ConfigGetStartAs_doc

#define ConfigGetStartAs_doc   "MqStartE ctx.ConfigGetStartAs()"

Definition at line 151 of file MqContextC_py.c.

◆ ConfigGetStatusIs_doc

#define ConfigGetStatusIs_doc   "MqStatusIsEF ctx.ConfigGetStatusIs()"

Definition at line 152 of file MqContextC_py.c.

◆ ConfigGetStorage_doc

#define ConfigGetStorage_doc   "string ctx.ConfigGetStorage() (const)"

Definition at line 153 of file MqContextC_py.c.

◆ ConfigGetTimeout_doc

#define ConfigGetTimeout_doc   "MkTimeoutE|int32 ctx.ConfigGetTimeout() (const)"

Definition at line 154 of file MqContextC_py.c.

◆ ConfigReset_doc

#define ConfigReset_doc   "ctx.ConfigReset()"

Definition at line 155 of file MqContextC_py.c.

◆ ConfigSetAllDebug_doc

#define ConfigSetAllDebug_doc   "ctx.ConfigSetAllDebug(data:int32)"

Definition at line 156 of file MqContextC_py.c.

◆ ConfigSetBgError_doc

#define ConfigSetBgError_doc   "ctx.ConfigSetBgError(?callback:callable=None?)"

Definition at line 157 of file MqContextC_py.c.

◆ ConfigSetBuffersize_doc

#define ConfigSetBuffersize_doc   "ctx.ConfigSetBuffersize(data:int32)"

Definition at line 158 of file MqContextC_py.c.

◆ ConfigSetConfigFile_doc

#define ConfigSetConfigFile_doc   "ctx.ConfigSetConfigFile(filename:string)"

Definition at line 159 of file MqContextC_py.c.

◆ ConfigSetDaemon_doc

#define ConfigSetDaemon_doc   "ctx.ConfigSetDaemon(pidfile:string)"

Definition at line 160 of file MqContextC_py.c.

◆ ConfigSetEvent_doc

#define ConfigSetEvent_doc   "ctx.ConfigSetEvent(?callback:callable=None?)"

Definition at line 161 of file MqContextC_py.c.

◆ ConfigSetIdentFrom_doc

#define ConfigSetIdentFrom_doc   "ctx.ConfigSetIdentFrom(data:MqIdentE)"

Definition at line 162 of file MqContextC_py.c.

◆ ConfigSetIgnoreExit_doc

#define ConfigSetIgnoreExit_doc   "ctx.ConfigSetIgnoreExit(data:bool)"

Definition at line 163 of file MqContextC_py.c.

◆ ConfigSetIoPipe_doc

#define ConfigSetIoPipe_doc   "ctx.ConfigSetIoPipe(fh:int32)"

Definition at line 164 of file MqContextC_py.c.

◆ ConfigSetIoTcp_doc

#define ConfigSetIoTcp_doc   "ctx.ConfigSetIoTcp(?host:string=\"None\"?, ?port:string=\"None\"?, ?myhost:string=\"None\"?, ?myport:string=\"None\"?)"

Definition at line 165 of file MqContextC_py.c.

◆ ConfigSetIoTcpL_doc

#define ConfigSetIoTcpL_doc   "ctx.ConfigSetIoTcpL(vals:MkBufferListC)"

Definition at line 166 of file MqContextC_py.c.

◆ ConfigSetIoUds_doc

#define ConfigSetIoUds_doc   "ctx.ConfigSetIoUds(file:string)"

Definition at line 167 of file MqContextC_py.c.

◆ ConfigSetIsServer_doc

#define ConfigSetIsServer_doc   "ctx.ConfigSetIsServer(data:bool)"

Definition at line 168 of file MqContextC_py.c.

◆ ConfigSetIsString_doc

#define ConfigSetIsString_doc   "ctx.ConfigSetIsString(data:bool)"

Definition at line 169 of file MqContextC_py.c.

◆ ConfigSetName_doc

#define ConfigSetName_doc   "ctx.ConfigSetName(data:string)"

Definition at line 170 of file MqContextC_py.c.

◆ ConfigSetPkgsize_doc

#define ConfigSetPkgsize_doc   "ctx.ConfigSetPkgsize(data:int32)"

Definition at line 171 of file MqContextC_py.c.

◆ ConfigSetPostfix_doc

#define ConfigSetPostfix_doc   "ctx.ConfigSetPostfix(data:string)"

Definition at line 172 of file MqContextC_py.c.

◆ ConfigSetPrefix_doc

#define ConfigSetPrefix_doc   "ctx.ConfigSetPrefix(data:string)"

Definition at line 173 of file MqContextC_py.c.

◆ ConfigSetServerCleanup_doc

#define ConfigSetServerCleanup_doc   "ctx.ConfigSetServerCleanup(?callback:callable=None?)"

Definition at line 174 of file MqContextC_py.c.

◆ ConfigSetServerSetup_doc

#define ConfigSetServerSetup_doc   "ctx.ConfigSetServerSetup(?callback:callable=None?)"

Definition at line 175 of file MqContextC_py.c.

◆ ConfigSetStartAs_doc

#define ConfigSetStartAs_doc   "ctx.ConfigSetStartAs(data:MqStartE)"

Definition at line 176 of file MqContextC_py.c.

◆ ConfigSetStartAsString_doc

#define ConfigSetStartAsString_doc   "ctx.ConfigSetStartAsString(data:string)"

Definition at line 177 of file MqContextC_py.c.

◆ ConfigSetStorage_doc

#define ConfigSetStorage_doc   "ctx.ConfigSetStorage(data:string)"

Definition at line 178 of file MqContextC_py.c.

◆ ConfigSetTimeout_doc

#define ConfigSetTimeout_doc   "ctx.ConfigSetTimeout(data:MkTimeoutE|int32)"

Definition at line 179 of file MqContextC_py.c.

◆ Create_doc

#define Create_doc   "MqContextC MqContextC.Create(?tmpl:MqContextC=None?)"

Definition at line 185 of file MqContextC_py.c.

◆ Debug_doc

#define Debug_doc   "None ctx.Debug(prefix:str, obj=self:object)"

Definition at line 379 of file MqContextC_py.c.

◆ EnvProtect_doc

#define EnvProtect_doc   "ctx.EnvProtect()"

Definition at line 213 of file MqContextC_py.c.

◆ EnvRestore_doc

#define EnvRestore_doc   "ctx.EnvRestore()"

Definition at line 214 of file MqContextC_py.c.

◆ ErrorCopy_doc

#define ErrorCopy_doc   "MkErrorE targetCtx.ErrorCopy(sourceCtx:MqContextC) (const)"

Definition at line 200 of file MqContextC_py.c.

◆ ErrorFORMAT_doc

#define ErrorFORMAT_doc   "MkErrorC fmtobj.ErrorFORMAT() (const)"

Definition at line 194 of file MqContextC_py.c.

◆ ErrorMove_doc

#define ErrorMove_doc   "MkErrorE targetCtx.ErrorMove(sourceCtx:MqContextC) (const)"

Definition at line 201 of file MqContextC_py.c.

◆ Exit_doc

#define Exit_doc   "int32 ctx.Exit(?callfunc:string=\"MK_NULL\"?, ?callfile:string=\"MK_NULL\"?, ?callline:int32=-1?)"

Definition at line 217 of file MqContextC_py.c.

◆ GetBuffer_doc

#define GetBuffer_doc   "MkBufferC ctx.GetBuffer()"

Definition at line 195 of file MqContextC_py.c.

◆ GetNull_doc

#define GetNull_doc   "MqContextC MqContextC.GetNull()"

Definition at line 189 of file MqContextC_py.c.

◆ GetRoot_doc

#define GetRoot_doc   "MqContextC ctx.GetRoot()"

Definition at line 220 of file MqContextC_py.c.

◆ HandleResolve_doc

#define HandleResolve_doc   "MqContextC MqContextC.HandleResolve(netHdl:MK_HDL)"

Definition at line 190 of file MqContextC_py.c.

◆ Instances_doc

#define Instances_doc   "MqContextC MqContextC.Instances()"

Definition at line 191 of file MqContextC_py.c.

◆ LinkConnect_doc

#define LinkConnect_doc   "ctx.LinkConnect()"

Definition at line 226 of file MqContextC_py.c.

◆ LinkCreate_doc

#define LinkCreate_doc   "ctx.LinkCreate(?args:MkBufferListC...=None?)"

Definition at line 227 of file MqContextC_py.c.

◆ LinkCreateChild_doc

#define LinkCreateChild_doc   "ctx.LinkCreateChild(parent:MqContextC, ?args:MkBufferListC...=None?)"

Definition at line 228 of file MqContextC_py.c.

◆ LinkDelete_doc

#define LinkDelete_doc   "ctx.LinkDelete()"

Definition at line 229 of file MqContextC_py.c.

◆ LinkGetCtxId_doc

#define LinkGetCtxId_doc   "int32 ctx.LinkGetCtxId()"

Definition at line 230 of file MqContextC_py.c.

◆ LinkGetParent_doc

#define LinkGetParent_doc   "MqContextC ctx.LinkGetParent()"

Definition at line 223 of file MqContextC_py.c.

◆ LinkGetTargetIdent_doc

#define LinkGetTargetIdent_doc   "string ctx.LinkGetTargetIdent()"

Definition at line 231 of file MqContextC_py.c.

◆ LinkIsConnected_doc

#define LinkIsConnected_doc   "bool ctx.LinkIsConnected()"

Definition at line 232 of file MqContextC_py.c.

◆ LinkIsParent_doc

#define LinkIsParent_doc   "bool ctx.LinkIsParent()"

Definition at line 233 of file MqContextC_py.c.

◆ LinkShutdown_doc

#define LinkShutdown_doc   "ctx.LinkShutdown()"

Definition at line 234 of file MqContextC_py.c.

◆ LogConfig_doc

#define LogConfig_doc   "ctx.LogConfig(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)"

Definition at line 204 of file MqContextC_py.c.

◆ LogEnv_doc

#define LogEnv_doc   "ctx.LogEnv(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)"

Definition at line 205 of file MqContextC_py.c.

◆ LogLink_doc

#define LogLink_doc   "ctx.LogLink(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)"

Definition at line 206 of file MqContextC_py.c.

◆ LogParentOrChild_doc

#define LogParentOrChild_doc   "string ctx.LogParentOrChild() (const)"

Definition at line 237 of file MqContextC_py.c.

◆ LogServerOrClient_doc

#define LogServerOrClient_doc   "string ctx.LogServerOrClient() (const)"

Definition at line 238 of file MqContextC_py.c.

◆ LogSetup_doc

#define LogSetup_doc   "ctx.LogSetup(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)"

Definition at line 207 of file MqContextC_py.c.

◆ LogShort_doc

#define LogShort_doc   "ctx.LogShort(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?, ?label:string=\"None\"?) (const)"

Definition at line 208 of file MqContextC_py.c.

◆ LogType_doc

#define LogType_doc   "ctx.LogType(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)"

Definition at line 209 of file MqContextC_py.c.

◆ META_CONTEXT_S

#define META_CONTEXT_S   hdl

Definition at line 116 of file MqContextC_py.c.

◆ META_FILE_NAME

#define META_FILE_NAME   "MqContextC_py.c"

Definition at line 11 of file MqContextC_py.c.

◆ MqContextC_Doc

#define MqContextC_Doc   "The pymqmsgque project is an infrastructure to link software together to\n\act like a single software. To link mean distributing work from one\n\software to an other software an wait or not wait for an answer. The\n\linking is done using unix or inet domain sockets and is based on\n\packages send from one software to an other software and back. The\n\pymqmsgque project is used to handle all the different aspects for setup\n\and maintain the link and is responsible for:\n\\n\o starting and stopping the server application\n\o starting and stopping the communication interface\n\o sending and receiving package data\n\o reading and writing data from or into a package\n\o setup and maintain the event-handling for an asynchronous transfer\n\o propagate the error messages from the server to the client"

Definition at line 3918 of file MqContextC_py.c.

◆ MqContextCTT

#define MqContextCTT   MQ(MqMsgqueThreadState).MqContextCTT

Definition at line 40 of file MqContextC_py.c.

◆ new_doc

#define new_doc   "MqContextC MqContextC.new(?tmpl:MqContextC=None?)"

Definition at line 186 of file MqContextC_py.c.

◆ Next_doc

#define Next_doc   "MqContextC ctx.Next()"

Definition at line 196 of file MqContextC_py.c.

◆ OT_CLASS

#define OT_CLASS   (&NS(MqContextCR))

Definition at line 16 of file MqContextC_py.c.

◆ OT_CLASS_NAME

#define OT_CLASS_NAME   "MqContextC"

Definition at line 17 of file MqContextC_py.c.

◆ OT_LNG2META

#define OT_LNG2META ( O)
Value:
#define VAL2MNG(val)
static MQ_CTX MqCtx(MK_MNG mng)
cast a unknown-object into an MqContextS pointer or NULL if not possible

Definition at line 19 of file MqContextC_py.c.

◆ OT_retObj_CONSTR

#define OT_retObj_CONSTR ( mng)
Value:
OT_retObj_SET(NS(MqContextC_CTOR)(MK_RT_CALL (PyTypeObject*)class,mng))
#define OT_retObj_SET(val)

Definition at line 21 of file MqContextC_py.c.

◆ OT_SETUP_hdl

#define OT_SETUP_hdl   OT_SETUP_hdl_tmpl(MqContextC)

Definition at line 23 of file MqContextC_py.c.

◆ OT_SETUP_hdl__null_allow

#define OT_SETUP_hdl__null_allow   OT_SETUP_hdl_tmpl__null_allow(MqContextC)

Definition at line 24 of file MqContextC_py.c.

◆ OT_SETUP_hdl_constr

#define OT_SETUP_hdl_constr
Value:
#define AllRtSetup_NULL
#define MK_RT_UNUSED
struct MqContextS * MQ_CTX
class-shortcut for struct MqContextS *, all shortcut using the XX_YYY syntax (only for public API) …

Definition at line 25 of file MqContextC_py.c.

25#define OT_SETUP_hdl_constr MK_RT_UNUSED AllRtSetup_NULL; \
26 MQ_CTX hdl = (MQ_CTX) OT_CLASS;

◆ OT_SETUP_hdl_destr

#define OT_SETUP_hdl_destr   OT_SETUP_hdl_tmpl__null_allow(MqContextC)

Definition at line 27 of file MqContextC_py.c.

◆ OT_SETUP_hdl_static

#define OT_SETUP_hdl_static
Value:
__attribute__((unused)) MK_TYP hdl = MqContextC##_TT;

Definition at line 28 of file MqContextC_py.c.

28#define OT_SETUP_hdl_static MK_RT_UNUSED AllRtSetup_NULL; \
29 __attribute__((unused)) MK_TYP hdl = MqContextC##_TT;

◆ OT_SETUP_hdl_static_constr

#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static

Definition at line 31 of file MqContextC_py.c.

◆ Prev_doc

#define Prev_doc   "MqContextC ctx.Prev()"

Definition at line 197 of file MqContextC_py.c.

◆ ProcessEvent_doc

#define ProcessEvent_doc   "ctx.ProcessEvent(?wait:MqWaitOnEventE=NO?, ?timeout:MkTimeoutE|int32=DEFAULT?)"

Definition at line 241 of file MqContextC_py.c.

◆ ProxyForward_doc

#define ProxyForward_doc   "sourceCtx.ProxyForward(targetCtx:MqContextC, ?dump:MqDumpC=None?, ?timeout:MkTimeoutE|int32=DEFAULT?)"

Definition at line 244 of file MqContextC_py.c.

◆ ProxyItem_doc

#define ProxyItem_doc   "sourceCtx.ProxyItem(targetCtx:MqContextC)"

Definition at line 245 of file MqContextC_py.c.

◆ ReadALL_doc

#define ReadALL_doc   "MkBufferListC ctx.ReadALL(?val_inout:MkBufferListC=None?)"

Definition at line 248 of file MqContextC_py.c.

◆ ReadBFL_doc

#define ReadBFL_doc   "MkBufferListC ctx.ReadBFL()"

Definition at line 251 of file MqContextC_py.c.

◆ ReadBIN_doc

#define ReadBIN_doc   "binary ctx.ReadBIN()"

Definition at line 266 of file MqContextC_py.c.

◆ ReadBinaryR_doc

#define ReadBinaryR_doc   "binary ctx.ReadBinaryR()"

Definition at line 268 of file MqContextC_py.c.

◆ ReadBOL_doc

#define ReadBOL_doc   "bool ctx.ReadBOL()"

Definition at line 267 of file MqContextC_py.c.

◆ ReadBUF_doc

#define ReadBUF_doc   "MkBufferC ctx.ReadBUF()"

Definition at line 252 of file MqContextC_py.c.

◆ ReadDbg_doc

#define ReadDbg_doc   "ctx.ReadDbg()"

Definition at line 255 of file MqContextC_py.c.

◆ ReadDBL_doc

#define ReadDBL_doc   "double ctx.ReadDBL()"

Definition at line 269 of file MqContextC_py.c.

◆ ReadFLT_doc

#define ReadFLT_doc   "float ctx.ReadFLT()"

Definition at line 270 of file MqContextC_py.c.

◆ ReadGetNextType_doc

#define ReadGetNextType_doc   "MkTypeE ctx.ReadGetNextType()"

Definition at line 256 of file MqContextC_py.c.

◆ ReadGetNumItems_doc

#define ReadGetNumItems_doc   "int32 ctx.ReadGetNumItems()"

Definition at line 257 of file MqContextC_py.c.

◆ ReadHDL_doc

#define ReadHDL_doc   "MK_HDL ctx.ReadHDL()"

Definition at line 271 of file MqContextC_py.c.

◆ ReadI16_doc

#define ReadI16_doc   "int16 ctx.ReadI16()"

Definition at line 272 of file MqContextC_py.c.

◆ ReadI32_doc

#define ReadI32_doc   "int32 ctx.ReadI32()"

Definition at line 273 of file MqContextC_py.c.

◆ ReadI64_doc

#define ReadI64_doc   "int64 ctx.ReadI64()"

Definition at line 274 of file MqContextC_py.c.

◆ ReadI8_doc

#define ReadI8_doc   "int8 ctx.ReadI8()"

Definition at line 275 of file MqContextC_py.c.

◆ ReadItemExists_doc

#define ReadItemExists_doc   "bool ctx.ReadItemExists()"

Definition at line 258 of file MqContextC_py.c.

◆ ReadL_END_doc

#define ReadL_END_doc   "ctx.ReadL_END()"

Definition at line 259 of file MqContextC_py.c.

◆ ReadL_START_doc

#define ReadL_START_doc   "ctx.ReadL_START(?buf:MkBufferC=None?)"

Definition at line 260 of file MqContextC_py.c.

◆ ReadLIST_doc

#define ReadLIST_doc   "[list...] ctx.ReadLIST()"

Definition at line 276 of file MqContextC_py.c.

◆ ReadLONG_doc

#define ReadLONG_doc   "long ctx.ReadLONG()"

Definition at line 277 of file MqContextC_py.c.

◆ ReadNEXT_doc

#define ReadNEXT_doc   "obj ctx.ReadNEXT()"

Definition at line 278 of file MqContextC_py.c.

◆ ReadSTR_doc

#define ReadSTR_doc   "string ctx.ReadSTR()"

Definition at line 279 of file MqContextC_py.c.

◆ ReadStringR_doc

#define ReadStringR_doc   "string ctx.ReadStringR()"

Definition at line 280 of file MqContextC_py.c.

◆ ReadT_END_doc

#define ReadT_END_doc   "ctx.ReadT_END()"

Definition at line 261 of file MqContextC_py.c.

◆ ReadT_START_doc

#define ReadT_START_doc   "ctx.ReadT_START()"

Definition at line 262 of file MqContextC_py.c.

◆ ReadUndo_doc

#define ReadUndo_doc   "ctx.ReadUndo()"

Definition at line 263 of file MqContextC_py.c.

◆ RouteCreate_doc

#define RouteCreate_doc   "ctx.RouteCreate(route:string, service:string, ?overwrite:bool=false?)"

Definition at line 286 of file MqContextC_py.c.

◆ RouteDelete_doc

#define RouteDelete_doc   "ctx.RouteDelete(route:string, service:string, ?overwrite:bool=false?)"

Definition at line 287 of file MqContextC_py.c.

◆ RouteGetPath_doc

#define RouteGetPath_doc   "string ctx.RouteGetPath()"

Definition at line 292 of file MqContextC_py.c.

◆ RouteGetTree_doc

#define RouteGetTree_doc   "MkBufferListC ctx.RouteGetTree()"

Definition at line 283 of file MqContextC_py.c.

◆ RouteResolve_doc

#define RouteResolve_doc   "[MqContextC...] ctx.RouteResolve(ident:string, ?retnum:int32=-1?)"

Definition at line 288 of file MqContextC_py.c.

◆ RouteTraverse_doc

#define RouteTraverse_doc   "ctx.RouteTraverse(service:string, ?args:MkBufferListC...=None?)"

Definition at line 289 of file MqContextC_py.c.

◆ Send_doc [1/2]

#define Send_doc   "ctx.Send(cstr:string, args:args...)"

Definition at line 295 of file MqContextC_py.c.

◆ Send_doc [2/2]

#define Send_doc   Send_doc_extra

Definition at line 295 of file MqContextC_py.c.

◆ SendBFL_doc

#define SendBFL_doc   "ctx.SendBFL(val:MkBufferListC)"

Definition at line 296 of file MqContextC_py.c.

◆ SendBIN_doc

#define SendBIN_doc   "ctx.SendBIN(val:binary)"

Definition at line 297 of file MqContextC_py.c.

◆ SendBinaryR_doc

#define SendBinaryR_doc   "ctx.SendBinaryR(val:binary)"

Definition at line 301 of file MqContextC_py.c.

◆ SendBOL_doc

#define SendBOL_doc   "ctx.SendBOL(val:bool)"

Definition at line 298 of file MqContextC_py.c.

◆ SendBUF_doc

#define SendBUF_doc   "ctx.SendBUF(val:MkBufferC)"

Definition at line 299 of file MqContextC_py.c.

◆ SendBUS_FLAT_doc

#define SendBUS_FLAT_doc   "ctx.SendBUS_FLAT(val:MkBufferStreamC)"

Definition at line 300 of file MqContextC_py.c.

◆ SendDBL_doc

#define SendDBL_doc   "ctx.SendDBL(val:double)"

Definition at line 302 of file MqContextC_py.c.

◆ SendEND_AND_CALLBACK_doc

#define SendEND_AND_CALLBACK_doc   "ctx.SendEND_AND_CALLBACK(token:string[4], callback:callable, ?timeout:MkTimeoutE|int32=DEFAULT?)"

Definition at line 304 of file MqContextC_py.c.

◆ SendEND_AND_SUB_doc

#define SendEND_AND_SUB_doc   "ctx.SendEND_AND_SUB(token:string[4], callback:callable, ?timeout:MkTimeoutE|int32=DEFAULT?)"

Definition at line 305 of file MqContextC_py.c.

◆ SendEND_AND_TRANSACTION_doc

#define SendEND_AND_TRANSACTION_doc   "ctx.SendEND_AND_TRANSACTION(token:string[4], callback:string[4], ?timeout:MkTimeoutE|int32=DEFAULT?)"

Definition at line 306 of file MqContextC_py.c.

◆ SendEND_AND_WAIT_doc

#define SendEND_AND_WAIT_doc   "ctx.SendEND_AND_WAIT(token:string[4], ?timeout:MkTimeoutE|int32=DEFAULT?)"

Definition at line 307 of file MqContextC_py.c.

◆ SendEND_doc

#define SendEND_doc   "ctx.SendEND(token:string[4], ?timeout:MkTimeoutE|int32=DEFAULT?)"

Definition at line 303 of file MqContextC_py.c.

◆ SendERROR_doc

#define SendERROR_doc   "ctx.SendERROR()"

Definition at line 308 of file MqContextC_py.c.

◆ SendFLT_doc

#define SendFLT_doc   "ctx.SendFLT(val:float)"

Definition at line 309 of file MqContextC_py.c.

◆ SendHDL_doc

#define SendHDL_doc   "ctx.SendHDL(val:MK_HDL)"

Definition at line 310 of file MqContextC_py.c.

◆ SendI16_doc

#define SendI16_doc   "ctx.SendI16(val:int16)"

Definition at line 311 of file MqContextC_py.c.

◆ SendI32_doc

#define SendI32_doc   "ctx.SendI32(val:int32)"

Definition at line 312 of file MqContextC_py.c.

◆ SendI64_doc

#define SendI64_doc   "ctx.SendI64(val:int64)"

Definition at line 313 of file MqContextC_py.c.

◆ SendI8_doc

#define SendI8_doc   "ctx.SendI8(val:int8)"

Definition at line 314 of file MqContextC_py.c.

◆ SendL_END_doc

#define SendL_END_doc   "ctx.SendL_END()"

Definition at line 317 of file MqContextC_py.c.

◆ SendL_FLAT_doc

#define SendL_FLAT_doc   "ctx.SendL_FLAT(val:MkBufferListC)"

Definition at line 318 of file MqContextC_py.c.

◆ SendL_START_doc

#define SendL_START_doc   "ctx.SendL_START()"

Definition at line 319 of file MqContextC_py.c.

◆ SendLONG_doc

#define SendLONG_doc   "ctx.SendLONG(val:long)"

Definition at line 315 of file MqContextC_py.c.

◆ SendLTR_doc

#define SendLTR_doc   "ctx.SendLTR(transLId:int32)"

Definition at line 316 of file MqContextC_py.c.

◆ SendRETURN_doc

#define SendRETURN_doc   "ctx.SendRETURN()"

Definition at line 320 of file MqContextC_py.c.

◆ SendRETURN_SUB_doc

#define SendRETURN_SUB_doc   "ctx.SendRETURN_SUB()"

Definition at line 321 of file MqContextC_py.c.

◆ SendSTART_doc

#define SendSTART_doc   "ctx.SendSTART()"

Definition at line 322 of file MqContextC_py.c.

◆ SendSTR_doc

#define SendSTR_doc   "ctx.SendSTR(val:string)"

Definition at line 323 of file MqContextC_py.c.

◆ SendStringR_doc

#define SendStringR_doc   "ctx.SendStringR(val:string)"

Definition at line 325 of file MqContextC_py.c.

◆ SendSYNC_doc

#define SendSYNC_doc   "ctx.SendSYNC()"

Definition at line 324 of file MqContextC_py.c.

◆ SendT_END_doc

#define SendT_END_doc   "ctx.SendT_END()"

Definition at line 326 of file MqContextC_py.c.

◆ SendT_START_doc

#define SendT_START_doc   "ctx.SendT_START()"

Definition at line 327 of file MqContextC_py.c.

◆ ServiceCreate_doc

#define ServiceCreate_doc   "ctx.ServiceCreate(token:string[4], callback:callable)"

Definition at line 330 of file MqContextC_py.c.

◆ ServiceDelete_doc

#define ServiceDelete_doc   "ctx.ServiceDelete(token:string[4])"

Definition at line 331 of file MqContextC_py.c.

◆ ServiceIsTransaction_doc

#define ServiceIsTransaction_doc   "bool ctx.ServiceIsTransaction()"

Definition at line 332 of file MqContextC_py.c.

◆ ServiceProxy_doc

#define ServiceProxy_doc   "ctx.ServiceProxy(token:string[4], ?id:MqSlaveE|int32=MQ_SLAVE_OTHER?)"

Definition at line 333 of file MqContextC_py.c.

◆ ServiceProxyCtx_doc

#define ServiceProxyCtx_doc   "ctx.ServiceProxyCtx(token:string[4], target:MqContextC)"

Definition at line 334 of file MqContextC_py.c.

◆ ServiceProxyCtxExists_doc

#define ServiceProxyCtxExists_doc   "bool ctx.ServiceProxyCtxExists(token:string[4], target:MqContextC)"

Definition at line 335 of file MqContextC_py.c.

◆ ServiceProxyRoundRobin_doc

#define ServiceProxyRoundRobin_doc   "ctx.ServiceProxyRoundRobin(token:string[4], ident:string)"

Definition at line 336 of file MqContextC_py.c.

◆ ServiceStorage_doc

#define ServiceStorage_doc   "ctx.ServiceStorage(token:string[4])"

Definition at line 337 of file MqContextC_py.c.

◆ ServiceTokenCheck_doc

#define ServiceTokenCheck_doc   "bool ctx.ServiceTokenCheck(token:string[4])"

Definition at line 338 of file MqContextC_py.c.

◆ ServiceTokenExists_doc

#define ServiceTokenExists_doc   "bool ctx.ServiceTokenExists(token:string[4])"

Definition at line 339 of file MqContextC_py.c.

◆ ServiceTokenGet_doc

#define ServiceTokenGet_doc   "string[4] ctx.ServiceTokenGet()"

Definition at line 340 of file MqContextC_py.c.

◆ SetupRtFromObj_X

#define SetupRtFromObj_X ( hdl)
Value:
#define AllRtSetup_X(x)

Definition at line 34 of file MqContextC_py.c.

◆ SetupRtFromObj_XN

#define SetupRtFromObj_XN ( hdl)
Value:
#define AllRtSetup_XN(x)

Definition at line 35 of file MqContextC_py.c.

◆ SlaveCheck_doc

#define SlaveCheck_doc   "bool ctx.SlaveCheck(id:MqSlaveE|int32) (const)"

Definition at line 351 of file MqContextC_py.c.

◆ SlaveCreate_doc

#define SlaveCreate_doc   "ctx.SlaveCreate(id:MqSlaveE|int32, slave:MqContextC)"

Definition at line 352 of file MqContextC_py.c.

◆ SlaveDelete_doc

#define SlaveDelete_doc   "ctx.SlaveDelete(id:MqSlaveE|int32)"

Definition at line 353 of file MqContextC_py.c.

◆ SlaveGet_doc

#define SlaveGet_doc   "MqContextC ctx.SlaveGet(id:MqSlaveE|int32)"

Definition at line 346 of file MqContextC_py.c.

◆ SlaveGetFilter_doc

#define SlaveGetFilter_doc   "MqContextC ctx.SlaveGetFilter()"

Definition at line 347 of file MqContextC_py.c.

◆ SlaveGetMaster_doc

#define SlaveGetMaster_doc   "MqContextC ctx.SlaveGetMaster()"

Definition at line 343 of file MqContextC_py.c.

◆ SlaveGetProxy_doc

#define SlaveGetProxy_doc   "MqContextC ctx.SlaveGetProxy(id:MqSlaveE|int32)"

Definition at line 348 of file MqContextC_py.c.

◆ SlaveIs_doc

#define SlaveIs_doc   "bool ctx.SlaveIs() (const)"

Definition at line 354 of file MqContextC_py.c.

◆ SlaveWorker_doc

#define SlaveWorker_doc   "ctx.SlaveWorker(id:MqSlaveE|int32, ?fct:string=\"WORKER\"?, ?args:MkBufferListC...=None?)"

Definition at line 355 of file MqContextC_py.c.

◆ StorageClose_doc

#define StorageClose_doc   "ctx.StorageClose()"

Definition at line 362 of file MqContextC_py.c.

◆ StorageCount_doc

#define StorageCount_doc   "int32 ctx.StorageCount()"

Definition at line 369 of file MqContextC_py.c.

◆ StorageDecrRef_doc

#define StorageDecrRef_doc   "ctx.StorageDecrRef(transLId:int32)"

Definition at line 363 of file MqContextC_py.c.

◆ StorageDelete_doc

#define StorageDelete_doc   "int32 ctx.StorageDelete(?*transLIdP_inout:int32=0?)"

Definition at line 358 of file MqContextC_py.c.

◆ StorageErrCnt_doc

#define StorageErrCnt_doc   "int32 ctx.StorageErrCnt(transLId:int32)"

Definition at line 370 of file MqContextC_py.c.

◆ StorageExport_doc

#define StorageExport_doc   "int32 ctx.StorageExport()"

Definition at line 371 of file MqContextC_py.c.

◆ StorageImport_doc

#define StorageImport_doc   "int32 ctx.StorageImport(?*transLIdP_inout:int32=0?)"

Definition at line 359 of file MqContextC_py.c.

◆ StorageIncrRef_doc

#define StorageIncrRef_doc   "ctx.StorageIncrRef(transLId:int32)"

Definition at line 364 of file MqContextC_py.c.

◆ StorageLog_doc

#define StorageLog_doc   "ctx.StorageLog(?callfunc:string=\"MK_NULL\"?)"

Definition at line 365 of file MqContextC_py.c.

◆ StorageOpen_doc

#define StorageOpen_doc   "ctx.StorageOpen(storageFile:string)"

Definition at line 366 of file MqContextC_py.c.

◆ StorageResolve_doc

#define StorageResolve_doc   "{otherCtxP:MqContextC otherLIdP:int32} ctx.StorageResolve()"

Definition at line 372 of file MqContextC_py.c.

Function Documentation

◆ pymqmsgque_MqContextC_CTOR()

static OT_OBJ_T pymqmsgque_MqContextC_CTOR ( MK_RT mkrt,
OT_CLS_T type,
MQ_CTX hdl )
inlinestatic

Definition at line 44 of file MqContextC_py.c.

44 {
45 return MK(AtomCreate)(MK_RT_CALL type,MqContextC_X2obj(hdl));
46}
#define MqContextC_X2obj(x)

◆ pymqmsgque_MqContextC_Debug()

static PyObject * pymqmsgque_MqContextC_Debug ( MqContextC_ARGS )
static

Definition at line 399 of file MqContextC_py.c.

399 {
400 PyObject *strO=NULL, *utf8=NULL;
402 OT_SETUP_VARARGS(1,2,"None ctx.Debug(prefix:str, obj=self:object)")
403 MK_STRN prefix=0;
405 OT_SETUP_OBJ(obj,self)
408 LngErrorCheckN(strO = PyObject_Repr(obj));
409 LngErrorCheckN(utf8 = PyUnicode_AsUTF8String(strO));
410 MkLogV_4M(hdl,prefix,0,"%s, type=%s, refCnt=%-3zi\n",
411 PyBytes_AsString(utf8), Py_TYPE(obj)->tp_name, Py_REFCNT(obj)-1);
413 goto end;
414error:
416end:
417 Py_CLEAR(strO);
418 Py_CLEAR(utf8);
420}
#define LngErrorCheckN(PROC)
#define OT_SETUP_VARARGS(min, max, d)
#define OT_SETUP_OBJ(o, v)
#define OT_retObj_SET_Error
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl
#define error
Definition high_lng.h:339
const MK_STRB * MK_STRN
#define MkLogV_4M(x, callfunc, debug, printfmt,...)
MK_OBJ const obj
Definition high_lng.h:136
#define OT_CHECK_STR(val)
#define OT_CHECK_LNG_T(val)

◆ pymqmsgque_MqContextC_Debug2()

static PyObject * pymqmsgque_MqContextC_Debug2 ( MqContextC_ARGS )
static

Definition at line 424 of file MqContextC_py.c.

424 {
426 OT_SETUP_VARARGS(1,2,"None ctx.Debug2(prefix:str, ?obj=self:object?)")
427 MK_STRN prefix=0;
429 OT_SETUP_OBJ(obj,self)
432 MkLogV_4M(hdl,prefix,0,"self<%p>, type<%s>, refCount<%li>\n", obj, Py_TYPE(obj)->tp_name, (long) Py_REFCNT(obj)-1);
434 goto end;
435error:
437end:
439}

◆ pymqmsgque_MqContextC_selfCreate()

static MK_PTR pymqmsgque_MqContextC_selfCreate ( MK_RT mkrt,
MK_OBJ const obj,
MK_PTR const env )
static

Definition at line 51 of file MqContextC_py.c.

51 {
52 return MK(AtomCreate) (MK_RT_CALL OT_CLASS,obj);
53}

◆ pymqmsgque_MqContextC_selfDelete()

static void pymqmsgque_MqContextC_selfDelete ( MK_RT mkrt,
MK_PTR self,
MK_PTR const env )
static

Definition at line 55 of file MqContextC_py.c.

55 {
56 MK(AtomDeleteHard) (MK_RT_CALL OT_SELF);
57}
#define OT_SELF

◆ pymqmsgque_MqContextC_selfUnlink()

static void pymqmsgque_MqContextC_selfUnlink ( MK_RT mkrt,
MK_PTR self,
MK_PTR const env )
static

Definition at line 59 of file MqContextC_py.c.

59 {
60 MkObjectC_Obj *selfO = (MkObjectC_Obj*) self;
61 selfO->hdl = NULL;
62}
PyObject_HEAD MK_OBJ hdl

◆ pymqmsgque_pMqContextC_Init()

int pymqmsgque_pMqContextC_Init ( MK_RT mkrt,
OT_OBJ_T m )

Definition at line 3954 of file MqContextC_py.c.

3954 {
3956
3957 // define type
3958 MqContextCTT = MkTypeDup2(MqContextC_TT,"PyMqContextC");
3959 MqContextCT->fIncrSelf = NS(sIncrSelf);
3960 MqContextCT->fDecrSelf = NS(sDecrSelf);
3961// >> replaced by os_fork
3962// MqContextCT->fParentBeforeFork = NS(sParentBeforeFork);
3963// MqContextCT->fParentAfterFork = NS(sParentAfterFork);
3964// MqContextCT->fChildAfterFork = NS(sChildAfterFork);
3965 MqContextCT->MqProcessExitCB = NS(sProcessExit);
3966 MqContextCT->MqThreadExitCB = NS(sThreadExit);
3967 //MqContextCT->ignoreDisasterSetup = true;
3968 MqContextCT->ignoreThread = true;
3969
3970 ClassInit
3971
3972 return 0;
3973error:
3974 return -1;
3975}
#define ClassInit
#define MkTypeDup2(...)
#define MqContextCT
class as MqTypeCtxS-class-type for MqContextC in the Target-Programming-Language (TPL) …
#define MqContextC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
#define MQ_STATIC_RT

◆ pymqmsgque_sChildAfterFork()

static MK_UNUSED void pymqmsgque_sChildAfterFork ( MQ_CTX mqctx)
static

Definition at line 3871 of file MqContextC_py.c.

3871 {
3872 PyOS_AfterFork_Child();
3873}

◆ pymqmsgque_sDecrSelf()

static void pymqmsgque_sDecrSelf ( MK_RT mkrt,
MQ_CTX hdl,
MK_PTR const env )
static

Definition at line 3882 of file MqContextC_py.c.

3882 {
3883 OT_OBJ_T self = OT_SELF_X(hdl);
3884 Py_CLEAR(self);
3885}
#define OT_SELF_X(x)
PyObject * OT_OBJ_T

◆ pymqmsgque_sIncrSelf()

static void pymqmsgque_sIncrSelf ( MK_RT mkrt,
MQ_CTX hdl,
MK_PTR const env )
static

Definition at line 3877 of file MqContextC_py.c.

3877 {
3879 Py_INCREF(self);
3880}
#define OT_SETUP_self

◆ pymqmsgque_sMqContextC_Repr()

static PyObject * pymqmsgque_sMqContextC_Repr ( MqContextC_Obj * self)
static

Definition at line 3910 of file MqContextC_py.c.

3911{
3913 return PyUnicode_FromFormat("%s={nm:%s|sf:%p|rf:%i|cx:%p}",Py_TYPE(self)->tp_name,MqConfigGetName(hdl),self,Py_REFCNT(self)-1,hdl);
3914error:
3915 return NULL;
3916}
static MK_STRN MqConfigGetName(MQ_CTXN const ctx)
get the name of the context object

◆ pymqmsgque_sMqContextC_Str()

static PyObject * pymqmsgque_sMqContextC_Str ( MqContextC_Obj * self)
static

Definition at line 3905 of file MqContextC_py.c.

3905 {
3906 MkRtSetup_X(self->hdl);
3907 return STRN2VAL(MkSysPrintF("MqContextC[%s]", self->hdl ? MqConfigGetName(self->hdl) : NULL));
3908}
#define STRN2VAL(nat)
#define MkSysPrintF(...)
#define MkRtSetup_X(x)
PyObject_HEAD MQ_CTX hdl

◆ pymqmsgque_sParentAfterFork()

static MK_UNUSED void pymqmsgque_sParentAfterFork ( MQ_CTX mqctx)
static

Definition at line 3867 of file MqContextC_py.c.

3867 {
3868 PyOS_AfterFork_Parent();
3869}

◆ pymqmsgque_sParentBeforeFork()

static MK_UNUSED void pymqmsgque_sParentBeforeFork ( MQ_CTX mqctx)
static

Definition at line 3863 of file MqContextC_py.c.

3863 {
3864 PyOS_BeforeFork();
3865}

◆ pymqmsgque_sProcessExit()

static int pymqmsgque_sProcessExit ( MK_RT mkrt,
int num )
static

Definition at line 3887 of file MqContextC_py.c.

3887 {
3888//MqDLogX(context,__func__,0,"self<%p>, refCount<%li>\n", context->obj.self, ((PyObject*)context->obj.self)->ob_refcnt);
3889 Py_Exit(num);
3890 return num;
3891}
static MK_UNUSED int num

◆ pymqmsgque_sThreadExit()

static MK_UNUSED int pymqmsgque_sThreadExit ( MK_RT mkrt,
int num )
static

Definition at line 3893 of file MqContextC_py.c.

3893 {
3894//MqDLogX(context,__func__,0,"self<%p>, refCount<%li>\n", context->obj.self, ((PyObject*)context->obj.self)->ob_refcnt);
3895
3896//mk_dbg_color_ln(MK_COLOR_RED,"%s, current state<%p>, rt state<%p>", "thread EXIT", PyThreadState_Get(), MK_RT_REF.mkThreadData);
3897
3898 Py_EndInterpreter(MK_RT_REF.mkThreadData.ptr);
3899
3900 MK_RT_REF.mkThreadData.ptr = NULL;
3901
3902 return num;
3903}
#define MK_RT_REF

Variable Documentation

◆ pymqmsgque_MqContextC_Methods

PyMethodDef pymqmsgque_MqContextC_Methods[]
static

Object definition

Definition at line 3599 of file MqContextC_py.c.

3599 {
3600
3601 { "Debug", (PyCFunction) NS(MqContextC_Debug), METH_VARARGS, "debugging…" },
3602 { "Debug2", (PyCFunction) NS(MqContextC_Debug2), METH_VARARGS, "debugging…" },
3603 { "ReadLIST", (PyCFunction) NS(MqContextC_ReadLIST), METH_NOARGS, "read entire list…" },
3604
3605 // BEGIN-CLASS - created by 'py_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
3606
3607 // doc-key: MqContextC,MqContext,sCc
3608 { "Create" , (PyCFunction) NS(MqContextC_Create) , METH_VARARGS|METH_CLASS , Create_doc },
3609
3610 // doc-key: MqContextC,MqContext,sc_
3611 { "GetNull" , (PyCFunction) NS(MqContextC_GetNull) , METH_NOARGS|METH_CLASS , GetNull_doc },
3612 { "HandleResolve" , (PyCFunction) NS(MqContextC_HandleResolve) , METH_O|METH_CLASS , HandleResolve_doc },
3613 { "Instances" , (PyCFunction) NS(MqContextC_Instances) , METH_NOARGS|METH_CLASS , Instances_doc },
3614
3615 // END-CLASS - created by 'py_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
3616
3617 // BEGIN-OBJ - created by 'py_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
3618
3619 // doc-key: MqContextC,MqClass,oc_
3620 { "ClassFactoryGet" , (PyCFunction) NS(MqContextC_ClassFactoryGet) , METH_NOARGS , ClassFactoryGet_doc },
3621
3622 // doc-key: MqContextC,MqClass,om_
3623 { "ClassFactorySet" , (PyCFunction) NS(MqContextC_ClassFactorySet) , METH_O , ClassFactorySet_doc },
3624 { "ClassIdentGet" , (PyCFunction) NS(MqContextC_ClassIdentGet) , METH_NOARGS , ClassIdentGet_doc },
3625 { "ClassIdentSet" , (PyCFunction) NS(MqContextC_ClassIdentSet) , METH_O , ClassIdentSet_doc },
3626 { "ClassOriginalIdentGet" , (PyCFunction) NS(MqContextC_ClassOriginalIdentGet) , METH_NOARGS , ClassOriginalIdentGet_doc },
3627
3628 // doc-key: MqContextC,MqConfig,oco
3629 { "ConfigGetIoTcpL" , (PyCFunction) NS(MqContextC_ConfigGetIoTcpL) , METH_NOARGS , ConfigGetIoTcpL_doc },
3630
3631 // doc-key: MqContextC,MqConfig,om_
3632 { "ConfigCheckStartAs" , (PyCFunction) NS(MqContextC_ConfigCheckStartAs) , METH_O , ConfigCheckStartAs_doc },
3633 { "ConfigGetBuffersize" , (PyCFunction) NS(MqContextC_ConfigGetBuffersize) , METH_NOARGS , ConfigGetBuffersize_doc },
3634 { "ConfigGetIdentFrom" , (PyCFunction) NS(MqContextC_ConfigGetIdentFrom) , METH_NOARGS , ConfigGetIdentFrom_doc },
3635 { "ConfigGetIoPipe" , (PyCFunction) NS(MqContextC_ConfigGetIoPipe) , METH_NOARGS , ConfigGetIoPipe_doc },
3636 { "ConfigGetIoUds" , (PyCFunction) NS(MqContextC_ConfigGetIoUds) , METH_NOARGS , ConfigGetIoUds_doc },
3637 { "ConfigGetIsParent" , (PyCFunction) NS(MqContextC_ConfigGetIsParent) , METH_NOARGS , ConfigGetIsParent_doc },
3638 { "ConfigGetIsServer" , (PyCFunction) NS(MqContextC_ConfigGetIsServer) , METH_NOARGS , ConfigGetIsServer_doc },
3639 { "ConfigGetIsString" , (PyCFunction) NS(MqContextC_ConfigGetIsString) , METH_NOARGS , ConfigGetIsString_doc },
3640 { "ConfigGetName" , (PyCFunction) NS(MqContextC_ConfigGetName) , METH_NOARGS , ConfigGetName_doc },
3641 { "ConfigGetPkgsize" , (PyCFunction) NS(MqContextC_ConfigGetPkgsize) , METH_NOARGS , ConfigGetPkgsize_doc },
3642 { "ConfigGetPostfix" , (PyCFunction) NS(MqContextC_ConfigGetPostfix) , METH_NOARGS , ConfigGetPostfix_doc },
3643 { "ConfigGetPrefix" , (PyCFunction) NS(MqContextC_ConfigGetPrefix) , METH_NOARGS , ConfigGetPrefix_doc },
3644 { "ConfigGetStartAs" , (PyCFunction) NS(MqContextC_ConfigGetStartAs) , METH_NOARGS , ConfigGetStartAs_doc },
3645 { "ConfigGetStatusIs" , (PyCFunction) NS(MqContextC_ConfigGetStatusIs) , METH_NOARGS , ConfigGetStatusIs_doc },
3646 { "ConfigGetStorage" , (PyCFunction) NS(MqContextC_ConfigGetStorage) , METH_NOARGS , ConfigGetStorage_doc },
3647 { "ConfigGetTimeout" , (PyCFunction) NS(MqContextC_ConfigGetTimeout) , METH_NOARGS , ConfigGetTimeout_doc },
3648 { "ConfigReset" , (PyCFunction) NS(MqContextC_ConfigReset) , METH_NOARGS , ConfigReset_doc },
3649 { "ConfigSetAllDebug" , (PyCFunction) NS(MqContextC_ConfigSetAllDebug) , METH_O , ConfigSetAllDebug_doc },
3650 { "ConfigSetBgError" , (PyCFunction) NS(MqContextC_ConfigSetBgError) , METH_VARARGS , ConfigSetBgError_doc },
3651 { "ConfigSetBuffersize" , (PyCFunction) NS(MqContextC_ConfigSetBuffersize) , METH_O , ConfigSetBuffersize_doc },
3652 { "ConfigSetConfigFile" , (PyCFunction) NS(MqContextC_ConfigSetConfigFile) , METH_O , ConfigSetConfigFile_doc },
3653 { "ConfigSetDaemon" , (PyCFunction) NS(MqContextC_ConfigSetDaemon) , METH_O , ConfigSetDaemon_doc },
3654 { "ConfigSetEvent" , (PyCFunction) NS(MqContextC_ConfigSetEvent) , METH_VARARGS , ConfigSetEvent_doc },
3655 { "ConfigSetIdentFrom" , (PyCFunction) NS(MqContextC_ConfigSetIdentFrom) , METH_O , ConfigSetIdentFrom_doc },
3656 { "ConfigSetIgnoreExit" , (PyCFunction) NS(MqContextC_ConfigSetIgnoreExit) , METH_O , ConfigSetIgnoreExit_doc },
3657 { "ConfigSetIoPipe" , (PyCFunction) NS(MqContextC_ConfigSetIoPipe) , METH_O , ConfigSetIoPipe_doc },
3658 { "ConfigSetIoTcp" , (PyCFunction) NS(MqContextC_ConfigSetIoTcp) , METH_VARARGS , ConfigSetIoTcp_doc },
3659 { "ConfigSetIoTcpL" , (PyCFunction) NS(MqContextC_ConfigSetIoTcpL) , METH_O , ConfigSetIoTcpL_doc },
3660 { "ConfigSetIoUds" , (PyCFunction) NS(MqContextC_ConfigSetIoUds) , METH_O , ConfigSetIoUds_doc },
3661 { "ConfigSetIsServer" , (PyCFunction) NS(MqContextC_ConfigSetIsServer) , METH_O , ConfigSetIsServer_doc },
3662 { "ConfigSetIsString" , (PyCFunction) NS(MqContextC_ConfigSetIsString) , METH_O , ConfigSetIsString_doc },
3663 { "ConfigSetName" , (PyCFunction) NS(MqContextC_ConfigSetName) , METH_O , ConfigSetName_doc },
3664 { "ConfigSetPkgsize" , (PyCFunction) NS(MqContextC_ConfigSetPkgsize) , METH_O , ConfigSetPkgsize_doc },
3665 { "ConfigSetPostfix" , (PyCFunction) NS(MqContextC_ConfigSetPostfix) , METH_O , ConfigSetPostfix_doc },
3666 { "ConfigSetPrefix" , (PyCFunction) NS(MqContextC_ConfigSetPrefix) , METH_O , ConfigSetPrefix_doc },
3667 { "ConfigSetServerCleanup" , (PyCFunction) NS(MqContextC_ConfigSetServerCleanup) , METH_VARARGS , ConfigSetServerCleanup_doc },
3668 { "ConfigSetServerSetup" , (PyCFunction) NS(MqContextC_ConfigSetServerSetup) , METH_VARARGS , ConfigSetServerSetup_doc },
3669 { "ConfigSetStartAs" , (PyCFunction) NS(MqContextC_ConfigSetStartAs) , METH_O , ConfigSetStartAs_doc },
3670 { "ConfigSetStartAsString" , (PyCFunction) NS(MqContextC_ConfigSetStartAsString) , METH_O , ConfigSetStartAsString_doc },
3671 { "ConfigSetStorage" , (PyCFunction) NS(MqContextC_ConfigSetStorage) , METH_O , ConfigSetStorage_doc },
3672 { "ConfigSetTimeout" , (PyCFunction) NS(MqContextC_ConfigSetTimeout) , METH_O , ConfigSetTimeout_doc },
3673
3674 // doc-key: MqContextC,MqConfig,omo
3675 { "ConfigGetIoTcp" , (PyCFunction) NS(MqContextC_ConfigGetIoTcp) , METH_NOARGS , ConfigGetIoTcp_doc },
3676
3677 // doc-key: MqContextC,MqContext,oc_
3678 { "ErrorFORMAT" , (PyCFunction) NS(MqContextC_ErrorFORMAT) , METH_NOARGS , ErrorFORMAT_doc },
3679 { "GetBuffer" , (PyCFunction) NS(MqContextC_GetBuffer) , METH_NOARGS , GetBuffer_doc },
3680 { "Next" , (PyCFunction) NS(MqContextC_Next) , METH_NOARGS , Next_doc },
3681 { "Prev" , (PyCFunction) NS(MqContextC_Prev) , METH_NOARGS , Prev_doc },
3682
3683 // doc-key: MqContextC,MqContext,om_
3684 { "ErrorCopy" , (PyCFunction) NS(MqContextC_ErrorCopy) , METH_O , ErrorCopy_doc },
3685 { "ErrorMove" , (PyCFunction) NS(MqContextC_ErrorMove) , METH_O , ErrorMove_doc },
3686 // skip class-overload: MqContextHandleGet → HandleGet, NS(MqContextC_HandleGet)
3687 // skip class-overload: MqContextLog → Log, NS(MqContextC_Log)
3688 { "LogConfig" , (PyCFunction) NS(MqContextC_LogConfig) , METH_VARARGS , LogConfig_doc },
3689 { "LogEnv" , (PyCFunction) NS(MqContextC_LogEnv) , METH_VARARGS , LogEnv_doc },
3690 { "LogLink" , (PyCFunction) NS(MqContextC_LogLink) , METH_VARARGS , LogLink_doc },
3691 { "LogSetup" , (PyCFunction) NS(MqContextC_LogSetup) , METH_VARARGS , LogSetup_doc },
3692 { "LogShort" , (PyCFunction) NS(MqContextC_LogShort) , METH_VARARGS , LogShort_doc },
3693 { "LogType" , (PyCFunction) NS(MqContextC_LogType) , METH_VARARGS , LogType_doc },
3694 // skip class-overload: MqContextToString → ToString, NS(MqContextC_ToString)
3695
3696 // doc-key: MqContextC,MqEnv,om_
3697 { "EnvProtect" , (PyCFunction) NS(MqContextC_EnvProtect) , METH_NOARGS , EnvProtect_doc },
3698 { "EnvRestore" , (PyCFunction) NS(MqContextC_EnvRestore) , METH_NOARGS , EnvRestore_doc },
3699
3700 // doc-key: MqContextC,MqExit,om_
3701 { "Exit" , (PyCFunction) NS(MqContextC_Exit) , METH_VARARGS , Exit_doc },
3702
3703 // doc-key: MqContextC,MqGet,oc_
3704 { "GetRoot" , (PyCFunction) NS(MqContextC_GetRoot) , METH_NOARGS , GetRoot_doc },
3705
3706 // doc-key: MqContextC,MqLink,oc_
3707 { "LinkGetParent" , (PyCFunction) NS(MqContextC_LinkGetParent) , METH_NOARGS , LinkGetParent_doc },
3708
3709 // doc-key: MqContextC,MqLink,om_
3710 { "LinkConnect" , (PyCFunction) NS(MqContextC_LinkConnect) , METH_NOARGS , LinkConnect_doc },
3711 { "LinkCreate" , (PyCFunction) NS(MqContextC_LinkCreate) , METH_VARARGS , LinkCreate_doc },
3712 { "LinkCreateChild" , (PyCFunction) NS(MqContextC_LinkCreateChild) , METH_VARARGS , LinkCreateChild_doc },
3713 { "LinkDelete" , (PyCFunction) NS(MqContextC_LinkDelete) , METH_NOARGS , LinkDelete_doc },
3714 { "LinkGetCtxId" , (PyCFunction) NS(MqContextC_LinkGetCtxId) , METH_NOARGS , LinkGetCtxId_doc },
3715 { "LinkGetTargetIdent" , (PyCFunction) NS(MqContextC_LinkGetTargetIdent) , METH_NOARGS , LinkGetTargetIdent_doc },
3716 { "LinkIsConnected" , (PyCFunction) NS(MqContextC_LinkIsConnected) , METH_NOARGS , LinkIsConnected_doc },
3717 { "LinkIsParent" , (PyCFunction) NS(MqContextC_LinkIsParent) , METH_NOARGS , LinkIsParent_doc },
3718 { "LinkShutdown" , (PyCFunction) NS(MqContextC_LinkShutdown) , METH_NOARGS , LinkShutdown_doc },
3719
3720 // doc-key: MqContextC,MqLog,om_
3721 { "LogParentOrChild" , (PyCFunction) NS(MqContextC_LogParentOrChild) , METH_NOARGS , LogParentOrChild_doc },
3722 { "LogServerOrClient" , (PyCFunction) NS(MqContextC_LogServerOrClient) , METH_NOARGS , LogServerOrClient_doc },
3723
3724 // doc-key: MqContextC,MqProcess,om_
3725 { "ProcessEvent" , (PyCFunction) NS(MqContextC_ProcessEvent) , METH_VARARGS , ProcessEvent_doc },
3726
3727 // doc-key: MqContextC,MqProxy,om_
3728 { "ProxyForward" , (PyCFunction) NS(MqContextC_ProxyForward) , METH_VARARGS , ProxyForward_doc },
3729 { "ProxyItem" , (PyCFunction) NS(MqContextC_ProxyItem) , METH_O , ProxyItem_doc },
3730
3731 // doc-key: MqContextC,MqRead,oci
3732 { "ReadALL" , (PyCFunction) NS(MqContextC_ReadALL) , METH_VARARGS , ReadALL_doc },
3733
3734 // doc-key: MqContextC,MqRead,oco
3735 { "ReadBFL" , (PyCFunction) NS(MqContextC_ReadBFL) , METH_NOARGS , ReadBFL_doc },
3736 { "ReadBUF" , (PyCFunction) NS(MqContextC_ReadBUF) , METH_NOARGS , ReadBUF_doc },
3737
3738 // doc-key: MqContextC,MqRead,om_
3739 { "ReadDbg" , (PyCFunction) NS(MqContextC_ReadDbg) , METH_NOARGS , ReadDbg_doc },
3740 { "ReadGetNextType" , (PyCFunction) NS(MqContextC_ReadGetNextType) , METH_NOARGS , ReadGetNextType_doc },
3741 { "ReadGetNumItems" , (PyCFunction) NS(MqContextC_ReadGetNumItems) , METH_NOARGS , ReadGetNumItems_doc },
3742 { "ReadItemExists" , (PyCFunction) NS(MqContextC_ReadItemExists) , METH_NOARGS , ReadItemExists_doc },
3743 { "ReadL_END" , (PyCFunction) NS(MqContextC_ReadL_END) , METH_NOARGS , ReadL_END_doc },
3744 { "ReadL_START" , (PyCFunction) NS(MqContextC_ReadL_START) , METH_VARARGS , ReadL_START_doc },
3745 { "ReadT_END" , (PyCFunction) NS(MqContextC_ReadT_END) , METH_NOARGS , ReadT_END_doc },
3746 { "ReadT_START" , (PyCFunction) NS(MqContextC_ReadT_START) , METH_NOARGS , ReadT_START_doc },
3747 { "ReadUndo" , (PyCFunction) NS(MqContextC_ReadUndo) , METH_NOARGS , ReadUndo_doc },
3748
3749 // doc-key: MqContextC,MqRead,omo
3750 { "ReadBIN" , (PyCFunction) NS(MqContextC_ReadBIN) , METH_NOARGS , ReadBIN_doc },
3751 { "ReadBOL" , (PyCFunction) NS(MqContextC_ReadBOL) , METH_NOARGS , ReadBOL_doc },
3752 { "ReadBinaryR" , (PyCFunction) NS(MqContextC_ReadBinaryR) , METH_NOARGS , ReadBinaryR_doc },
3753 { "ReadDBL" , (PyCFunction) NS(MqContextC_ReadDBL) , METH_NOARGS , ReadDBL_doc },
3754 { "ReadFLT" , (PyCFunction) NS(MqContextC_ReadFLT) , METH_NOARGS , ReadFLT_doc },
3755 { "ReadHDL" , (PyCFunction) NS(MqContextC_ReadHDL) , METH_NOARGS , ReadHDL_doc },
3756 { "ReadI16" , (PyCFunction) NS(MqContextC_ReadI16) , METH_NOARGS , ReadI16_doc },
3757 { "ReadI32" , (PyCFunction) NS(MqContextC_ReadI32) , METH_NOARGS , ReadI32_doc },
3758 { "ReadI64" , (PyCFunction) NS(MqContextC_ReadI64) , METH_NOARGS , ReadI64_doc },
3759 { "ReadI8" , (PyCFunction) NS(MqContextC_ReadI8) , METH_NOARGS , ReadI8_doc },
3760 { "ReadLIST" , (PyCFunction) NS(MqContextC_ReadLIST) , METH_NOARGS , ReadLIST_doc },
3761 { "ReadLONG" , (PyCFunction) NS(MqContextC_ReadLONG) , METH_NOARGS , ReadLONG_doc },
3762 { "ReadNEXT" , (PyCFunction) NS(MqContextC_ReadNEXT) , METH_NOARGS , ReadNEXT_doc },
3763 { "ReadSTR" , (PyCFunction) NS(MqContextC_ReadSTR) , METH_NOARGS , ReadSTR_doc },
3764 { "ReadStringR" , (PyCFunction) NS(MqContextC_ReadStringR) , METH_NOARGS , ReadStringR_doc },
3765
3766 // doc-key: MqContextC,MqRoute,oco
3767 { "RouteGetTree" , (PyCFunction) NS(MqContextC_RouteGetTree) , METH_NOARGS , RouteGetTree_doc },
3768
3769 // doc-key: MqContextC,MqRoute,om_
3770 { "RouteCreate" , (PyCFunction) NS(MqContextC_RouteCreate) , METH_VARARGS , RouteCreate_doc },
3771 { "RouteDelete" , (PyCFunction) NS(MqContextC_RouteDelete) , METH_VARARGS , RouteDelete_doc },
3772 { "RouteResolve" , (PyCFunction) NS(MqContextC_RouteResolve) , METH_VARARGS , RouteResolve_doc },
3773 { "RouteTraverse" , (PyCFunction) NS(MqContextC_RouteTraverse) , METH_VARARGS , RouteTraverse_doc },
3774
3775 // doc-key: MqContextC,MqRoute,omo
3776 { "RouteGetPath" , (PyCFunction) NS(MqContextC_RouteGetPath) , METH_NOARGS , RouteGetPath_doc },
3777
3778 // doc-key: MqContextC,MqSend,om_
3779 { "Send" , (PyCFunction) NS(MqContextC_Send) , METH_VARARGS , Send_doc },
3780 { "SendBFL" , (PyCFunction) NS(MqContextC_SendBFL) , METH_O , SendBFL_doc },
3781 { "SendBIN" , (PyCFunction) NS(MqContextC_SendBIN) , METH_O , SendBIN_doc },
3782 { "SendBOL" , (PyCFunction) NS(MqContextC_SendBOL) , METH_O , SendBOL_doc },
3783 { "SendBUF" , (PyCFunction) NS(MqContextC_SendBUF) , METH_O , SendBUF_doc },
3784 { "SendBUS_FLAT" , (PyCFunction) NS(MqContextC_SendBUS_FLAT) , METH_O , SendBUS_FLAT_doc },
3785 { "SendBinaryR" , (PyCFunction) NS(MqContextC_SendBinaryR) , METH_O , SendBinaryR_doc },
3786 { "SendDBL" , (PyCFunction) NS(MqContextC_SendDBL) , METH_O , SendDBL_doc },
3787 { "SendEND" , (PyCFunction) NS(MqContextC_SendEND) , METH_VARARGS , SendEND_doc },
3788 { "SendEND_AND_CALLBACK" , (PyCFunction) NS(MqContextC_SendEND_AND_CALLBACK) , METH_VARARGS , SendEND_AND_CALLBACK_doc },
3789 { "SendEND_AND_SUB" , (PyCFunction) NS(MqContextC_SendEND_AND_SUB) , METH_VARARGS , SendEND_AND_SUB_doc },
3790 { "SendEND_AND_TRANSACTION" , (PyCFunction) NS(MqContextC_SendEND_AND_TRANSACTION) , METH_VARARGS , SendEND_AND_TRANSACTION_doc },
3791 { "SendEND_AND_WAIT" , (PyCFunction) NS(MqContextC_SendEND_AND_WAIT) , METH_VARARGS , SendEND_AND_WAIT_doc },
3792 { "SendERROR" , (PyCFunction) NS(MqContextC_SendERROR) , METH_NOARGS , SendERROR_doc },
3793 { "SendFLT" , (PyCFunction) NS(MqContextC_SendFLT) , METH_O , SendFLT_doc },
3794 { "SendHDL" , (PyCFunction) NS(MqContextC_SendHDL) , METH_O , SendHDL_doc },
3795 { "SendI16" , (PyCFunction) NS(MqContextC_SendI16) , METH_O , SendI16_doc },
3796 { "SendI32" , (PyCFunction) NS(MqContextC_SendI32) , METH_O , SendI32_doc },
3797 { "SendI64" , (PyCFunction) NS(MqContextC_SendI64) , METH_O , SendI64_doc },
3798 { "SendI8" , (PyCFunction) NS(MqContextC_SendI8) , METH_O , SendI8_doc },
3799 { "SendLONG" , (PyCFunction) NS(MqContextC_SendLONG) , METH_O , SendLONG_doc },
3800 { "SendLTR" , (PyCFunction) NS(MqContextC_SendLTR) , METH_O , SendLTR_doc },
3801 { "SendL_END" , (PyCFunction) NS(MqContextC_SendL_END) , METH_NOARGS , SendL_END_doc },
3802 { "SendL_FLAT" , (PyCFunction) NS(MqContextC_SendL_FLAT) , METH_O , SendL_FLAT_doc },
3803 { "SendL_START" , (PyCFunction) NS(MqContextC_SendL_START) , METH_NOARGS , SendL_START_doc },
3804 { "SendRETURN" , (PyCFunction) NS(MqContextC_SendRETURN) , METH_NOARGS , SendRETURN_doc },
3805 { "SendRETURN_SUB" , (PyCFunction) NS(MqContextC_SendRETURN_SUB) , METH_NOARGS , SendRETURN_SUB_doc },
3806 { "SendSTART" , (PyCFunction) NS(MqContextC_SendSTART) , METH_NOARGS , SendSTART_doc },
3807 { "SendSTR" , (PyCFunction) NS(MqContextC_SendSTR) , METH_O , SendSTR_doc },
3808 { "SendSYNC" , (PyCFunction) NS(MqContextC_SendSYNC) , METH_NOARGS , SendSYNC_doc },
3809 { "SendStringR" , (PyCFunction) NS(MqContextC_SendStringR) , METH_O , SendStringR_doc },
3810 { "SendT_END" , (PyCFunction) NS(MqContextC_SendT_END) , METH_NOARGS , SendT_END_doc },
3811 { "SendT_START" , (PyCFunction) NS(MqContextC_SendT_START) , METH_NOARGS , SendT_START_doc },
3812
3813 // doc-key: MqContextC,MqService,om_
3814 { "ServiceCreate" , (PyCFunction) NS(MqContextC_ServiceCreate) , METH_VARARGS , ServiceCreate_doc },
3815 { "ServiceDelete" , (PyCFunction) NS(MqContextC_ServiceDelete) , METH_O , ServiceDelete_doc },
3816 { "ServiceIsTransaction" , (PyCFunction) NS(MqContextC_ServiceIsTransaction) , METH_NOARGS , ServiceIsTransaction_doc },
3817 { "ServiceProxy" , (PyCFunction) NS(MqContextC_ServiceProxy) , METH_VARARGS , ServiceProxy_doc },
3818 { "ServiceProxyCtx" , (PyCFunction) NS(MqContextC_ServiceProxyCtx) , METH_VARARGS , ServiceProxyCtx_doc },
3819 { "ServiceProxyCtxExists" , (PyCFunction) NS(MqContextC_ServiceProxyCtxExists) , METH_VARARGS , ServiceProxyCtxExists_doc },
3820 { "ServiceProxyRoundRobin" , (PyCFunction) NS(MqContextC_ServiceProxyRoundRobin) , METH_VARARGS , ServiceProxyRoundRobin_doc },
3821 { "ServiceStorage" , (PyCFunction) NS(MqContextC_ServiceStorage) , METH_O , ServiceStorage_doc },
3822 { "ServiceTokenCheck" , (PyCFunction) NS(MqContextC_ServiceTokenCheck) , METH_O , ServiceTokenCheck_doc },
3823 { "ServiceTokenExists" , (PyCFunction) NS(MqContextC_ServiceTokenExists) , METH_O , ServiceTokenExists_doc },
3824 { "ServiceTokenGet" , (PyCFunction) NS(MqContextC_ServiceTokenGet) , METH_NOARGS , ServiceTokenGet_doc },
3825
3826 // doc-key: MqContextC,MqSlave,oc_
3827 { "SlaveGetMaster" , (PyCFunction) NS(MqContextC_SlaveGetMaster) , METH_NOARGS , SlaveGetMaster_doc },
3828
3829 // doc-key: MqContextC,MqSlave,oco
3830 { "SlaveGet" , (PyCFunction) NS(MqContextC_SlaveGet) , METH_O , SlaveGet_doc },
3831 { "SlaveGetFilter" , (PyCFunction) NS(MqContextC_SlaveGetFilter) , METH_NOARGS , SlaveGetFilter_doc },
3832 { "SlaveGetProxy" , (PyCFunction) NS(MqContextC_SlaveGetProxy) , METH_O , SlaveGetProxy_doc },
3833
3834 // doc-key: MqContextC,MqSlave,om_
3835 { "SlaveCheck" , (PyCFunction) NS(MqContextC_SlaveCheck) , METH_O , SlaveCheck_doc },
3836 { "SlaveCreate" , (PyCFunction) NS(MqContextC_SlaveCreate) , METH_VARARGS , SlaveCreate_doc },
3837 { "SlaveDelete" , (PyCFunction) NS(MqContextC_SlaveDelete) , METH_O , SlaveDelete_doc },
3838 { "SlaveIs" , (PyCFunction) NS(MqContextC_SlaveIs) , METH_NOARGS , SlaveIs_doc },
3839 { "SlaveWorker" , (PyCFunction) NS(MqContextC_SlaveWorker) , METH_VARARGS , SlaveWorker_doc },
3840
3841 // doc-key: MqContextC,MqStorage,oci
3842 { "StorageDelete" , (PyCFunction) NS(MqContextC_StorageDelete) , METH_VARARGS , StorageDelete_doc },
3843 { "StorageImport" , (PyCFunction) NS(MqContextC_StorageImport) , METH_VARARGS , StorageImport_doc },
3844
3845 // doc-key: MqContextC,MqStorage,om_
3846 { "StorageClose" , (PyCFunction) NS(MqContextC_StorageClose) , METH_NOARGS , StorageClose_doc },
3847 { "StorageDecrRef" , (PyCFunction) NS(MqContextC_StorageDecrRef) , METH_O , StorageDecrRef_doc },
3848 { "StorageIncrRef" , (PyCFunction) NS(MqContextC_StorageIncrRef) , METH_O , StorageIncrRef_doc },
3849 { "StorageLog" , (PyCFunction) NS(MqContextC_StorageLog) , METH_VARARGS , StorageLog_doc },
3850 { "StorageOpen" , (PyCFunction) NS(MqContextC_StorageOpen) , METH_O , StorageOpen_doc },
3851
3852 // doc-key: MqContextC,MqStorage,omo
3853 { "StorageCount" , (PyCFunction) NS(MqContextC_StorageCount) , METH_NOARGS , StorageCount_doc },
3854 { "StorageErrCnt" , (PyCFunction) NS(MqContextC_StorageErrCnt) , METH_O , StorageErrCnt_doc },
3855 { "StorageExport" , (PyCFunction) NS(MqContextC_StorageExport) , METH_NOARGS , StorageExport_doc },
3856 { "StorageResolve" , (PyCFunction) NS(MqContextC_StorageResolve) , METH_NOARGS , StorageResolve_doc },
3857
3858 // END-OBJ - created by 'py_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
3859
3860 {NULL, NULL, 0, NULL} /* Sentinel */
3861};
#define ConfigGetStartAs_doc
#define ServiceTokenGet_doc
#define Instances_doc
#define ConfigGetIoTcp_doc
#define ProxyItem_doc
#define ConfigGetName_doc
#define SlaveCreate_doc
#define LogShort_doc
#define RouteCreate_doc
#define ConfigSetIoPipe_doc
#define ReadBIN_doc
#define ReadBUF_doc
#define ConfigGetIsString_doc
#define SendT_START_doc
#define LogType_doc
#define SendLONG_doc
#define StorageDelete_doc
#define SendBinaryR_doc
#define ServiceProxy_doc
#define ConfigSetIgnoreExit_doc
#define ConfigSetBgError_doc
#define SendEND_AND_WAIT_doc
#define ClassOriginalIdentGet_doc
#define StorageClose_doc
#define ServiceProxyRoundRobin_doc
#define ConfigCheckStartAs_doc
#define RouteDelete_doc
#define ConfigSetName_doc
#define StorageIncrRef_doc
#define ConfigSetIdentFrom_doc
#define ClassFactoryGet_doc
#define SlaveWorker_doc
#define SendSTART_doc
#define ReadUndo_doc
#define ProxyForward_doc
#define ReadBFL_doc
#define LinkDelete_doc
#define ConfigGetStatusIs_doc
#define SendL_END_doc
#define ConfigSetDaemon_doc
#define StorageDecrRef_doc
#define ConfigGetPrefix_doc
#define SlaveGetProxy_doc
#define ConfigSetAllDebug_doc
#define ReadI64_doc
#define LinkCreateChild_doc
#define ConfigSetBuffersize_doc
#define ServiceStorage_doc
#define GetBuffer_doc
#define GetRoot_doc
#define ConfigGetIdentFrom_doc
#define SendERROR_doc
#define ServiceTokenCheck_doc
#define ReadI32_doc
#define SlaveGetFilter_doc
#define ReadGetNextType_doc
#define ErrorFORMAT_doc
#define ServiceDelete_doc
#define EnvProtect_doc
#define LogConfig_doc
#define ProcessEvent_doc
#define SendI32_doc
#define LinkConnect_doc
#define ConfigSetIsString_doc
#define StorageCount_doc
#define ConfigSetTimeout_doc
#define LogParentOrChild_doc
#define RouteResolve_doc
#define ConfigSetPrefix_doc
#define LogServerOrClient_doc
#define ConfigSetIoTcp_doc
#define ConfigGetStorage_doc
#define SendStringR_doc
#define StorageOpen_doc
#define LogSetup_doc
#define SendBFL_doc
#define ConfigSetServerCleanup_doc
#define ErrorCopy_doc
#define ConfigGetTimeout_doc
#define GetNull_doc
#define ReadT_END_doc
#define ConfigGetPkgsize_doc
#define SendI16_doc
#define ConfigSetIoUds_doc
#define ConfigSetIsServer_doc
#define LinkIsConnected_doc
#define Next_doc
#define RouteGetPath_doc
#define SlaveGet_doc
#define ConfigSetConfigFile_doc
#define SendL_FLAT_doc
#define ConfigSetServerSetup_doc
#define RouteTraverse_doc
#define ConfigSetStorage_doc
#define SendSTR_doc
#define Send_doc
#define ReadNEXT_doc
#define SendEND_AND_TRANSACTION_doc
#define ConfigGetBuffersize_doc
#define ConfigGetIoUds_doc
#define ReadDbg_doc
#define SendBUS_FLAT_doc
#define Create_doc
#define ReadGetNumItems_doc
#define ServiceTokenExists_doc
#define ServiceCreate_doc
#define HandleResolve_doc
#define SendI64_doc
#define StorageResolve_doc
#define ReadL_END_doc
#define StorageLog_doc
#define ServiceProxyCtx_doc
#define LogLink_doc
#define SendEND_doc
#define Prev_doc
#define ClassIdentSet_doc
#define ReadHDL_doc
#define SendHDL_doc
#define SendDBL_doc
#define ConfigSetStartAsString_doc
#define ConfigGetIsServer_doc
#define ReadFLT_doc
#define StorageImport_doc
#define SendRETURN_SUB_doc
#define SendRETURN_doc
#define Exit_doc
#define SendLTR_doc
#define ReadALL_doc
#define ReadI8_doc
#define ReadBinaryR_doc
#define SendBIN_doc
#define EnvRestore_doc
#define ConfigGetIoPipe_doc
#define ReadLIST_doc
#define StorageErrCnt_doc
#define ClassIdentGet_doc
#define SendEND_AND_CALLBACK_doc
#define ConfigSetIoTcpL_doc
#define ReadDBL_doc
#define SendL_START_doc
#define RouteGetTree_doc
#define ConfigSetPkgsize_doc
#define ServiceProxyCtxExists_doc
#define LinkShutdown_doc
#define LinkCreate_doc
#define LogEnv_doc
#define ClassFactorySet_doc
#define SlaveGetMaster_doc
#define SlaveCheck_doc
#define ConfigSetPostfix_doc
#define SlaveIs_doc
#define ReadL_START_doc
#define ServiceIsTransaction_doc
#define ConfigGetIsParent_doc
#define LinkGetParent_doc
#define ReadI16_doc
#define StorageExport_doc
#define LinkGetTargetIdent_doc
#define SendI8_doc
#define ReadT_START_doc
#define ReadStringR_doc
#define SlaveDelete_doc
#define SendT_END_doc
#define ConfigReset_doc
#define ReadItemExists_doc
#define ReadLONG_doc
#define ConfigSetEvent_doc
#define ConfigGetPostfix_doc
#define LinkGetCtxId_doc
#define ConfigGetIoTcpL_doc
#define SendEND_AND_SUB_doc
#define LinkIsParent_doc
#define SendBUF_doc
#define ErrorMove_doc
#define ReadSTR_doc
#define SendSYNC_doc
#define SendBOL_doc
#define ConfigSetStartAs_doc
#define SendFLT_doc
#define ReadBOL_doc

◆ pymqmsgque_MqContextCR

OT_CLASS_TYPE_REF pymqmsgque_MqContextCR
Initial value:
= {
PyVarObject_HEAD_INIT(NULL, 0)
.tp_name = "pymqmsgque.MqContextC",
.tp_basicsize = sizeof(MqContextC_Obj),
.tp_itemsize = 0,
.tp_new = (newfunc) pymqmsgque_MqContextC_new ,
.tp_doc = MqContextC_Doc,
.tp_str = (reprfunc) pymqmsgque_sMqContextC_Str ,
.tp_repr = (reprfunc) pymqmsgque_sMqContextC_Repr ,
.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
.tp_base = NULL
}
struct MqContextC_Obj MqContextC_Obj
static PyMethodDef pymqmsgque_MqContextC_Methods[]
static PyObject * pymqmsgque_sMqContextC_Repr(MqContextC_Obj *self)
static PyObject * pymqmsgque_sMqContextC_Str(MqContextC_Obj *self)
#define MqContextC_Doc
static OT_ProcRet pymqmsgque_MqContextC_new(CONSTR_ARGS)
Python: [constructor,static] MqContextC MqContextC.new(?tmpl:MqContextC=None?) → C-API create an...

Public API

Definition at line 3939 of file MqContextC_py.c.

3939 {
3940 PyVarObject_HEAD_INIT(NULL, 0)
3941 .tp_name = "pymqmsgque.MqContextC",
3942 .tp_basicsize = sizeof(MqContextC_Obj),
3943 .tp_itemsize = 0,
3944 .tp_new = (newfunc) NS(MqContextC_new),
3945 .tp_doc = MqContextC_Doc,
3946 .tp_methods = NS(MqContextC_Methods),
3947 .tp_str = (reprfunc) NS(sMqContextC_Str),
3948 .tp_repr = (reprfunc) NS(sMqContextC_Repr),
3949 .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
3950 .tp_base = NULL
3951};