theLink 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - rb - jv - cc
Loading...
Searching...
No Matches
MqContextC_py.c File Reference

MqContextC_py.c - 29 Oct 2024 - aotto1968. More...

#include "LibMqMsgque_private_py.h"
#include "tmpl/MqContextC_ReadNEXT_lng.h"
#include "tmpl/MqContextC_ReadLIST_lng.h"
+ 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 HandleGet_doc   "MK_HDL ctx.HandleGet()"
 
#define Log_doc   "ctx.Log(?fmtobj:MkObjectC=None?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (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 ToString_doc   "string ctx.ToString() (const)"
 
#define EnvProtect_doc   "ctx.EnvProtect()"
 
#define EnvRestore_doc   "ctx.EnvRestore()"
 
#define Exit_doc   "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 msgque 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\tclmsgque 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

OT_LNG_T py_mqmsgque_MqContextC_CTOR (MK_RT mkrt, OT_LNG_CLASS_T type, MQ_CTX hdl)
 
static MK_PTR py_mqmsgque_MqContextC_selfCreate (MK_RT mkrt, MK_OBJ const obj, MK_PTR const env)
 
static void py_mqmsgque_MqContextC_selfDelete (MK_RT mkrt, MK_PTR self, MK_PTR const env)
 
static void py_mqmsgque_MqContextC_selfUnlink (MK_RT mkrt, MK_PTR self, MK_PTR const env)
 
PyObject * py_mqmsgque_MqContextC_ReadNEXT (MqContextC_ARGS)
  Python: obj ctx.ReadNEXT() C-API
get the next argument as native object …
 
PyObject * py_mqmsgque_MqContextC_ReadLIST (MqContextC_ARGS)
  Python: [list...] ctx.ReadLIST() C-API
get all arguments as native list …
 
static PyObject * py_mqmsgque_MqContextC_Debug (MqContextC_ARGS)
 
static PyObject * py_mqmsgque_MqContextC_Debug2 (MqContextC_ARGS)
 
static OT_ProcRet py_mqmsgque_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…
 
static OT_ProcRet py_mqmsgque_MqContextC_Next (MqContextC_ARGS)
  Python: MqContextC ctx.Next() C-API
get next instance from linked-list of MqContextS type
 
static OT_ProcRet py_mqmsgque_MqContextC_Prev (MqContextC_ARGS)
  Python: MqContextC ctx.Prev() C-API
get previous instance from linked-list of MqContextS type
 
static OT_ProcRet py_mqmsgque_MqContextC_Instances (OtClass_ARGS)
  Python: [static] MqContextC MqContextC.Instances() C-API
get head-instance from linked-list of MqContextS type …
 
static OT_ProcRet py_mqmsgque_MqContextC_GetNull (OtClass_ARGS)
  Python: [static] MqContextC MqContextC.GetNull() C-API
Null-Slot - return a MqContextC typed NULL instance …
 
static OT_ProcRet py_mqmsgque_MqContextC_ClassFactoryGet (MqContextC_ARGS)
  Python: MqFactoryC ctx.ClassFactoryGet() C-API
get the MqFactoryC used by the MqContextC
 
static OT_ProcRet py_mqmsgque_MqContextC_ClassFactorySet (MqContextC_ARGS)
  Python: ctx.ClassFactorySet(item:MqFactoryC) C-API
link the MqContextC to a new MqFactoryC
 
static OT_ProcRet py_mqmsgque_MqContextC_ClassIdentGet (MqContextC_ARGS)
  Python: string ctx.ClassIdentGet() C-API
get the application-identification
 
static OT_ProcRet py_mqmsgque_MqContextC_ClassIdentSet (MqContextC_ARGS)
  Python: ctx.ClassIdentSet(ident:string) C-API
link the MqContextC to a new MqFactoryC identified by ident
 
static OT_ProcRet py_mqmsgque_MqContextC_ClassOriginalIdentGet (MqContextC_ARGS)
  Python: string ctx.ClassOriginalIdentGet() C-API
get the MqFactoryS::originalIdent from the MqContextC
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_ConfigGetBuffersize (MqContextC_ARGS)
  Python: int32 ctx.ConfigGetBuffersize() C-API
get the minimum of the read/send buffersize of the socket
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigGetIdentFrom (MqContextC_ARGS)
  Python: MqIdentE ctx.ConfigGetIdentFrom() C-API
get the MqConfigS::identFrom
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigGetIoPipe (MqContextC_ARGS)
  Python: int32 ctx.ConfigGetIoPipe() C-API
return the MqIoPipeConfigS
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigGetIoUds (MqContextC_ARGS)
  Python: string ctx.ConfigGetIoUds() C-API
return the MqIoUdsConfigS
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_ConfigGetIsServer (MqContextC_ARGS)
  Python: bool ctx.ConfigGetIsServer() C-API
does the context object is a server ?
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigGetIsString (MqContextC_ARGS)
  Python: bool ctx.ConfigGetIsString() C-API
does the context object is using the string-mode ?
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigGetName (MqContextC_ARGS)
  Python: string ctx.ConfigGetName() C-API
get the name of the context object
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigGetPkgsize (MqContextC_ARGS)
  Python: int32 ctx.ConfigGetPkgsize() C-API
get the maximun size of a BDY package
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigGetPostfix (MqContextC_ARGS)
  Python: string ctx.ConfigGetPostfix() C-API
get the MqConfigS::postfix
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigGetPrefix (MqContextC_ARGS)
  Python: string ctx.ConfigGetPrefix() C-API
get the MqConfigS::prefix
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigGetStartAs (MqContextC_ARGS)
  Python: MqStartE ctx.ConfigGetStartAs() C-API
return the MqConfigS::startAs value
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigGetStatusIs (MqContextC_ARGS)
  Python: MqStatusIsEF ctx.ConfigGetStatusIs() C-API
return the MqContextS::statusIs value
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigGetStorage (MqContextC_ARGS)
  Python: string ctx.ConfigGetStorage() C-API
get the storage of the context object
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigGetTimeout (MqContextC_ARGS)
  Python: MkTimeoutE|int32 ctx.ConfigGetTimeout() C-API
get the timeout value of the context object
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_ConfigSetBgError (MqContextC_ARGS)
  Python: ctx.ConfigSetBgError(?callback:callable=None?) C-API
set the MqSetupS::BgError
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigSetEvent (MqContextC_ARGS)
  Python: ctx.ConfigSetEvent(?callback:callable=None?) C-API
set the MqSetupS::Event
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigSetServerCleanup (MqContextC_ARGS)
  Python: ctx.ConfigSetServerCleanup(?callback:callable=None?) C-API
set the MqSetupS::ServerCleanup
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigSetServerSetup (MqContextC_ARGS)
  Python: ctx.ConfigSetServerSetup(?callback:callable=None?) C-API
set the MqSetupS::ServerSetup
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigReset (MqContextC_ARGS)
  Python: ctx.ConfigReset() C-API
clean the MqContextS::config data
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigCheckStartAs (MqContextC_ARGS)
  Python: bool ctx.ConfigCheckStartAs(data:MqStartE) C-API
check if MqConfigS::startAs can be set to data
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigSetAllDebug (MqContextC_ARGS)
  Python: ctx.ConfigSetAllDebug(data:int32) C-API
set the MkRuntimeS::debug value
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigSetBuffersize (MqContextC_ARGS)
  Python: ctx.ConfigSetBuffersize(data:int32) C-API
set the MqIoConfigS::buffersize value
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigSetDaemon (MqContextC_ARGS)
  Python: ctx.ConfigSetDaemon(pidfile:string) C-API
start the server-context as daemon …
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigSetIdentFrom (MqContextC_ARGS)
  Python: ctx.ConfigSetIdentFrom(data:MqIdentE) C-API
set the MqConfigS::identFrom value
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigSetIgnoreExit (MqContextC_ARGS)
  Python: ctx.ConfigSetIgnoreExit(data:bool) C-API
set the MqSetupS::ignoreExit value
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigSetIoPipe (MqContextC_ARGS)
  Python: ctx.ConfigSetIoPipe(fh:int32) C-API
set the pipe configuration data …
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_ConfigSetIoTcpL (MqContextC_ARGS)
  Python: ctx.ConfigSetIoTcpL(vals:MkBufferListC) C-API
configure a context to use a tcp-client-server-link
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigSetIoUds (MqContextC_ARGS)
  Python: ctx.ConfigSetIoUds(file:string) C-API
configure a context to use a uds-client-server-link
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigSetIsServer (MqContextC_ARGS)
  Python: ctx.ConfigSetIsServer(data:bool) C-API
set the MqSetupS::isServer value
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_ConfigSetName (MqContextC_ARGS)
  Python: ctx.ConfigSetName(data:string) C-API
set the MqConfigS::dispname value and cleanup old value
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigSetPkgsize (MqContextC_ARGS)
  Python: ctx.ConfigSetPkgsize(data:int32) C-API
set the MqIoConfigS::pkgsize value
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_ConfigSetStartAs (MqContextC_ARGS)
  Python: ctx.ConfigSetStartAs(data:MqStartE) C-API
set the MqConfigS::startAs value
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_ConfigSetStorage (MqContextC_ARGS)
  Python: ctx.ConfigSetStorage(data:string) C-API
set the Storage value and cleanup old value
 
static OT_ProcRet py_mqmsgque_MqContextC_ConfigSetTimeout (MqContextC_ARGS)
  Python: ctx.ConfigSetTimeout(data:MkTimeoutE|int32) C-API
set the MqIoConfigS::timeout value
 
static OT_ProcRet py_mqmsgque_MqContextC_EnvProtect (MqContextC_ARGS)
  Python: ctx.EnvProtect() C-API
protect the service-environment
 
static OT_ProcRet py_mqmsgque_MqContextC_EnvRestore (MqContextC_ARGS)
  Python: ctx.EnvRestore() C-API
restore the service-environment
 
static OT_ProcRet py_mqmsgque_MqContextC_ErrorFORMAT (MqContextC_ARGS)
  Python: MkErrorC fmtobj.ErrorFORMAT() C-API
helper used to access MkErrorDEFAULT from MqContextC
 
OT_ProcRet py_mqmsgque_MqContextC_ErrorCopy (MqContextC_ARGS)
  Python: MkErrorE targetCtx.ErrorCopy(sourceCtx:MqContextC) C-API
copy a MkErrorS from the sourceCtx to the targetCtx
 
OT_ProcRet py_mqmsgque_MqContextC_ErrorMove (MqContextC_ARGS)
  Python: MkErrorE targetCtx.ErrorMove(sourceCtx:MqContextC) C-API
move a MkErrorS from the sourceCtx to the targetCtx
 
OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_LinkGetParent (MqContextC_ARGS)
  Python: MqContextC ctx.LinkGetParent() C-API
get the initial parent-context from a client/server link …
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_LinkDelete (MqContextC_ARGS)
  Python: ctx.LinkDelete() C-API
close the client-server-link
 
static OT_ProcRet py_mqmsgque_MqContextC_LinkGetCtxId (MqContextC_ARGS)
  Python: int32 ctx.LinkGetCtxId() C-API
get an identifier which is unique per parent-or-child-context
 
static OT_ProcRet py_mqmsgque_MqContextC_LinkGetTargetIdent (MqContextC_ARGS)
  Python: string ctx.LinkGetTargetIdent() C-API
get the ident of the link-target
 
static OT_ProcRet py_mqmsgque_MqContextC_LinkIsConnected (MqContextC_ARGS)
  Python: bool ctx.LinkIsConnected() C-API
is the context connected? …
 
static OT_ProcRet py_mqmsgque_MqContextC_LinkIsParent (MqContextC_ARGS)
  Python: bool ctx.LinkIsParent() C-API
is the context a parent-context? …
 
static OT_ProcRet py_mqmsgque_MqContextC_LinkShutdown (MqContextC_ARGS)
  Python: ctx.LinkShutdown() C-API
shutdown the communication with a server
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_LogParentOrChild (MqContextC_ARGS)
  Python: string ctx.LogParentOrChild() C-API
is ctx a PARENT or a CHILD ? …
 
static OT_ProcRet py_mqmsgque_MqContextC_LogServerOrClient (MqContextC_ARGS)
  Python: string ctx.LogServerOrClient() C-API
is ctx a SERVER or a CLIENT ? …
 
static OT_ProcRet py_mqmsgque_MqContextC_GetBuffer (MqContextC_ARGS)
  Python: MkBufferC ctx.GetBuffer() C-API
get the MqContextS::ctxbuf object
 
static OT_ProcRet py_mqmsgque_MqContextC_GetRoot (MqContextC_ARGS)
  Python: MqContextC ctx.GetRoot() C-API
get the Root (toplevel initial context)
 
static OT_ProcRet py_mqmsgque_MqContextC_Exit (MqContextC_ARGS)
  Python: 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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_ReadBUF (MqContextC_ARGS)
  Python: MkBufferC ctx.ReadBUF() C-API
get a temporary MkBufferC from the read-data-package
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_ReadBOL (MqContextC_ARGS)
  Python: doc_mq_py_ReadBOL C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadBinaryR (MqContextC_ARGS)
  Python: binary ctx.ReadBinaryR() C-API
read a MkBinaryR from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadDBL (MqContextC_ARGS)
  Python: doc_mq_py_ReadDBL C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadFLT (MqContextC_ARGS)
  Python: doc_mq_py_ReadFLT C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadHDL (MqContextC_ARGS)
  Python: MK_HDL ctx.ReadHDL() C-API
read the handle from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadI16 (MqContextC_ARGS)
  Python: doc_mq_py_ReadI16 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadI32 (MqContextC_ARGS)
  Python: doc_mq_py_ReadI32 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadI64 (MqContextC_ARGS)
  Python: doc_mq_py_ReadI64 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadI8 (MqContextC_ARGS)
  Python: doc_mq_py_ReadI8 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadLONG (MqContextC_ARGS)
  Python: long ctx.ReadLONG() C-API
read the long native object from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadSTR (MqContextC_ARGS)
  Python: doc_mq_py_ReadSTR C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadStringR (MqContextC_ARGS)
  Python: string ctx.ReadStringR() C-API
read a MkStringR from the read-data-package
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_ReadDbg (MqContextC_ARGS)
 internal function: MqReadDbg
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_ReadGetNumItems (MqContextC_ARGS)
  Python: int32 ctx.ReadGetNumItems() C-API
get the number of items left in the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadItemExists (MqContextC_ARGS)
  Python: bool ctx.ReadItemExists() C-API
check if an item exists in the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadUndo (MqContextC_ARGS)
  Python: ctx.ReadUndo() C-API
undo the last MqContextC READ API function call …
 
static OT_ProcRet py_mqmsgque_MqContextC_RouteGetTree (MqContextC_ARGS)
  Python: MkBufferListC ctx.RouteGetTree() C-API
create an overview about all available routing-target and services …
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_RouteGetPath (MqContextC_ARGS)
  Python: string ctx.RouteGetPath() C-API
return the absolut route-connection-string up to the current ctx
 
static OT_ProcRet py_mqmsgque_MqContextC_SendBFL (MqContextC_ARGS)
  Python: ctx.SendBFL(val:MkBufferListC) C-API
append a MkBufferListC object to the send-data-package object …
 
static OT_ProcRet py_mqmsgque_MqContextC_SendBIN (MqContextC_ARGS)
  Python: doc_mq_py_SendBIN C-API
append a MK_BIN object to the send-data-package. …
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_SendBUF (MqContextC_ARGS)
  Python: ctx.SendBUF(val:MkBufferC) C-API
append a MkBufferC object to the send-data-package object …
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_SendBinaryR (MqContextC_ARGS)
  Python: ctx.SendBinaryR(val:binary) C-API
append a MkBinaryR object to the send-data-package. …
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_SendHDL (MqContextC_ARGS)
  Python: ctx.SendHDL(val:MK_HDL) C-API
send the handle to the send-data-package
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_SendLONG (MqContextC_ARGS)
  Python: ctx.SendLONG(val:long) C-API
send the long native object to the send-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_SendLTR (MqContextC_ARGS)
 internal function: MqSendLTR
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_SendSTART (MqContextC_ARGS)
  Python: ctx.SendSTART() C-API
initialize the send-data-package. …
 
static OT_ProcRet py_mqmsgque_MqContextC_SendSYNC (MqContextC_ARGS)
  Python: ctx.SendSYNC() C-API
garantee that all pending asynchronous-service-calls are processed. …
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_SendT_END (MqContextC_ARGS)
  Python: ctx.SendT_END() C-API
closed a longterm-transaction-item
 
static OT_ProcRet py_mqmsgque_MqContextC_SendT_START (MqContextC_ARGS)
  Python: ctx.SendT_START() C-API
open a longterm-transaction-item
 
static OT_ProcRet py_mqmsgque_MqContextC_SendERROR (MqContextC_ARGS)
  Python: ctx.SendERROR() C-API
send the data from the MkErrorC to the link target . …
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_SendRETURN_SUB (MqContextC_ARGS)
  Python: ctx.SendRETURN_SUB() C-API
return Sub-Data-Blocks required by MqSendEND_AND_SUB
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_ServiceDelete (MqContextC_ARGS)
  Python: ctx.ServiceDelete(token:string[4]) C-API
delete a service. …
 
static OT_ProcRet py_mqmsgque_MqContextC_ServiceIsTransaction (MqContextC_ARGS)
  Python: bool ctx.ServiceIsTransaction() C-API
check if the ongoing-service-call belongs to a transaction …
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_SlaveGetMaster (MqContextC_ARGS)
  Python: MqContextC ctx.SlaveGetMaster() C-API
opposite function of MqSlaveGetFilter
 
static OT_ProcRet py_mqmsgque_MqContextC_SlaveGet (MqContextC_ARGS)
  Python: MqContextC ctx.SlaveGet(id:MqSlaveE|int32) C-API
get the slave-context from a master-context
 
static OT_ProcRet py_mqmsgque_MqContextC_SlaveGetFilter (MqContextC_ARGS)
  Python: MqContextC ctx.SlaveGetFilter() C-API
get the filter-ctx or the master-ctx
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_SlaveCheck (MqContextC_ARGS)
  Python: bool ctx.SlaveCheck(id:MqSlaveE|int32) C-API
check if slave-id is valid
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_SlaveIs (MqContextC_ARGS)
  Python: bool ctx.SlaveIs() C-API
is the context a slave-context ? …
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_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 py_mqmsgque_MqContextC_StorageClose (MqContextC_ARGS)
  Python: ctx.StorageClose() C-API
close the storage. …
 
static OT_ProcRet py_mqmsgque_MqContextC_StorageDecrRef (MqContextC_ARGS)
  Python: ctx.StorageDecrRef(transLId:int32) C-API
decrease the internal refCount lock of the database-entry
 
static OT_ProcRet py_mqmsgque_MqContextC_StorageIncrRef (MqContextC_ARGS)
  Python: ctx.StorageIncrRef(transLId:int32) C-API
increase the internal refCount lock of the database-entry
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_StorageOpen (MqContextC_ARGS)
  Python: ctx.StorageOpen(storageFile:string) C-API
switch to a file-based-transaction-database
 
static OT_ProcRet py_mqmsgque_MqContextC_StorageCount (MqContextC_ARGS)
  Python: int32 ctx.StorageCount() C-API
count the number of storage-rows
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_StorageExport (MqContextC_ARGS)
  Python: int32 ctx.StorageExport() C-API
export the read-data-package into the STORAGE
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_Create (OtClass_ARGS)
  Python: [constructor,static] MqContextC MqContextC.Create(?tmpl:MqContextC=None?) C-API
create and initialize the MqContextC ...
 
static OT_ProcRet py_mqmsgque_MqContextC_new (CONSTR_ARGS)
  Python: [constructor,static] MqContextC MqContextC.new(?tmpl:MqContextC=None?) C-API
create and initialize the MqContextC ...
 
static MK_UNUSED void py_mqmsgque_sParentBeforeFork (MQ_CTX mqctx)
 
static MK_UNUSED void py_mqmsgque_sParentAfterFork (MQ_CTX mqctx)
 
static MK_UNUSED void py_mqmsgque_sChildAfterFork (MQ_CTX mqctx)
 
static void py_mqmsgque_sIncrSelf (MK_RT mkrt, MQ_CTX hdl, MK_PTR const env)
 
static void py_mqmsgque_sDecrSelf (MK_RT mkrt, MQ_CTX hdl, MK_PTR const env)
 
static void py_mqmsgque_sProcessExit (MK_RT mkrt, int num)
 
static MK_UNUSED void py_mqmsgque_sThreadExit (MK_RT mkrt, int num)
 
static PyObject * py_mqmsgque_sMqContextC_Str (MqContextC_Obj *self)
 
static PyObject * py_mqmsgque_sMqContextC_Repr (MqContextC_Obj *self)
 
int py_mqmsgque_pMqContextC_Init (MQ_RT_ARGS OT_LNG_T m)
 

Variables

static PyMethodDef py_mqmsgque_MqContextC_Methods []
 
OT_CLASS_TYPE_REF py_mqmsgque_MqContextCR
 

Detailed Description

MqContextC_py.c - 29 Oct 2024 - aotto1968.

Version
f4d98910417da189446c9b64c426f0478a2654da
Date
Tue Oct 29 14:23:30 2024 +0100
Author
aotto1968 aotto.nosp@m.1968.nosp@m.@t-on.nosp@m.line.nosp@m..de

Definition in file MqContextC_py.c.

Macro Definition Documentation

◆ ClassFactoryGet_doc

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

doc definition

Definition at line 130 of file MqContextC_py.c.

◆ ClassFactorySet_doc

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

Definition at line 133 of file MqContextC_py.c.

◆ ClassIdentGet_doc

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

Definition at line 134 of file MqContextC_py.c.

◆ ClassIdentSet_doc

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

Definition at line 135 of file MqContextC_py.c.

◆ ClassInit

#define ClassInit
Value:
/* if not already done, initialize NEW MQ type */ \
\
/* protect against double call */ \
if (MqContextCTT->selfCreate == NS(MqContextC_selfCreate)) return MK_OK; \
\
/* add "selfCreate" and "selfDelete" feature to the MQ-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 = OT_MqContextC_base; \
LngErrorCheck (PyType_Ready(OT_CLASS)); \
} \
LngErrorCheck(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*/, false));
#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 68 of file MqContextC_py.c.

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

◆ ClassOriginalIdentGet_doc

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

Definition at line 136 of file MqContextC_py.c.

◆ ConfigCheckStartAs_doc

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

Definition at line 142 of file MqContextC_py.c.

◆ ConfigGetBuffersize_doc

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

Definition at line 143 of file MqContextC_py.c.

◆ ConfigGetIdentFrom_doc

#define ConfigGetIdentFrom_doc   "MqIdentE ctx.ConfigGetIdentFrom()"

Definition at line 144 of file MqContextC_py.c.

◆ ConfigGetIoPipe_doc

#define ConfigGetIoPipe_doc   "int32 ctx.ConfigGetIoPipe()"

Definition at line 145 of file MqContextC_py.c.

◆ ConfigGetIoTcp_doc

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

Definition at line 185 of file MqContextC_py.c.

◆ ConfigGetIoTcpL_doc

#define ConfigGetIoTcpL_doc   "MkBufferListC ctx.ConfigGetIoTcpL()"

Definition at line 139 of file MqContextC_py.c.

◆ ConfigGetIoUds_doc

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

Definition at line 146 of file MqContextC_py.c.

◆ ConfigGetIsParent_doc

#define ConfigGetIsParent_doc   "bool ctx.ConfigGetIsParent()"

Definition at line 147 of file MqContextC_py.c.

◆ ConfigGetIsServer_doc

#define ConfigGetIsServer_doc   "bool ctx.ConfigGetIsServer()"

Definition at line 148 of file MqContextC_py.c.

◆ ConfigGetIsString_doc

#define ConfigGetIsString_doc   "bool ctx.ConfigGetIsString()"

Definition at line 149 of file MqContextC_py.c.

◆ ConfigGetName_doc

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

Definition at line 150 of file MqContextC_py.c.

◆ ConfigGetPkgsize_doc

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

Definition at line 151 of file MqContextC_py.c.

◆ ConfigGetPostfix_doc

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

Definition at line 152 of file MqContextC_py.c.

◆ ConfigGetPrefix_doc

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

Definition at line 153 of file MqContextC_py.c.

◆ ConfigGetStartAs_doc

#define ConfigGetStartAs_doc   "MqStartE ctx.ConfigGetStartAs()"

Definition at line 154 of file MqContextC_py.c.

◆ ConfigGetStatusIs_doc

#define ConfigGetStatusIs_doc   "MqStatusIsEF ctx.ConfigGetStatusIs()"

Definition at line 155 of file MqContextC_py.c.

◆ ConfigGetStorage_doc

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

Definition at line 156 of file MqContextC_py.c.

◆ ConfigGetTimeout_doc

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

Definition at line 157 of file MqContextC_py.c.

◆ ConfigReset_doc

#define ConfigReset_doc   "ctx.ConfigReset()"

Definition at line 158 of file MqContextC_py.c.

◆ ConfigSetAllDebug_doc

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

Definition at line 159 of file MqContextC_py.c.

◆ ConfigSetBgError_doc

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

Definition at line 160 of file MqContextC_py.c.

◆ ConfigSetBuffersize_doc

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

Definition at line 161 of file MqContextC_py.c.

◆ ConfigSetConfigFile_doc

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

Definition at line 162 of file MqContextC_py.c.

◆ ConfigSetDaemon_doc

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

Definition at line 163 of file MqContextC_py.c.

◆ ConfigSetEvent_doc

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

Definition at line 164 of file MqContextC_py.c.

◆ ConfigSetIdentFrom_doc

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

Definition at line 165 of file MqContextC_py.c.

◆ ConfigSetIgnoreExit_doc

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

Definition at line 166 of file MqContextC_py.c.

◆ ConfigSetIoPipe_doc

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

Definition at line 167 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 168 of file MqContextC_py.c.

◆ ConfigSetIoTcpL_doc

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

Definition at line 169 of file MqContextC_py.c.

◆ ConfigSetIoUds_doc

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

Definition at line 170 of file MqContextC_py.c.

◆ ConfigSetIsServer_doc

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

Definition at line 171 of file MqContextC_py.c.

◆ ConfigSetIsString_doc

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

Definition at line 172 of file MqContextC_py.c.

◆ ConfigSetName_doc

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

Definition at line 173 of file MqContextC_py.c.

◆ ConfigSetPkgsize_doc

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

Definition at line 174 of file MqContextC_py.c.

◆ ConfigSetPostfix_doc

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

Definition at line 175 of file MqContextC_py.c.

◆ ConfigSetPrefix_doc

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

Definition at line 176 of file MqContextC_py.c.

◆ ConfigSetServerCleanup_doc

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

Definition at line 177 of file MqContextC_py.c.

◆ ConfigSetServerSetup_doc

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

Definition at line 178 of file MqContextC_py.c.

◆ ConfigSetStartAs_doc

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

Definition at line 179 of file MqContextC_py.c.

◆ ConfigSetStartAsString_doc

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

Definition at line 180 of file MqContextC_py.c.

◆ ConfigSetStorage_doc

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

Definition at line 181 of file MqContextC_py.c.

◆ ConfigSetTimeout_doc

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

Definition at line 182 of file MqContextC_py.c.

◆ Create_doc

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

Definition at line 188 of file MqContextC_py.c.

◆ Debug_doc

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

Definition at line 382 of file MqContextC_py.c.

◆ EnvProtect_doc

#define EnvProtect_doc   "ctx.EnvProtect()"

Definition at line 216 of file MqContextC_py.c.

◆ EnvRestore_doc

#define EnvRestore_doc   "ctx.EnvRestore()"

Definition at line 217 of file MqContextC_py.c.

◆ ErrorCopy_doc

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

Definition at line 203 of file MqContextC_py.c.

◆ ErrorFORMAT_doc

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

Definition at line 197 of file MqContextC_py.c.

◆ ErrorMove_doc

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

Definition at line 204 of file MqContextC_py.c.

◆ Exit_doc

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

Definition at line 220 of file MqContextC_py.c.

◆ GetBuffer_doc

#define GetBuffer_doc   "MkBufferC ctx.GetBuffer()"

Definition at line 198 of file MqContextC_py.c.

◆ GetNull_doc

#define GetNull_doc   "MqContextC MqContextC.GetNull()"

Definition at line 192 of file MqContextC_py.c.

◆ GetRoot_doc

#define GetRoot_doc   "MqContextC ctx.GetRoot()"

Definition at line 223 of file MqContextC_py.c.

◆ HandleGet_doc

#define HandleGet_doc   "MK_HDL ctx.HandleGet()"

Definition at line 205 of file MqContextC_py.c.

◆ HandleResolve_doc

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

Definition at line 193 of file MqContextC_py.c.

◆ Instances_doc

#define Instances_doc   "MqContextC MqContextC.Instances()"

Definition at line 194 of file MqContextC_py.c.

◆ LinkConnect_doc

#define LinkConnect_doc   "ctx.LinkConnect()"

Definition at line 229 of file MqContextC_py.c.

◆ LinkCreate_doc

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

Definition at line 230 of file MqContextC_py.c.

◆ LinkCreateChild_doc

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

Definition at line 231 of file MqContextC_py.c.

◆ LinkDelete_doc

#define LinkDelete_doc   "ctx.LinkDelete()"

Definition at line 232 of file MqContextC_py.c.

◆ LinkGetCtxId_doc

#define LinkGetCtxId_doc   "int32 ctx.LinkGetCtxId()"

Definition at line 233 of file MqContextC_py.c.

◆ LinkGetParent_doc

#define LinkGetParent_doc   "MqContextC ctx.LinkGetParent()"

Definition at line 226 of file MqContextC_py.c.

◆ LinkGetTargetIdent_doc

#define LinkGetTargetIdent_doc   "string ctx.LinkGetTargetIdent()"

Definition at line 234 of file MqContextC_py.c.

◆ LinkIsConnected_doc

#define LinkIsConnected_doc   "bool ctx.LinkIsConnected()"

Definition at line 235 of file MqContextC_py.c.

◆ LinkIsParent_doc

#define LinkIsParent_doc   "bool ctx.LinkIsParent()"

Definition at line 236 of file MqContextC_py.c.

◆ LinkShutdown_doc

#define LinkShutdown_doc   "ctx.LinkShutdown()"

Definition at line 237 of file MqContextC_py.c.

◆ Log_doc

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

Definition at line 206 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 207 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 208 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 209 of file MqContextC_py.c.

◆ LogParentOrChild_doc

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

Definition at line 240 of file MqContextC_py.c.

◆ LogServerOrClient_doc

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

Definition at line 241 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 210 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 211 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 212 of file MqContextC_py.c.

◆ META_CONTEXT_S

#define META_CONTEXT_S   hdl

Definition at line 119 of file MqContextC_py.c.

◆ META_FILE_NAME

#define META_FILE_NAME   "MqContextC_py.c"

Definition at line 14 of file MqContextC_py.c.

◆ MqContextC_Doc

#define MqContextC_Doc   "The msgque 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\tclmsgque 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 3913 of file MqContextC_py.c.

◆ MqContextCTT

#define MqContextCTT   MQ(MqMsgqueThreadState).MqContextCTT

Definition at line 43 of file MqContextC_py.c.

◆ new_doc

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

Definition at line 189 of file MqContextC_py.c.

◆ Next_doc

#define Next_doc   "MqContextC ctx.Next()"

Definition at line 199 of file MqContextC_py.c.

◆ OT_CLASS

#define OT_CLASS   (&NS(MqContextCR))

Definition at line 19 of file MqContextC_py.c.

◆ OT_CLASS_NAME

#define OT_CLASS_NAME   "MqContextC"

Definition at line 20 of file MqContextC_py.c.

◆ OT_LNG2META

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

Definition at line 22 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))

Definition at line 24 of file MqContextC_py.c.

◆ OT_SETUP_hdl

#define OT_SETUP_hdl   OT_SETUP_hdl_tmpl(MqContextC)

Definition at line 26 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 27 of file MqContextC_py.c.

◆ OT_SETUP_hdl_constr

#define OT_SETUP_hdl_constr
Value:
MQ_CTX hdl = (MQ_CTX) &MkERROR;
#define AllRtSetup_NULL
#define MkERROR
#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 28 of file MqContextC_py.c.

28#define OT_SETUP_hdl_constr MK_RT_UNUSED AllRtSetup_NULL; \
29 MQ_CTX hdl = (MQ_CTX) &MkERROR;

◆ OT_SETUP_hdl_destr

#define OT_SETUP_hdl_destr   OT_SETUP_hdl_tmpl__null_allow(MqContextC)

Definition at line 30 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 31 of file MqContextC_py.c.

31#define OT_SETUP_hdl_static MK_RT_UNUSED AllRtSetup_NULL; \
32 __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 34 of file MqContextC_py.c.

◆ Prev_doc

#define Prev_doc   "MqContextC ctx.Prev()"

Definition at line 200 of file MqContextC_py.c.

◆ ProcessEvent_doc

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

Definition at line 244 of file MqContextC_py.c.

◆ ProxyForward_doc

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

Definition at line 247 of file MqContextC_py.c.

◆ ProxyItem_doc

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

Definition at line 248 of file MqContextC_py.c.

◆ ReadALL_doc

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

Definition at line 251 of file MqContextC_py.c.

◆ ReadBFL_doc

#define ReadBFL_doc   "MkBufferListC ctx.ReadBFL()"

Definition at line 254 of file MqContextC_py.c.

◆ ReadBIN_doc

#define ReadBIN_doc   "binary ctx.ReadBIN()"

Definition at line 269 of file MqContextC_py.c.

◆ ReadBinaryR_doc

#define ReadBinaryR_doc   "binary ctx.ReadBinaryR()"

Definition at line 271 of file MqContextC_py.c.

◆ ReadBOL_doc

#define ReadBOL_doc   "bool ctx.ReadBOL()"

Definition at line 270 of file MqContextC_py.c.

◆ ReadBUF_doc

#define ReadBUF_doc   "MkBufferC ctx.ReadBUF()"

Definition at line 255 of file MqContextC_py.c.

◆ ReadDbg_doc

#define ReadDbg_doc   "ctx.ReadDbg()"

Definition at line 258 of file MqContextC_py.c.

◆ ReadDBL_doc

#define ReadDBL_doc   "double ctx.ReadDBL()"

Definition at line 272 of file MqContextC_py.c.

◆ ReadFLT_doc

#define ReadFLT_doc   "float ctx.ReadFLT()"

Definition at line 273 of file MqContextC_py.c.

◆ ReadGetNextType_doc

#define ReadGetNextType_doc   "MkTypeE ctx.ReadGetNextType()"

Definition at line 259 of file MqContextC_py.c.

◆ ReadGetNumItems_doc

#define ReadGetNumItems_doc   "int32 ctx.ReadGetNumItems()"

Definition at line 260 of file MqContextC_py.c.

◆ ReadHDL_doc

#define ReadHDL_doc   "MK_HDL ctx.ReadHDL()"

Definition at line 274 of file MqContextC_py.c.

◆ ReadI16_doc

#define ReadI16_doc   "int16 ctx.ReadI16()"

Definition at line 275 of file MqContextC_py.c.

◆ ReadI32_doc

#define ReadI32_doc   "int32 ctx.ReadI32()"

Definition at line 276 of file MqContextC_py.c.

◆ ReadI64_doc

#define ReadI64_doc   "int64 ctx.ReadI64()"

Definition at line 277 of file MqContextC_py.c.

◆ ReadI8_doc

#define ReadI8_doc   "int8 ctx.ReadI8()"

Definition at line 278 of file MqContextC_py.c.

◆ ReadItemExists_doc

#define ReadItemExists_doc   "bool ctx.ReadItemExists()"

Definition at line 261 of file MqContextC_py.c.

◆ ReadL_END_doc

#define ReadL_END_doc   "ctx.ReadL_END()"

Definition at line 262 of file MqContextC_py.c.

◆ ReadL_START_doc

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

Definition at line 263 of file MqContextC_py.c.

◆ ReadLIST_doc

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

Definition at line 279 of file MqContextC_py.c.

◆ ReadLONG_doc

#define ReadLONG_doc   "long ctx.ReadLONG()"

Definition at line 280 of file MqContextC_py.c.

◆ ReadNEXT_doc

#define ReadNEXT_doc   "obj ctx.ReadNEXT()"

Definition at line 281 of file MqContextC_py.c.

◆ ReadSTR_doc

#define ReadSTR_doc   "string ctx.ReadSTR()"

Definition at line 282 of file MqContextC_py.c.

◆ ReadStringR_doc

#define ReadStringR_doc   "string ctx.ReadStringR()"

Definition at line 283 of file MqContextC_py.c.

◆ ReadT_END_doc

#define ReadT_END_doc   "ctx.ReadT_END()"

Definition at line 264 of file MqContextC_py.c.

◆ ReadT_START_doc

#define ReadT_START_doc   "ctx.ReadT_START()"

Definition at line 265 of file MqContextC_py.c.

◆ ReadUndo_doc

#define ReadUndo_doc   "ctx.ReadUndo()"

Definition at line 266 of file MqContextC_py.c.

◆ RouteCreate_doc

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

Definition at line 289 of file MqContextC_py.c.

◆ RouteDelete_doc

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

Definition at line 290 of file MqContextC_py.c.

◆ RouteGetPath_doc

#define RouteGetPath_doc   "string ctx.RouteGetPath()"

Definition at line 295 of file MqContextC_py.c.

◆ RouteGetTree_doc

#define RouteGetTree_doc   "MkBufferListC ctx.RouteGetTree()"

Definition at line 286 of file MqContextC_py.c.

◆ RouteResolve_doc

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

Definition at line 291 of file MqContextC_py.c.

◆ RouteTraverse_doc

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

Definition at line 292 of file MqContextC_py.c.

◆ Send_doc [1/2]

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

Definition at line 298 of file MqContextC_py.c.

◆ Send_doc [2/2]

#define Send_doc   Send_doc_extra

Definition at line 298 of file MqContextC_py.c.

◆ SendBFL_doc

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

Definition at line 299 of file MqContextC_py.c.

◆ SendBIN_doc

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

Definition at line 300 of file MqContextC_py.c.

◆ SendBinaryR_doc

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

Definition at line 304 of file MqContextC_py.c.

◆ SendBOL_doc

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

Definition at line 301 of file MqContextC_py.c.

◆ SendBUF_doc

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

Definition at line 302 of file MqContextC_py.c.

◆ SendBUS_FLAT_doc

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

Definition at line 303 of file MqContextC_py.c.

◆ SendDBL_doc

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

Definition at line 305 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 307 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 308 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 309 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 310 of file MqContextC_py.c.

◆ SendEND_doc

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

Definition at line 306 of file MqContextC_py.c.

◆ SendERROR_doc

#define SendERROR_doc   "ctx.SendERROR()"

Definition at line 311 of file MqContextC_py.c.

◆ SendFLT_doc

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

Definition at line 312 of file MqContextC_py.c.

◆ SendHDL_doc

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

Definition at line 313 of file MqContextC_py.c.

◆ SendI16_doc

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

Definition at line 314 of file MqContextC_py.c.

◆ SendI32_doc

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

Definition at line 315 of file MqContextC_py.c.

◆ SendI64_doc

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

Definition at line 316 of file MqContextC_py.c.

◆ SendI8_doc

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

Definition at line 317 of file MqContextC_py.c.

◆ SendL_END_doc

#define SendL_END_doc   "ctx.SendL_END()"

Definition at line 320 of file MqContextC_py.c.

◆ SendL_FLAT_doc

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

Definition at line 321 of file MqContextC_py.c.

◆ SendL_START_doc

#define SendL_START_doc   "ctx.SendL_START()"

Definition at line 322 of file MqContextC_py.c.

◆ SendLONG_doc

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

Definition at line 318 of file MqContextC_py.c.

◆ SendLTR_doc

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

Definition at line 319 of file MqContextC_py.c.

◆ SendRETURN_doc

#define SendRETURN_doc   "ctx.SendRETURN()"

Definition at line 323 of file MqContextC_py.c.

◆ SendRETURN_SUB_doc

#define SendRETURN_SUB_doc   "ctx.SendRETURN_SUB()"

Definition at line 324 of file MqContextC_py.c.

◆ SendSTART_doc

#define SendSTART_doc   "ctx.SendSTART()"

Definition at line 325 of file MqContextC_py.c.

◆ SendSTR_doc

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

Definition at line 326 of file MqContextC_py.c.

◆ SendStringR_doc

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

Definition at line 328 of file MqContextC_py.c.

◆ SendSYNC_doc

#define SendSYNC_doc   "ctx.SendSYNC()"

Definition at line 327 of file MqContextC_py.c.

◆ SendT_END_doc

#define SendT_END_doc   "ctx.SendT_END()"

Definition at line 329 of file MqContextC_py.c.

◆ SendT_START_doc

#define SendT_START_doc   "ctx.SendT_START()"

Definition at line 330 of file MqContextC_py.c.

◆ ServiceCreate_doc

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

Definition at line 333 of file MqContextC_py.c.

◆ ServiceDelete_doc

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

Definition at line 334 of file MqContextC_py.c.

◆ ServiceIsTransaction_doc

#define ServiceIsTransaction_doc   "bool ctx.ServiceIsTransaction()"

Definition at line 335 of file MqContextC_py.c.

◆ ServiceProxy_doc

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

Definition at line 336 of file MqContextC_py.c.

◆ ServiceProxyCtx_doc

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

Definition at line 337 of file MqContextC_py.c.

◆ ServiceProxyCtxExists_doc

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

Definition at line 338 of file MqContextC_py.c.

◆ ServiceProxyRoundRobin_doc

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

Definition at line 339 of file MqContextC_py.c.

◆ ServiceStorage_doc

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

Definition at line 340 of file MqContextC_py.c.

◆ ServiceTokenCheck_doc

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

Definition at line 341 of file MqContextC_py.c.

◆ ServiceTokenExists_doc

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

Definition at line 342 of file MqContextC_py.c.

◆ ServiceTokenGet_doc

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

Definition at line 343 of file MqContextC_py.c.

◆ SetupRtFromObj_X

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

Definition at line 37 of file MqContextC_py.c.

◆ SetupRtFromObj_XN

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

Definition at line 38 of file MqContextC_py.c.

◆ SlaveCheck_doc

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

Definition at line 354 of file MqContextC_py.c.

◆ SlaveCreate_doc

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

Definition at line 355 of file MqContextC_py.c.

◆ SlaveDelete_doc

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

Definition at line 356 of file MqContextC_py.c.

◆ SlaveGet_doc

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

Definition at line 349 of file MqContextC_py.c.

◆ SlaveGetFilter_doc

#define SlaveGetFilter_doc   "MqContextC ctx.SlaveGetFilter()"

Definition at line 350 of file MqContextC_py.c.

◆ SlaveGetMaster_doc

#define SlaveGetMaster_doc   "MqContextC ctx.SlaveGetMaster()"

Definition at line 346 of file MqContextC_py.c.

◆ SlaveGetProxy_doc

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

Definition at line 351 of file MqContextC_py.c.

◆ SlaveIs_doc

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

Definition at line 357 of file MqContextC_py.c.

◆ SlaveWorker_doc

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

Definition at line 358 of file MqContextC_py.c.

◆ StorageClose_doc

#define StorageClose_doc   "ctx.StorageClose()"

Definition at line 365 of file MqContextC_py.c.

◆ StorageCount_doc

#define StorageCount_doc   "int32 ctx.StorageCount()"

Definition at line 372 of file MqContextC_py.c.

◆ StorageDecrRef_doc

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

Definition at line 366 of file MqContextC_py.c.

◆ StorageDelete_doc

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

Definition at line 361 of file MqContextC_py.c.

◆ StorageErrCnt_doc

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

Definition at line 373 of file MqContextC_py.c.

◆ StorageExport_doc

#define StorageExport_doc   "int32 ctx.StorageExport()"

Definition at line 374 of file MqContextC_py.c.

◆ StorageImport_doc

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

Definition at line 362 of file MqContextC_py.c.

◆ StorageIncrRef_doc

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

Definition at line 367 of file MqContextC_py.c.

◆ StorageLog_doc

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

Definition at line 368 of file MqContextC_py.c.

◆ StorageOpen_doc

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

Definition at line 369 of file MqContextC_py.c.

◆ StorageResolve_doc

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

Definition at line 375 of file MqContextC_py.c.

◆ ToString_doc

#define ToString_doc   "string ctx.ToString() (const)"

Definition at line 213 of file MqContextC_py.c.

Function Documentation

◆ py_mqmsgque_MqContextC_CTOR()

OT_LNG_T py_mqmsgque_MqContextC_CTOR ( MK_RT mkrt,
OT_LNG_CLASS_T type,
MQ_CTX hdl )
inline

Definition at line 47 of file MqContextC_py.c.

47 {
48 return MK(AtomCreate)(MK_RT_CALL type,MqContextC_X2obj(hdl),true);
49}
#define MqContextC_X2obj(x)

◆ py_mqmsgque_MqContextC_Debug()

static PyObject * py_mqmsgque_MqContextC_Debug ( MqContextC_ARGS )
static

Definition at line 402 of file MqContextC_py.c.

402 {
403 PyObject *strO=NULL, *utf8=NULL;
405 OT_SETUP_VARARGS(1,2,"None ctx.Debug(prefix:str, obj=self:object)")
406 MK_STRN prefix=0;
407 OT_CHECK_REQUIRED(OT_CHECK_STR(prefix))
408 OT_SETUP_OBJ(obj,self)
409 OT_CHECK_OPTIONAL(OT_CHECK_LNG_T(obj))
410 OT_CHECK_NOARGS
411 LngErrorCheckN(strO = PyObject_Repr(obj));
412 LngErrorCheckN(utf8 = PyUnicode_AsUTF8String(strO));
413 MkLogV_4M(hdl,prefix,0,"%s, type=%s, refCnt=%-3zi\n",
414 PyBytes_AsString(utf8), Py_TYPE(obj)->tp_name, Py_REFCNT(obj)-1);
415 OT_retObj_SET_None
416 goto end;
417error:
418 OT_retObj_SET_Error
419end:
420 Py_CLEAR(strO);
421 Py_CLEAR(utf8);
423}
#define OT_SETUP_hdl
#define OT_retObj_RETURN
#define error
const MK_STRB * MK_STRN
#define MkLogV_4M(x, callfunc, debug, printfmt,...)

◆ py_mqmsgque_MqContextC_Debug2()

static PyObject * py_mqmsgque_MqContextC_Debug2 ( MqContextC_ARGS )
static

Definition at line 427 of file MqContextC_py.c.

427 {
429 OT_SETUP_VARARGS(1,2,"None ctx.Debug2(prefix:str, ?obj=self:object?)")
430 MK_STRN prefix=0;
431 OT_CHECK_REQUIRED(OT_CHECK_STR(prefix))
432 OT_SETUP_OBJ(obj,self)
433 OT_CHECK_OPTIONAL(OT_CHECK_LNG_T(obj))
434 OT_CHECK_NOARGS
435 MkLogV_4M(hdl,prefix,0,"self<%p>, type<%s>, refCount<%li>\n", obj, Py_TYPE(obj)->tp_name, (long) Py_REFCNT(obj)-1);
436 OT_retObj_SET_None
437 goto end;
438error:
439 OT_retObj_SET_Error
440end:
442}

◆ py_mqmsgque_MqContextC_selfCreate()

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

Definition at line 54 of file MqContextC_py.c.

54 {
55 return MK(AtomCreate) (MK_RT_CALL OT_CLASS,obj,true);
56}

◆ py_mqmsgque_MqContextC_selfDelete()

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

Definition at line 58 of file MqContextC_py.c.

58 {
59 OT_OBJECT_DELETE_HARD(OT_SELF);
60}

◆ py_mqmsgque_MqContextC_selfUnlink()

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

Definition at line 62 of file MqContextC_py.c.

62 {
63 MkObjectC_Obj *selfO = (MkObjectC_Obj*) self;
64 selfO->hdl = NULL;
65}

◆ py_mqmsgque_pMqContextC_Init()

int py_mqmsgque_pMqContextC_Init ( MQ_RT_ARGS OT_LNG_T m)

Definition at line 3949 of file MqContextC_py.c.

3949 {
3950
3951 // define type
3952 MqContextCTT = MkTypeDup2(MqContextC_TT,"pymqmsgque_MqContextC");
3953 MqContextCT->fIncrSelf = NS(sIncrSelf);
3954 MqContextCT->fDecrSelf = NS(sDecrSelf);
3955// >> replaced by os_fork
3956// MqContextCT->fParentBeforeFork = NS(sParentBeforeFork);
3957// MqContextCT->fParentAfterFork = NS(sParentAfterFork);
3958// MqContextCT->fChildAfterFork = NS(sChildAfterFork);
3959 MqContextCT->fProcessExit = NS(sProcessExit);
3960 MqContextCT->fThreadExit = NS(sThreadExit);
3961 //MqContextCT->ignoreDisasterSetup = true;
3962 MqContextCT->ignoreThread = true;
3963
3964 ClassInit
3965
3966 return 0;
3967error:
3968 return -1;
3969}
#define ClassInit
#define MkTypeDup2(...)
#define MqContextCT
class as MqCtxTypeS-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 …

◆ py_mqmsgque_sChildAfterFork()

static MK_UNUSED void py_mqmsgque_sChildAfterFork ( MQ_CTX mqctx)
static

Definition at line 3869 of file MqContextC_py.c.

3869 {
3870 PyOS_AfterFork_Child();
3871}

◆ py_mqmsgque_sDecrSelf()

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

Definition at line 3880 of file MqContextC_py.c.

3880 {
3881 OT_LNG_T self = OT_SELF_X(hdl);
3882 Py_CLEAR(self);
3883}

◆ py_mqmsgque_sIncrSelf()

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

Definition at line 3875 of file MqContextC_py.c.

3875 {
3876 OT_SETUP_self
3877 Py_INCREF(self);
3878}

◆ py_mqmsgque_sMqContextC_Repr()

static PyObject * py_mqmsgque_sMqContextC_Repr ( MqContextC_Obj * self)
static

Definition at line 3905 of file MqContextC_py.c.

3906{
3908 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);
3909error:
3910 return NULL;
3911}
MK_STRN MqConfigGetName(MQ_CTXN const ctx)
get the name of the context object

◆ py_mqmsgque_sMqContextC_Str()

static PyObject * py_mqmsgque_sMqContextC_Str ( MqContextC_Obj * self)
static

Definition at line 3900 of file MqContextC_py.c.

3900 {
3901 MkRtSetup_X(self->hdl);
3902 return STRN2VAL(MkSysPrintF("MqContextC[%s]", self->hdl ? MqConfigGetName(self->hdl) : NULL));
3903}
#define MkSysPrintF(...)
#define MkRtSetup_X(x)

◆ py_mqmsgque_sParentAfterFork()

static MK_UNUSED void py_mqmsgque_sParentAfterFork ( MQ_CTX mqctx)
static

Definition at line 3865 of file MqContextC_py.c.

3865 {
3866 PyOS_AfterFork_Parent();
3867}

◆ py_mqmsgque_sParentBeforeFork()

static MK_UNUSED void py_mqmsgque_sParentBeforeFork ( MQ_CTX mqctx)
static

Definition at line 3861 of file MqContextC_py.c.

3861 {
3862 PyOS_BeforeFork();
3863}

◆ py_mqmsgque_sProcessExit()

static void py_mqmsgque_sProcessExit ( MK_RT mkrt,
int num )
static

Definition at line 3885 of file MqContextC_py.c.

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

◆ py_mqmsgque_sThreadExit()

static MK_UNUSED void py_mqmsgque_sThreadExit ( MK_RT mkrt,
int num )
static

Definition at line 3890 of file MqContextC_py.c.

3890 {
3891//MqDLogX(context,__func__,0,"self<%p>, refCount<%li>\n", context->obj.self, ((PyObject*)context->obj.self)->ob_refcnt);
3892
3893//mk_debug_color(MK_COLOR_RED,"%s, current state<%p>, rt state<%p>", "thread EXIT", PyThreadState_Get(), MK_RT_REF.threadData);
3894
3895 Py_EndInterpreter(MK_RT_REF.threadData);
3896
3897 MK_RT_REF.threadData = NULL;
3898}
#define MK_RT_REF

Variable Documentation

◆ py_mqmsgque_MqContextC_Methods

PyMethodDef py_mqmsgque_MqContextC_Methods[]
static

Object definition

Definition at line 3597 of file MqContextC_py.c.

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

◆ py_mqmsgque_MqContextCR

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

Public API

Definition at line 3934 of file MqContextC_py.c.

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