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

tag: nhi1-release-250425 More...

#include "LibMqMsgque_private_tcl.h"
#include "mk_check_tcl.h"
#include "tmpl/MqContextC_ReadNEXT_lng.h"
#include "tmpl/MqContextC_ReadLIST_lng.h"
+ Include dependency graph for MqContextC_tcl.c:

Go to the source code of this file.

Macros

#define META_FILE_NAME   "MqContextC_tcl.c"
 
#define OT_CLASS   NS(MqContextC)
 
#define OT_CLASS_NAME   "MqContextC"
 
#define OBJECT2CTX(O)
 
#define OT_SETUP_hdl_static_constr_pre
 
#define OT_SETUP_hdl_static_constr
 
#define OT_SETUP_hdl_static
 
#define OT_SETUP_hdl   SetupHdlFromMetaData_2(CTX,MQ_CTX);
 
#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(CTX,MQ_CTX);
 
#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(CTX,MQ_CTX);
 
#define OT_SETUP_hdl_constr_pre
 
#define OT_SETUP_hdl_constr
 
#define SetupRtFromHdl_XN(hdl)
 
#define SetupRtFromHdl_X(hdl)
 
#define ClassInit
 
#define VER   TCL_OO_METHOD_VERSION_CURRENT
 
#define OT_CONSTRUCTOR_POST(x)
 
#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 ConfigSetAllTimeout_doc   "$ctx ConfigSetAllTimeout data:MkTimeoutE|int32"
 
#define ConfigSetBgError_doc   "$ctx ConfigSetBgError ?callback:callable=\"MK_NULL\"?"
 
#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=\"MK_NULL\"?"
 
#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=\"NULL\"? ?port:string=\"NULL\"? ?myhost:string=\"NULL\"? ?myport:string=\"NULL\"?"
 
#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=\"MK_NULL\"?"
 
#define ConfigSetServerSetup_doc   "$ctx ConfigSetServerSetup ?callback:callable=\"MK_NULL\"?"
 
#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 CTOR_doc   "MqContextC [MqContextC CTOR ?tmpl:MqContextC=\"MK_NULL\"?]"
 
#define Create_doc   "MqContextC [MqContextC Create ?tmpl:MqContextC=\"MK_NULL\"?]"
 
#define GetNull_doc   "MqContextC [MqContextC GetNull]"
 
#define HandleResolve_doc   "MqContextC [MqContextC HandleResolve netHdl:MK_HDL]"
 
#define Instances_doc   "MqContextC [MqContextC Instances]"
 
#define ErrorFORMAT_doc   "MkErrorC [$fmtobj ErrorFORMAT] (const)"
 
#define GetBuffer_doc   "MkBufferC [$ctx GetBuffer]"
 
#define Next_doc   "MqContextC [$ctx Next]"
 
#define Prev_doc   "MqContextC [$ctx Prev]"
 
#define ErrorCopy_doc   "MkErrorE [$targetCtx ErrorCopy sourceCtx:MqContextC] (const)"
 
#define ErrorMove_doc   "MkErrorE [$targetCtx ErrorMove sourceCtx:MqContextC] (const)"
 
#define LogConfig_doc   "$ctx LogConfig ?fmtobj:MkObjectC=\"MK_NULL\"? ?debug:int32=0? ?callfunc:string=\"MK_NULL\"? ?lvl:int32=0? (const)"
 
#define LogEnv_doc   "$ctx LogEnv ?fmtobj:MkObjectC=\"MK_NULL\"? ?debug:int32=0? ?callfunc:string=\"MK_NULL\"? ?lvl:int32=0? (const)"
 
#define LogLink_doc   "$ctx LogLink ?fmtobj:MkObjectC=\"MK_NULL\"? ?debug:int32=0? ?callfunc:string=\"MK_NULL\"? ?lvl:int32=0? (const)"
 
#define LogSetup_doc   "$ctx LogSetup ?fmtobj:MkObjectC=\"MK_NULL\"? ?debug:int32=0? ?callfunc:string=\"MK_NULL\"? ?lvl:int32=0? (const)"
 
#define LogShort_doc   "$ctx LogShort ?fmtobj:MkObjectC=\"MK_NULL\"? ?debug:int32=0? ?callfunc:string=\"MK_NULL\"? ?lvl:int32=0? ?label:string=\"NULL\"? (const)"
 
#define LogType_doc   "$ctx LogType ?fmtobj:MkObjectC=\"MK_NULL\"? ?debug:int32=0? ?callfunc:string=\"MK_NULL\"? ?lvl:int32=0? (const)"
 
#define EnvProtect_doc   "$ctx EnvProtect"
 
#define EnvRestore_doc   "$ctx EnvRestore"
 
#define Exit_doc   "int32 [$ctx Exit ?callfunc:string=\"MK_NULL\"? ?callfile:string=\"MK_NULL\"? ?callline:int32=-1?]"
 
#define GetRoot_doc   "MqContextC [$ctx GetRoot]"
 
#define LinkGetParent_doc   "MqContextC [$ctx LinkGetParent]"
 
#define LinkConnect_doc   "$ctx LinkConnect"
 
#define LinkCreate_doc   "$ctx LinkCreate ?args:MkBufferListC...=\"MK_NULL\"?"
 
#define LinkCreateChild_doc   "$ctx LinkCreateChild parent:MqContextC ?args:MkBufferListC...=\"MK_NULL\"?"
 
#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=\"MK_NULL\"? ?timeout:MkTimeoutE|int32=DEFAULT?"
 
#define ProxyItem_doc   "$sourceCtx ProxyItem targetCtx:MqContextC"
 
#define ReadALL_doc   "MkBufferListC [$ctx ReadALL ?val_inout:MkBufferListC=\"MK_NULL\"?]"
 
#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=\"MK_NULL\"?"
 
#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...=\"MK_NULL\"?"
 
#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...=\"MK_NULL\"?"
 
#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]"
 

Functions

static MK_PTR tclmqmsgque_MqContextC_selfCreate (MK_RT mkrt, MK_OBJ const obj, MK_PTR const env)
 
static void tclmqmsgque_MqContextC_selfDelete (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
static void tclmqmsgque_MqContextC_selfUnlink (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
static OT_ProcRet tclmqmsgque_MqContextC_Debug (MqContextC_ARGS)
 TCL: $ctx Debug prefix:string
 
static OT_ProcRet tclmqmsgque_MqContextC_printObj (MqContextC_ARGS)
 TCL: $ctx printObj obj:Tcl_Obj ?prefix:string=""?
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStartAsNum (MqContextC_ARGS)
  Tcl: MqStartE [$ctx ConfigGetStartAs] C-API
return the MqConfigS::startAs value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStatusIsNum (MqContextC_ARGS)
  Tcl: MqStatusIsEF [$ctx ConfigGetStatusIs] C-API
return the MqContextS::statusIs value
 
static OT_ProcRet tclmqmsgque_MqContextC_HandleResolve (OtClass_ARGS)
  Tcl: (static) MqContextC [MqContextC HandleResolve netHdl:MK_HDL] C-API
Handle-Resolve-Slot - return a MqContextC from netHdl or "MK_NULL" if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet tclmqmsgque_MqContextC_HandleGet (MqContextC_ARGS)
 
static OT_ProcRet tclmqmsgque_MqContextC_Next (MqContextC_ARGS)
  Tcl: MqContextC [$ctx Next] C-API
get next instance from linked-list of MqContextS type
 
static OT_ProcRet tclmqmsgque_MqContextC_Prev (MqContextC_ARGS)
  Tcl: MqContextC [$ctx Prev] C-API
get previous instance from linked-list of MqContextS type
 
static OT_ProcRet tclmqmsgque_MqContextC_Instances (OtClass_ARGS)
  Tcl: (static) MqContextC [MqContextC Instances] C-API
get head-instance from linked-list of MqContextS type …
 
static OT_ProcRet tclmqmsgque_MqContextC_GetNull (OtClass_ARGS)
  Tcl: (static) MqContextC [MqContextC GetNull] C-API
Null-Slot - return a MqContextC typed NULL instance …
 
static OT_ProcRet tclmqmsgque_MqContextC_ClassFactoryGet (MqContextC_ARGS)
  Tcl: MqFactoryC [$ctx ClassFactoryGet] C-API
get the MqFactoryC used by the MqContextC
 
static OT_ProcRet tclmqmsgque_MqContextC_ClassFactorySet (MqContextC_ARGS)
  Tcl: $ctx ClassFactorySet item:MqFactoryC C-API
link the MqContextC to a new MqFactoryC
 
static OT_ProcRet tclmqmsgque_MqContextC_ClassIdentGet (MqContextC_ARGS)
  Tcl: string [$ctx ClassIdentGet] C-API
get the application-identification
 
static OT_ProcRet tclmqmsgque_MqContextC_ClassIdentSet (MqContextC_ARGS)
  Tcl: $ctx ClassIdentSet ident:string C-API
link the MqContextC to a new MqFactoryC identified by ident
 
static OT_ProcRet tclmqmsgque_MqContextC_ClassOriginalIdentGet (MqContextC_ARGS)
  Tcl: string [$ctx ClassOriginalIdentGet] C-API
get the MqFactoryS::originalIdent from the MqContextC
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIoTcpL (MqContextC_ARGS)
  Tcl: MkBufferListC [$ctx ConfigGetIoTcpL] C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetBuffersize (MqContextC_ARGS)
  Tcl: int32 [$ctx ConfigGetBuffersize] C-API
get the minimum of the read/send buffersize of the socket
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIdentFrom (MqContextC_ARGS)
  Tcl: MqIdentE [$ctx ConfigGetIdentFrom] C-API
get the MqConfigS::identFrom
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIoPipe (MqContextC_ARGS)
  Tcl: int32 [$ctx ConfigGetIoPipe] C-API
return the MqIoPipeConfigS
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIoUds (MqContextC_ARGS)
  Tcl: string [$ctx ConfigGetIoUds] C-API
return the MqIoUdsConfigS
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIsParent (MqContextC_ARGS)
  Tcl: bool [$ctx ConfigGetIsParent] C-API
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is "MK_NULL"
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIsServer (MqContextC_ARGS)
  Tcl: bool [$ctx ConfigGetIsServer] C-API
does the context object is a server ?
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIsString (MqContextC_ARGS)
  Tcl: bool [$ctx ConfigGetIsString] C-API
does the context object is using the string-mode ?
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetName (MqContextC_ARGS)
  Tcl: string [$ctx ConfigGetName] C-API
get the name of the context object
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetPkgsize (MqContextC_ARGS)
  Tcl: int32 [$ctx ConfigGetPkgsize] C-API
get the maximun size of a BDY package
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetPostfix (MqContextC_ARGS)
  Tcl: string [$ctx ConfigGetPostfix] C-API
get the MqConfigS::dispPostfix
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetPrefix (MqContextC_ARGS)
  Tcl: string [$ctx ConfigGetPrefix] C-API
get the MqConfigS::dispPrefix
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStartAs (MqContextC_ARGS)
  Tcl: MqStartE [$ctx ConfigGetStartAs] C-API
return the MqConfigS::startAs value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStatusIs (MqContextC_ARGS)
  Tcl: MqStatusIsEF [$ctx ConfigGetStatusIs] C-API
return the MqContextS::statusIs value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetStorage (MqContextC_ARGS)
  Tcl: string [$ctx ConfigGetStorage] C-API
get the storage of the context object
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetTimeout (MqContextC_ARGS)
  Tcl: MkTimeoutE|int32 [$ctx ConfigGetTimeout] C-API
get the timeout value of the context object
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetConfigFile (MqContextC_ARGS)
  Tcl: $ctx ConfigSetConfigFile filename:string C-API
set the config-file and parse for well-known config-items
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigGetIoTcp (MqContextC_ARGS)
  Tcl: {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 tclmqmsgque_MqContextC_ConfigSetBgError (MqContextC_ARGS)
  Tcl: $ctx ConfigSetBgError ?callback:callable="MK_NULL"? C-API
set the MqSetupS::BgError
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetEvent (MqContextC_ARGS)
  Tcl: $ctx ConfigSetEvent ?callback:callable="MK_NULL"? C-API
set the MqSetupS::Event
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetServerCleanup (MqContextC_ARGS)
  Tcl: $ctx ConfigSetServerCleanup ?callback:callable="MK_NULL"? C-API
set the MqSetupS::ServerCleanup
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetServerSetup (MqContextC_ARGS)
  Tcl: $ctx ConfigSetServerSetup ?callback:callable="MK_NULL"? C-API
set the MqSetupS::ServerSetup
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigReset (MqContextC_ARGS)
  Tcl: $ctx ConfigReset C-API
clean the MqContextS::config data
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigCheckStartAs (MqContextC_ARGS)
  Tcl: bool [$ctx ConfigCheckStartAs data:MqStartE] C-API
check if MqConfigS::startAs can be set to data
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetAllDebug (MqContextC_ARGS)
  Tcl: $ctx ConfigSetAllDebug data:int32 C-API
set the MkRuntimeS::debug value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetAllTimeout (MqContextC_ARGS)
  Tcl: $ctx ConfigSetAllTimeout data:MkTimeoutE|int32 C-API
set the MqIoConfigS::timeout value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetBuffersize (MqContextC_ARGS)
  Tcl: $ctx ConfigSetBuffersize data:int32 C-API
set the MqIoConfigS::buffersize value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetDaemon (MqContextC_ARGS)
  Tcl: $ctx ConfigSetDaemon pidfile:string C-API
start the server-context as daemon …
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIdentFrom (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIdentFrom data:MqIdentE C-API
set the MqConfigS::identFrom value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIgnoreExit (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIgnoreExit data:bool C-API
set the MqSetupS::ignoreExit value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIoPipe (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIoPipe fh:int32 C-API
set the pipe configuration data …
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIoTcp (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIoTcp ?host:string="NULL"? ?port:string="NULL"? ?myhost:string="NULL"? ?myport:string="NULL"? C-API
configure a context to use a tcp-client-server-link
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIoTcpL (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIoTcpL vals:MkBufferListC C-API
configure a context to use a tcp-client-server-link
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIoUds (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIoUds file:string C-API
configure a context to use a uds-client-server-link
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIsServer (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIsServer data:bool C-API
set the MqSetupS::isServer value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetIsString (MqContextC_ARGS)
  Tcl: $ctx ConfigSetIsString data:bool C-API
set the MqConfigS::native value 'S'string or 'L'owEndian or 'B'igEndian
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetName (MqContextC_ARGS)
  Tcl: $ctx ConfigSetName data:string C-API
set the MqConfigS::dispName value and cleanup old value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetPkgsize (MqContextC_ARGS)
  Tcl: $ctx ConfigSetPkgsize data:int32 C-API
set the MqIoConfigS::pkgsize value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetPostfix (MqContextC_ARGS)
  Tcl: $ctx ConfigSetPostfix data:string C-API
set the client-part (2) of the application-identifer MqConfigS::dispName
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetPrefix (MqContextC_ARGS)
  Tcl: $ctx ConfigSetPrefix data:string C-API
set the server-part (1) of the application-identifer MqConfigS::dispName
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetStartAs (MqContextC_ARGS)
  Tcl: $ctx ConfigSetStartAs data:MqStartE C-API
set the MqConfigS::startAs value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetStartAsString (MqContextC_ARGS)
  Tcl: $ctx ConfigSetStartAsString data:string C-API
set the MqConfigS::startAs value using string default, thread, fork or spawn
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetStorage (MqContextC_ARGS)
  Tcl: $ctx ConfigSetStorage data:string C-API
set the Storage value and cleanup old value
 
static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetTimeout (MqContextC_ARGS)
  Tcl: $ctx ConfigSetTimeout data:MkTimeoutE|int32 C-API
set the MqIoConfigS::timeout value
 
static OT_ProcRet tclmqmsgque_MqContextC_EnvProtect (MqContextC_ARGS)
  Tcl: $ctx EnvProtect C-API
protect the service-environment
 
static OT_ProcRet tclmqmsgque_MqContextC_EnvRestore (MqContextC_ARGS)
  Tcl: $ctx EnvRestore C-API
restore the service-environment
 
static OT_ProcRet tclmqmsgque_MqContextC_ErrorFORMAT (MqContextC_ARGS)
  Tcl: MkErrorC [$fmtobj ErrorFORMAT] C-API
helper used to access MkErrorDEFAULT from MqContextC
 
OT_ProcRet tclmqmsgque_MqContextC_ErrorCopy (MqContextC_ARGS)
  Tcl: MkErrorE [$targetCtx ErrorCopy sourceCtx:MqContextC] C-API
copy a MkErrorS from the sourceCtx to the targetCtx
 
OT_ProcRet tclmqmsgque_MqContextC_ErrorMove (MqContextC_ARGS)
  Tcl: MkErrorE [$targetCtx ErrorMove sourceCtx:MqContextC] C-API
move a MkErrorS from the sourceCtx to the targetCtx
 
OT_ProcRet tclmqmsgque_MqContextC_Send (MqContextC_ARGS)
  Tcl: $ctx Send cstr:string args:args... C-API
user friendly replacement for the MqContextC_SendApi_C_API
 
static OT_ProcRet tclmqmsgque_MqContextC_LinkGetParent (MqContextC_ARGS)
  Tcl: MqContextC [$ctx LinkGetParent] C-API
get the initial parent-context from a client/server link …
 
static OT_ProcRet tclmqmsgque_MqContextC_LinkConnect (MqContextC_ARGS)
  Tcl: $ctx LinkConnect C-API
re-connect a client-server-link after a server crash or a network downtime …
 
static OT_ProcRet tclmqmsgque_MqContextC_LinkCreate (MqContextC_ARGS)
  Tcl: $ctx LinkCreate ?args:MkBufferListC...="MK_NULL"? C-API
make ctx to a parent-context and setup a new client-server-link
 
static OT_ProcRet tclmqmsgque_MqContextC_LinkCreateChild (MqContextC_ARGS)
  Tcl: $ctx LinkCreateChild parent:MqContextC ?args:MkBufferListC...="MK_NULL"? C-API
make a context to a child-context on-top of an existing parent-client-server-link
 
static OT_ProcRet tclmqmsgque_MqContextC_LinkDelete (MqContextC_ARGS)
  Tcl: $ctx LinkDelete C-API
close the client-server-link
 
static OT_ProcRet tclmqmsgque_MqContextC_LinkGetCtxId (MqContextC_ARGS)
  Tcl: int32 [$ctx LinkGetCtxId] C-API
get an identifier which is unique per parent-or-child-context
 
static OT_ProcRet tclmqmsgque_MqContextC_LinkGetTargetIdent (MqContextC_ARGS)
  Tcl: string [$ctx LinkGetTargetIdent] C-API
get the ident of the link-target
 
static OT_ProcRet tclmqmsgque_MqContextC_LinkIsConnected (MqContextC_ARGS)
  Tcl: bool [$ctx LinkIsConnected] C-API
is the context connected? …
 
static OT_ProcRet tclmqmsgque_MqContextC_LinkIsParent (MqContextC_ARGS)
  Tcl: bool [$ctx LinkIsParent] C-API
is the context a parent-context? …
 
static OT_ProcRet tclmqmsgque_MqContextC_LinkShutdown (MqContextC_ARGS)
  Tcl: $ctx LinkShutdown C-API
shutdown the communication with a server
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet tclmqmsgque_MqContextC_Log (MqContextC_ARGS)
 
static OT_ProcRet tclmqmsgque_MqContextC_LogConfig (MqContextC_ARGS)
  Tcl: $ctx LogConfig ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0? C-API
log the MqContextC part MqConfigS
 
static OT_ProcRet tclmqmsgque_MqContextC_LogEnv (MqContextC_ARGS)
  Tcl: $ctx LogEnv ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0? C-API
log the MqContextC part MqEnvS
 
static OT_ProcRet tclmqmsgque_MqContextC_LogLink (MqContextC_ARGS)
  Tcl: $ctx LogLink ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0? C-API
log the MqContextC part MqLinkS
 
static OT_ProcRet tclmqmsgque_MqContextC_LogSetup (MqContextC_ARGS)
  Tcl: $ctx LogSetup ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0? C-API
log the MqContextC part MqSetupS
 
static OT_ProcRet tclmqmsgque_MqContextC_LogShort (MqContextC_ARGS)
  Tcl: $ctx LogShort ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0? ?label:string="NULL"? C-API
log the MqContextC with less info then MqContextLog
 
static OT_ProcRet tclmqmsgque_MqContextC_LogType (MqContextC_ARGS)
  Tcl: $ctx LogType ?fmtobj:MkObjectC="MK_NULL"? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0? C-API
log the MqContextC part MkTypeS
 
static OT_ProcRet tclmqmsgque_MqContextC_LogParentOrChild (MqContextC_ARGS)
  Tcl: string [$ctx LogParentOrChild] C-API
is ctx a PARENT or a CHILD ? …
 
static OT_ProcRet tclmqmsgque_MqContextC_LogServerOrClient (MqContextC_ARGS)
  Tcl: string [$ctx LogServerOrClient] C-API
is ctx a SERVER or a CLIENT ? …
 
static OT_ProcRet tclmqmsgque_MqContextC_GetBuffer (MqContextC_ARGS)
  Tcl: MkBufferC [$ctx GetBuffer] C-API
get the MqContextS::ctxbuf object
 
static OT_ProcRet tclmqmsgque_MqContextC_GetRoot (MqContextC_ARGS)
  Tcl: MqContextC [$ctx GetRoot] C-API
get the Root (toplevel initial context)
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet tclmqmsgque_MqContextC_ToString (MqContextC_ARGS)
 
static OT_ProcRet tclmqmsgque_MqContextC_Exit (MqContextC_ARGS)
  Tcl: int32 [$ctx Exit ?callfunc:string="MK_NULL"? ?callfile:string="MK_NULL"? ?callline:int32=-1?] C-API
delete the context and exit the current process or thread …
 
static OT_ProcRet tclmqmsgque_MqContextC_ProcessEvent (MqContextC_ARGS)
  Tcl: $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 tclmqmsgque_MqContextC_ProxyForward (MqContextC_ARGS)
  Tcl: $sourceCtx ProxyForward targetCtx:MqContextC ?dump:MqDumpC="MK_NULL"? ?timeout:MkTimeoutE|int32=DEFAULT? C-API
send the entire read-data-package-data to the link-target
 
static OT_ProcRet tclmqmsgque_MqContextC_ProxyItem (MqContextC_ARGS)
  Tcl: $sourceCtx ProxyItem targetCtx:MqContextC C-API
Copy a single-data-item from the sourceCtx to the targetCtx.
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadALL (MqContextC_ARGS)
  Tcl: MkBufferListC [$ctx ReadALL ?val_inout:MkBufferListC="MK_NULL"?] C-API
get a temporary MkBufferListC from all data in the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadBFL (MqContextC_ARGS)
  Tcl: MkBufferListC [$ctx ReadBFL] C-API
get a temporary MkBufferListC from next list-item in the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadBUF (MqContextC_ARGS)
  Tcl: MkBufferC [$ctx ReadBUF] C-API
get a temporary MkBufferC from the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadBIN (MqContextC_ARGS)
  Tcl: doc_mq_tcl_ReadBIN C-API
generic function to read an MK_BIN object from the read-data-package object …
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadBOL (MqContextC_ARGS)
  Tcl: doc_mq_tcl_ReadBOL C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadBinaryR (MqContextC_ARGS)
  Tcl: binary [$ctx ReadBinaryR] C-API
read a MkBinaryR from the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadDBL (MqContextC_ARGS)
  Tcl: doc_mq_tcl_ReadDBL C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadFLT (MqContextC_ARGS)
  Tcl: doc_mq_tcl_ReadFLT C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadHDL (MqContextC_ARGS)
  Tcl: MK_HDL [$ctx ReadHDL] C-API
read the handle from the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadI16 (MqContextC_ARGS)
  Tcl: doc_mq_tcl_ReadI16 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadI32 (MqContextC_ARGS)
  Tcl: doc_mq_tcl_ReadI32 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadI64 (MqContextC_ARGS)
  Tcl: doc_mq_tcl_ReadI64 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadI8 (MqContextC_ARGS)
  Tcl: doc_mq_tcl_ReadI8 C-API
read a PRIMITIVE TYPE from the read-data-package
 
OT_ProcRet tclmqmsgque_MqContextC_ReadLIST (MqContextC_ARGS)
  Tcl: [list...] [$ctx ReadLIST] C-API
get all arguments as native list …
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadLONG (MqContextC_ARGS)
  Tcl: long [$ctx ReadLONG] C-API
read the long native object from the read-data-package
 
OT_ProcRet tclmqmsgque_MqContextC_ReadNEXT (MqContextC_ARGS)
  Tcl: obj [$ctx ReadNEXT] C-API
get the next argument as native object …
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadSTR (MqContextC_ARGS)
  Tcl: doc_mq_tcl_ReadSTR C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadStringR (MqContextC_ARGS)
  Tcl: string [$ctx ReadStringR] C-API
read a MkStringR from the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadL_END (MqContextC_ARGS)
  Tcl: $ctx ReadL_END C-API
finish to extract a list-items from the read-data-package. …
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadL_START (MqContextC_ARGS)
  Tcl: $ctx ReadL_START ?buf:MkBufferC="MK_NULL"? C-API
start to extract a list-items from the read-data-package. …
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadT_END (MqContextC_ARGS)
  Tcl: $ctx ReadT_END C-API
finish to extract a longterm-transaction-item from the read-data-package. …
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadT_START (MqContextC_ARGS)
  Tcl: $ctx ReadT_START C-API
start to extract a longterm-transaction-item from the read-data-package. …
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadDbg (MqContextC_ARGS)
 internal function: MqReadDbg
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadGetNextType (MqContextC_ARGS)
  Tcl: 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 tclmqmsgque_MqContextC_ReadGetNumItems (MqContextC_ARGS)
  Tcl: int32 [$ctx ReadGetNumItems] C-API
get the number of items left in the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadItemExists (MqContextC_ARGS)
  Tcl: bool [$ctx ReadItemExists] C-API
check if an item exists in the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_ReadUndo (MqContextC_ARGS)
  Tcl: $ctx ReadUndo C-API
undo the last MqContextC READ API function call …
 
static OT_ProcRet tclmqmsgque_MqContextC_RouteGetTree (MqContextC_ARGS)
  Tcl: MkBufferListC [$ctx RouteGetTree] C-API
create an overview about all available routing-target and services …
 
static OT_ProcRet tclmqmsgque_MqContextC_RouteCreate (MqContextC_ARGS)
  Tcl: $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 tclmqmsgque_MqContextC_RouteDelete (MqContextC_ARGS)
  Tcl: $ctx RouteDelete route:string service:string ?overwrite:bool=false? C-API
delete a routing-link created with MqRouteCreate
 
static OT_ProcRet tclmqmsgque_MqContextC_RouteResolve (MqContextC_ARGS)
  Tcl: [MqContextC...] [$ctx RouteResolve ident:string ?retnum:int32=-1?] C-API
return a list of all context belonging to ident
 
static OT_ProcRet tclmqmsgque_MqContextC_RouteTraverse (MqContextC_ARGS)
  Tcl: $ctx RouteTraverse service:string ?args:MkBufferListC...="MK_NULL"? C-API
traverse a tree down and call service if available.
 
static OT_ProcRet tclmqmsgque_MqContextC_RouteGetPath (MqContextC_ARGS)
  Tcl: string [$ctx RouteGetPath] C-API
return the absolut route-connection-string up to the current ctx
 
static OT_ProcRet tclmqmsgque_MqContextC_SendBFL (MqContextC_ARGS)
  Tcl: $ctx SendBFL val:MkBufferListC C-API
append a MkBufferListC object to the send-data-package object …
 
static OT_ProcRet tclmqmsgque_MqContextC_SendBIN (MqContextC_ARGS)
  Tcl: doc_mq_tcl_SendBIN C-API
append a MK_BIN object to the send-data-package. …
 
static OT_ProcRet tclmqmsgque_MqContextC_SendBOL (MqContextC_ARGS)
  Tcl: doc_mq_tcl_SendBOL C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_SendBUF (MqContextC_ARGS)
  Tcl: $ctx SendBUF val:MkBufferC C-API
append a MkBufferC object to the send-data-package object …
 
static OT_ProcRet tclmqmsgque_MqContextC_SendBUS_FLAT (MqContextC_ARGS)
  Tcl: $ctx SendBUS_FLAT val:MkBufferStreamC C-API
append a MkBufferStreamC object to the send-data-package object …
 
static OT_ProcRet tclmqmsgque_MqContextC_SendBinaryR (MqContextC_ARGS)
  Tcl: $ctx SendBinaryR val:binary C-API
append a MkBinaryR object to the send-data-package. …
 
static OT_ProcRet tclmqmsgque_MqContextC_SendDBL (MqContextC_ARGS)
  Tcl: doc_mq_tcl_SendDBL C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_SendFLT (MqContextC_ARGS)
  Tcl: doc_mq_tcl_SendFLT C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_SendHDL (MqContextC_ARGS)
  Tcl: $ctx SendHDL val:MK_HDL C-API
send the handle to the send-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_SendI16 (MqContextC_ARGS)
  Tcl: doc_mq_tcl_SendI16 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_SendI32 (MqContextC_ARGS)
  Tcl: doc_mq_tcl_SendI32 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_SendI64 (MqContextC_ARGS)
  Tcl: doc_mq_tcl_SendI64 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_SendI8 (MqContextC_ARGS)
  Tcl: doc_mq_tcl_SendI8 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_SendLONG (MqContextC_ARGS)
  Tcl: $ctx SendLONG val:long C-API
send the long native object to the send-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_SendLTR (MqContextC_ARGS)
 internal function: MqSendLTR
 
static OT_ProcRet tclmqmsgque_MqContextC_SendL_FLAT (MqContextC_ARGS)
  Tcl: $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 tclmqmsgque_MqContextC_SendSTR (MqContextC_ARGS)
  Tcl: doc_mq_tcl_SendSTR C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_SendStringR (MqContextC_ARGS)
  Tcl: $ctx SendStringR val:string C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_SendEND (MqContextC_ARGS)
  Tcl: $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 tclmqmsgque_MqContextC_SendEND_AND_CALLBACK (MqContextC_ARGS)
  Tcl: $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 tclmqmsgque_MqContextC_SendEND_AND_SUB (MqContextC_ARGS)
  Tcl: $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 tclmqmsgque_MqContextC_SendEND_AND_TRANSACTION (MqContextC_ARGS)
  Tcl: $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 tclmqmsgque_MqContextC_SendEND_AND_WAIT (MqContextC_ARGS)
  Tcl: $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 tclmqmsgque_MqContextC_SendSTART (MqContextC_ARGS)
  Tcl: $ctx SendSTART C-API
initialize the send-data-package. …
 
static OT_ProcRet tclmqmsgque_MqContextC_SendSYNC (MqContextC_ARGS)
  Tcl: $ctx SendSYNC C-API
garantee that all pending asynchronous-service-calls are processed. …
 
static OT_ProcRet tclmqmsgque_MqContextC_SendL_END (MqContextC_ARGS)
  Tcl: $ctx SendL_END C-API
finish to append an embedded body-list-item to the send-data-package. …
 
static OT_ProcRet tclmqmsgque_MqContextC_SendL_START (MqContextC_ARGS)
  Tcl: $ctx SendL_START C-API
start to append an embedded body-list-item to the send-data-package. …
 
static OT_ProcRet tclmqmsgque_MqContextC_SendT_END (MqContextC_ARGS)
  Tcl: $ctx SendT_END C-API
closed a longterm-transaction-item
 
static OT_ProcRet tclmqmsgque_MqContextC_SendT_START (MqContextC_ARGS)
  Tcl: $ctx SendT_START C-API
open a longterm-transaction-item
 
static OT_ProcRet tclmqmsgque_MqContextC_SendERROR (MqContextC_ARGS)
  Tcl: $ctx SendERROR C-API
send the data from the MkErrorC to the link target . …
 
static OT_ProcRet tclmqmsgque_MqContextC_SendRETURN (MqContextC_ARGS)
  Tcl: $ctx SendRETURN C-API
MqContextC - finish the send-data-block on the server and optional return the results. …
 
static OT_ProcRet tclmqmsgque_MqContextC_SendRETURN_SUB (MqContextC_ARGS)
  Tcl: $ctx SendRETURN_SUB C-API
return Sub-Data-Blocks required by MqSendEND_AND_SUB
 
static OT_ProcRet tclmqmsgque_MqContextC_ServiceCreate (MqContextC_ARGS)
  Tcl: $ctx ServiceCreate token:string[4] callback:callable C-API
create a link between a service-token and a service-callback
 
static OT_ProcRet tclmqmsgque_MqContextC_ServiceDelete (MqContextC_ARGS)
  Tcl: $ctx ServiceDelete token:string[4] C-API
delete a service. …
 
static OT_ProcRet tclmqmsgque_MqContextC_ServiceIsTransaction (MqContextC_ARGS)
  Tcl: bool [$ctx ServiceIsTransaction] C-API
check if the ongoing-service-call belongs to a transaction …
 
static OT_ProcRet tclmqmsgque_MqContextC_ServiceProxy (MqContextC_ARGS)
  Tcl: $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 tclmqmsgque_MqContextC_ServiceProxyCtx (MqContextC_ARGS)
  Tcl: $ctx ServiceProxyCtx token:string[4] target:MqContextC C-API
same as MqServiceProxy but use an MqContextC as input.
 
static OT_ProcRet tclmqmsgque_MqContextC_ServiceProxyCtxExists (MqContextC_ARGS)
  Tcl: bool [$ctx ServiceProxyCtxExists token:string[4] target:MqContextC] C-API
check if service who belongs to token is a proxy-service
 
static OT_ProcRet tclmqmsgque_MqContextC_ServiceProxyRoundRobin (MqContextC_ARGS)
  Tcl: $ctx ServiceProxyRoundRobin token:string[4] ident:string C-API
create a proxy-service using Round-Robin as load-balancer …
 
static OT_ProcRet tclmqmsgque_MqContextC_ServiceStorage (MqContextC_ARGS)
  Tcl: $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 tclmqmsgque_MqContextC_ServiceTokenCheck (MqContextC_ARGS)
  Tcl: 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 tclmqmsgque_MqContextC_ServiceTokenExists (MqContextC_ARGS)
  Tcl: bool [$ctx ServiceTokenExists token:string[4]] C-API
check if the MqContextC_ServiceApi_Identifer token is defined as ctx service …
 
static OT_ProcRet tclmqmsgque_MqContextC_ServiceTokenGet (MqContextC_ARGS)
  Tcl: string[4] [$ctx ServiceTokenGet] C-API
in an ongoing-service-call get the current MqContextC_ServiceApi_Identifer
 
static OT_ProcRet tclmqmsgque_MqContextC_SlaveGetMaster (MqContextC_ARGS)
  Tcl: MqContextC [$ctx SlaveGetMaster] C-API
opposite function of MqSlaveGetFilter
 
static OT_ProcRet tclmqmsgque_MqContextC_SlaveGet (MqContextC_ARGS)
  Tcl: MqContextC [$ctx SlaveGet id:MqSlaveE|int32] C-API
get the slave-context from a master-context
 
static OT_ProcRet tclmqmsgque_MqContextC_SlaveGetFilter (MqContextC_ARGS)
  Tcl: MqContextC [$ctx SlaveGetFilter] C-API
get the filter-ctx or the master-ctx
 
static OT_ProcRet tclmqmsgque_MqContextC_SlaveGetProxy (MqContextC_ARGS)
  Tcl: 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 tclmqmsgque_MqContextC_SlaveCheck (MqContextC_ARGS)
  Tcl: bool [$ctx SlaveCheck id:MqSlaveE|int32] C-API
check if slave-id is valid
 
static OT_ProcRet tclmqmsgque_MqContextC_SlaveCreate (MqContextC_ARGS)
  Tcl: $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 tclmqmsgque_MqContextC_SlaveDelete (MqContextC_ARGS)
  Tcl: $ctx SlaveDelete id:MqSlaveE|int32 C-API
Delete a slave object from a master/slave link identified by id. …
 
static OT_ProcRet tclmqmsgque_MqContextC_SlaveIs (MqContextC_ARGS)
  Tcl: bool [$ctx SlaveIs] C-API
is the context a slave-context ? …
 
static OT_ProcRet tclmqmsgque_MqContextC_SlaveWorker (MqContextC_ARGS)
  Tcl: $ctx SlaveWorker id:MqSlaveE|int32 ?fct:string="WORKER"? ?args:MkBufferListC...="MK_NULL"? C-API
create a master/slave link using the image of the ctx object self. …
 
static OT_ProcRet tclmqmsgque_MqContextC_StorageDelete (MqContextC_ARGS)
  Tcl: int32 [$ctx StorageDelete ?*transLIdP_inout:int32=0?] C-API
delete the storage-row identified by the transLIdP_inout
 
static OT_ProcRet tclmqmsgque_MqContextC_StorageImport (MqContextC_ARGS)
  Tcl: int32 [$ctx StorageImport ?*transLIdP_inout:int32=0?] C-API
import the storage-package into the read-data-package
 
static OT_ProcRet tclmqmsgque_MqContextC_StorageClose (MqContextC_ARGS)
  Tcl: $ctx StorageClose C-API
close the storage. …
 
static OT_ProcRet tclmqmsgque_MqContextC_StorageDecrRef (MqContextC_ARGS)
  Tcl: $ctx StorageDecrRef transLId:int32 C-API
decrease the internal refCount lock of the database-entry
 
static OT_ProcRet tclmqmsgque_MqContextC_StorageIncrRef (MqContextC_ARGS)
  Tcl: $ctx StorageIncrRef transLId:int32 C-API
increase the internal refCount lock of the database-entry
 
static OT_ProcRet tclmqmsgque_MqContextC_StorageLog (MqContextC_ARGS)
  Tcl: $ctx StorageLog ?callfunc:string="MK_NULL"? C-API
log the storage the status of the open transactions
 
static OT_ProcRet tclmqmsgque_MqContextC_StorageOpen (MqContextC_ARGS)
  Tcl: $ctx StorageOpen storageFile:string C-API
switch to a file-based-transaction-database
 
static OT_ProcRet tclmqmsgque_MqContextC_StorageCount (MqContextC_ARGS)
  Tcl: int32 [$ctx StorageCount] C-API
count the number of storage-rows
 
static OT_ProcRet tclmqmsgque_MqContextC_StorageErrCnt (MqContextC_ARGS)
  Tcl: int32 [$ctx StorageErrCnt transLId:int32] C-API
increment and return the database row-error-count for the row defined with transLId
 
static OT_ProcRet tclmqmsgque_MqContextC_StorageExport (MqContextC_ARGS)
  Tcl: int32 [$ctx StorageExport] C-API
export the read-data-package into the STORAGE
 
static OT_ProcRet tclmqmsgque_MqContextC_StorageResolve (MqContextC_ARGS)
  Tcl: {otherCtxP:MqContextC otherLIdP:int32} [$ctx StorageResolve] C-API
extract the context->link.protect.rmtTransLId entry from the database
 
static OT_ProcRet tclmqmsgque_MqContextC_CTOR (CONSTR_ARGS)
  Tcl: (constructor,static) MqContextC [MqContextC CTOR ?tmpl:MqContextC="MK_NULL"?] C-API
create and initialize the MqContextC ...
 
static OT_ProcRet tclmqmsgque_MqContextC_Create (OtClass_ARGS)
  Tcl: (constructor,static) MqContextC [MqContextC Create ?tmpl:MqContextC="MK_NULL"?] C-API
create and initialize the MqContextC ...
 
static MK_UNUSED int tclmqmsgque_ProcessExit (MK_RT mkrt, MK_I32 num)
 
static int tclmqmsgque_ThreadExit (MK_RT mkrt, MK_I32 num)
 
static enum MkErrorE tclmqmsgque_Idle (MQ_SERVICE_CALL_ARGS)
 
static void tclmqmsgque_sMqContextC_Type (MK_RT mkrt)
 
int tclmqmsgque_pMqContextC_Init (MK_RT mkrt, OT_ENV_T interp, OT_NS_T ns)
 

Variables

__thread OT_CLS_T OT_CLASS = NULL
 
static __thread MK_TYP MqContextCTT = NULL
 
__thread OT_OBJ_T tclmqmsgque_MqContextC_MK_NULL = NULL
 
static Tcl_MethodType tclmqmsgque_sOtClassDef []
 
static Tcl_MethodType tclmqmsgque_sInstanceDef []
 
static struct MkRuntimeCallbackS sTclMqRuntimeCallback = {0}
 

Detailed Description

tag: nhi1-release-250425

Definition in file MqContextC_tcl.c.

Macro Definition Documentation

◆ ClassFactoryGet_doc

#define ClassFactoryGet_doc   "MqFactoryC [$ctx ClassFactoryGet] (const)"

Definition at line 124 of file MqContextC_tcl.c.

◆ ClassFactorySet_doc

#define ClassFactorySet_doc   "$ctx ClassFactorySet item:MqFactoryC"

Definition at line 127 of file MqContextC_tcl.c.

◆ ClassIdentGet_doc

#define ClassIdentGet_doc   "string [$ctx ClassIdentGet] (const)"

Definition at line 128 of file MqContextC_tcl.c.

◆ ClassIdentSet_doc

#define ClassIdentSet_doc   "$ctx ClassIdentSet ident:string"

Definition at line 129 of file MqContextC_tcl.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); \
\
/* create the TCL-class */ \
OT_SELF_T classO = MK(ClassDef)(interp,ns,MqContextCTT); \
check_NULL(classO) goto error; \
OT_CLASS = Tcl_GetObjectAsClass(classO); \
\
/* create the TCL static Methods */ \
static MkThreadLocal OtUnknownS NS(sClassUnknown) = {OT_UNKNOWN_CLASS}; \
check_LNG(MK(UnknownSetup) (interp,classO,NS(sOtClassDef),&NS(sClassUnknown))) goto error; \
\
/* create the TCL instance Methods */ \
static MkThreadLocal OtUnknownS NS(sInstanceUnknown) = {OT_UNKNOWN_INSTANCE}; \
check_LNG(MK(UnknownSetup) (interp,classO,NS(sInstanceDef),&NS(sInstanceUnknown))) goto error; \
\
/* define the "NULL" object */ \
MQ(MqContextC_MK_NULL) = Tcl_GetObjectName(interp, \
MK(AtomCreate) (MK_RT_CALL interp, NULL /*obj*/, OT_CLASS, "MK_NULL" /*name*/, "::tclmqmsgque::MqContextC" /*ns*/) \
); \
Tcl_IncrRefCount(MQ(MqContextC_MK_NULL));
#define MK(n)
@ OT_UNKNOWN_CLASS
@ OT_UNKNOWN_INSTANCE
Tcl_Object OT_SELF_T
#define MQ(n)
#define NS(n)
static __thread MK_TYP MqContextCTT
#define OT_CLASS
#define error
Definition high_lng.h:339
MK_OK
#define MkThreadLocal
#define MK_RT_CALL
#define MqContextSTT
instance-type as MkTypeS-class-type (cast from MqContextST into MkTypeS) …
MkSelfUnlinkF selfUnlink
MkSelfDeleteF selfDelete
MkSelfCreateF selfCreate

Definition at line 77 of file MqContextC_tcl.c.

77#define ClassInit \
78 /* if not already done, initialize NEW MQ type */ \
79 if (MqContextCTT == NULL) MqContextCTT = MqContextSTT; \
80 \
81 /* protect against double call */ \
82 if (MqContextCTT->selfCreate == NS(MqContextC_selfCreate)) return MK_OK; \
83 \
84 /* add "selfCreate" and "selfDelete" feature to the MQ-Class */ \
85 MqContextCTT->selfCreate = NS(MqContextC_selfCreate); \
86 MqContextCTT->selfDelete = NS(MqContextC_selfDelete); \
87 MqContextCTT->selfUnlink = NS(MqContextC_selfUnlink); \
88 \
89 /* create the TCL-class */ \
90 OT_SELF_T classO = MK(ClassDef)(interp,ns,MqContextCTT); \
91 check_NULL(classO) goto error; \
92 OT_CLASS = Tcl_GetObjectAsClass(classO); \
93 \
94 /* create the TCL static Methods */ \
95 static MkThreadLocal OtUnknownS NS(sClassUnknown) = {OT_UNKNOWN_CLASS}; \
96 check_LNG(MK(UnknownSetup) (interp,classO,NS(sOtClassDef),&NS(sClassUnknown))) goto error; \
97 \
98 /* create the TCL instance Methods */ \
99 static MkThreadLocal OtUnknownS NS(sInstanceUnknown) = {OT_UNKNOWN_INSTANCE}; \
100 check_LNG(MK(UnknownSetup) (interp,classO,NS(sInstanceDef),&NS(sInstanceUnknown))) goto error; \
101 \
102 /* define the "NULL" object */ \
103 MQ(MqContextC_MK_NULL) = Tcl_GetObjectName(interp, \
104 MK(AtomCreate) (MK_RT_CALL interp, NULL /*obj*/, OT_CLASS, "MK_NULL" /*name*/, "::tclmqmsgque::MqContextC" /*ns*/) \
105 ); \
106 Tcl_IncrRefCount(MQ(MqContextC_MK_NULL));

◆ ClassOriginalIdentGet_doc

#define ClassOriginalIdentGet_doc   "string [$ctx ClassOriginalIdentGet] (const)"

Definition at line 130 of file MqContextC_tcl.c.

◆ ConfigCheckStartAs_doc

#define ConfigCheckStartAs_doc   "bool [$ctx ConfigCheckStartAs data:MqStartE]"

Definition at line 136 of file MqContextC_tcl.c.

◆ ConfigGetBuffersize_doc

#define ConfigGetBuffersize_doc   "int32 [$ctx ConfigGetBuffersize] (const)"

Definition at line 137 of file MqContextC_tcl.c.

◆ ConfigGetIdentFrom_doc

#define ConfigGetIdentFrom_doc   "MqIdentE [$ctx ConfigGetIdentFrom]"

Definition at line 138 of file MqContextC_tcl.c.

◆ ConfigGetIoPipe_doc

#define ConfigGetIoPipe_doc   "int32 [$ctx ConfigGetIoPipe]"

Definition at line 139 of file MqContextC_tcl.c.

◆ ConfigGetIoTcp_doc

#define ConfigGetIoTcp_doc   "{host:string port:string myhost:string myport:string} [$ctx ConfigGetIoTcp]"

Definition at line 180 of file MqContextC_tcl.c.

◆ ConfigGetIoTcpL_doc

#define ConfigGetIoTcpL_doc   "MkBufferListC [$ctx ConfigGetIoTcpL]"

Definition at line 133 of file MqContextC_tcl.c.

◆ ConfigGetIoUds_doc

#define ConfigGetIoUds_doc   "string [$ctx ConfigGetIoUds] (const)"

Definition at line 140 of file MqContextC_tcl.c.

◆ ConfigGetIsParent_doc

#define ConfigGetIsParent_doc   "bool [$ctx ConfigGetIsParent]"

Definition at line 141 of file MqContextC_tcl.c.

◆ ConfigGetIsServer_doc

#define ConfigGetIsServer_doc   "bool [$ctx ConfigGetIsServer]"

Definition at line 142 of file MqContextC_tcl.c.

◆ ConfigGetIsString_doc

#define ConfigGetIsString_doc   "bool [$ctx ConfigGetIsString]"

Definition at line 143 of file MqContextC_tcl.c.

◆ ConfigGetName_doc

#define ConfigGetName_doc   "string [$ctx ConfigGetName] (const)"

Definition at line 144 of file MqContextC_tcl.c.

◆ ConfigGetPkgsize_doc

#define ConfigGetPkgsize_doc   "int32 [$ctx ConfigGetPkgsize] (const)"

Definition at line 145 of file MqContextC_tcl.c.

◆ ConfigGetPostfix_doc

#define ConfigGetPostfix_doc   "string [$ctx ConfigGetPostfix] (const)"

Definition at line 146 of file MqContextC_tcl.c.

◆ ConfigGetPrefix_doc

#define ConfigGetPrefix_doc   "string [$ctx ConfigGetPrefix] (const)"

Definition at line 147 of file MqContextC_tcl.c.

◆ ConfigGetStartAs_doc

#define ConfigGetStartAs_doc   "MqStartE [$ctx ConfigGetStartAs]"

Definition at line 148 of file MqContextC_tcl.c.

◆ ConfigGetStatusIs_doc

#define ConfigGetStatusIs_doc   "MqStatusIsEF [$ctx ConfigGetStatusIs]"

Definition at line 149 of file MqContextC_tcl.c.

◆ ConfigGetStorage_doc

#define ConfigGetStorage_doc   "string [$ctx ConfigGetStorage] (const)"

Definition at line 150 of file MqContextC_tcl.c.

◆ ConfigGetTimeout_doc

#define ConfigGetTimeout_doc   "MkTimeoutE|int32 [$ctx ConfigGetTimeout] (const)"

Definition at line 151 of file MqContextC_tcl.c.

◆ ConfigReset_doc

#define ConfigReset_doc   "$ctx ConfigReset"

Definition at line 152 of file MqContextC_tcl.c.

◆ ConfigSetAllDebug_doc

#define ConfigSetAllDebug_doc   "$ctx ConfigSetAllDebug data:int32"

Definition at line 153 of file MqContextC_tcl.c.

◆ ConfigSetAllTimeout_doc

#define ConfigSetAllTimeout_doc   "$ctx ConfigSetAllTimeout data:MkTimeoutE|int32"

Definition at line 154 of file MqContextC_tcl.c.

◆ ConfigSetBgError_doc

#define ConfigSetBgError_doc   "$ctx ConfigSetBgError ?callback:callable=\"MK_NULL\"?"

Definition at line 155 of file MqContextC_tcl.c.

◆ ConfigSetBuffersize_doc

#define ConfigSetBuffersize_doc   "$ctx ConfigSetBuffersize data:int32"

Definition at line 156 of file MqContextC_tcl.c.

◆ ConfigSetConfigFile_doc

#define ConfigSetConfigFile_doc   "$ctx ConfigSetConfigFile filename:string"

Definition at line 157 of file MqContextC_tcl.c.

◆ ConfigSetDaemon_doc

#define ConfigSetDaemon_doc   "$ctx ConfigSetDaemon pidfile:string"

Definition at line 158 of file MqContextC_tcl.c.

◆ ConfigSetEvent_doc

#define ConfigSetEvent_doc   "$ctx ConfigSetEvent ?callback:callable=\"MK_NULL\"?"

Definition at line 159 of file MqContextC_tcl.c.

◆ ConfigSetIdentFrom_doc

#define ConfigSetIdentFrom_doc   "$ctx ConfigSetIdentFrom data:MqIdentE"

Definition at line 160 of file MqContextC_tcl.c.

◆ ConfigSetIgnoreExit_doc

#define ConfigSetIgnoreExit_doc   "$ctx ConfigSetIgnoreExit data:bool"

Definition at line 161 of file MqContextC_tcl.c.

◆ ConfigSetIoPipe_doc

#define ConfigSetIoPipe_doc   "$ctx ConfigSetIoPipe fh:int32"

Definition at line 162 of file MqContextC_tcl.c.

◆ ConfigSetIoTcp_doc

#define ConfigSetIoTcp_doc   "$ctx ConfigSetIoTcp ?host:string=\"NULL\"? ?port:string=\"NULL\"? ?myhost:string=\"NULL\"? ?myport:string=\"NULL\"?"

Definition at line 163 of file MqContextC_tcl.c.

◆ ConfigSetIoTcpL_doc

#define ConfigSetIoTcpL_doc   "$ctx ConfigSetIoTcpL vals:MkBufferListC"

Definition at line 164 of file MqContextC_tcl.c.

◆ ConfigSetIoUds_doc

#define ConfigSetIoUds_doc   "$ctx ConfigSetIoUds file:string"

Definition at line 165 of file MqContextC_tcl.c.

◆ ConfigSetIsServer_doc

#define ConfigSetIsServer_doc   "$ctx ConfigSetIsServer data:bool"

Definition at line 166 of file MqContextC_tcl.c.

◆ ConfigSetIsString_doc

#define ConfigSetIsString_doc   "$ctx ConfigSetIsString data:bool"

Definition at line 167 of file MqContextC_tcl.c.

◆ ConfigSetName_doc

#define ConfigSetName_doc   "$ctx ConfigSetName data:string"

Definition at line 168 of file MqContextC_tcl.c.

◆ ConfigSetPkgsize_doc

#define ConfigSetPkgsize_doc   "$ctx ConfigSetPkgsize data:int32"

Definition at line 169 of file MqContextC_tcl.c.

◆ ConfigSetPostfix_doc

#define ConfigSetPostfix_doc   "$ctx ConfigSetPostfix data:string"

Definition at line 170 of file MqContextC_tcl.c.

◆ ConfigSetPrefix_doc

#define ConfigSetPrefix_doc   "$ctx ConfigSetPrefix data:string"

Definition at line 171 of file MqContextC_tcl.c.

◆ ConfigSetServerCleanup_doc

#define ConfigSetServerCleanup_doc   "$ctx ConfigSetServerCleanup ?callback:callable=\"MK_NULL\"?"

Definition at line 172 of file MqContextC_tcl.c.

◆ ConfigSetServerSetup_doc

#define ConfigSetServerSetup_doc   "$ctx ConfigSetServerSetup ?callback:callable=\"MK_NULL\"?"

Definition at line 173 of file MqContextC_tcl.c.

◆ ConfigSetStartAs_doc

#define ConfigSetStartAs_doc   "$ctx ConfigSetStartAs data:MqStartE"

Definition at line 174 of file MqContextC_tcl.c.

◆ ConfigSetStartAsString_doc

#define ConfigSetStartAsString_doc   "$ctx ConfigSetStartAsString data:string"

Definition at line 175 of file MqContextC_tcl.c.

◆ ConfigSetStorage_doc

#define ConfigSetStorage_doc   "$ctx ConfigSetStorage data:string"

Definition at line 176 of file MqContextC_tcl.c.

◆ ConfigSetTimeout_doc

#define ConfigSetTimeout_doc   "$ctx ConfigSetTimeout data:MkTimeoutE|int32"

Definition at line 177 of file MqContextC_tcl.c.

◆ Create_doc

#define Create_doc   "MqContextC [MqContextC Create ?tmpl:MqContextC=\"MK_NULL\"?]"

Definition at line 184 of file MqContextC_tcl.c.

◆ CTOR_doc

#define CTOR_doc   "MqContextC [MqContextC CTOR ?tmpl:MqContextC=\"MK_NULL\"?]"

Definition at line 183 of file MqContextC_tcl.c.

◆ EnvProtect_doc

#define EnvProtect_doc   "$ctx EnvProtect"

Definition at line 211 of file MqContextC_tcl.c.

◆ EnvRestore_doc

#define EnvRestore_doc   "$ctx EnvRestore"

Definition at line 212 of file MqContextC_tcl.c.

◆ ErrorCopy_doc

#define ErrorCopy_doc   "MkErrorE [$targetCtx ErrorCopy sourceCtx:MqContextC] (const)"

Definition at line 198 of file MqContextC_tcl.c.

◆ ErrorFORMAT_doc

#define ErrorFORMAT_doc   "MkErrorC [$fmtobj ErrorFORMAT] (const)"

Definition at line 192 of file MqContextC_tcl.c.

◆ ErrorMove_doc

#define ErrorMove_doc   "MkErrorE [$targetCtx ErrorMove sourceCtx:MqContextC] (const)"

Definition at line 199 of file MqContextC_tcl.c.

◆ Exit_doc

#define Exit_doc   "int32 [$ctx Exit ?callfunc:string=\"MK_NULL\"? ?callfile:string=\"MK_NULL\"? ?callline:int32=-1?]"

Definition at line 215 of file MqContextC_tcl.c.

◆ GetBuffer_doc

#define GetBuffer_doc   "MkBufferC [$ctx GetBuffer]"

Definition at line 193 of file MqContextC_tcl.c.

◆ GetNull_doc

#define GetNull_doc   "MqContextC [MqContextC GetNull]"

Definition at line 187 of file MqContextC_tcl.c.

◆ GetRoot_doc

#define GetRoot_doc   "MqContextC [$ctx GetRoot]"

Definition at line 218 of file MqContextC_tcl.c.

◆ HandleResolve_doc

#define HandleResolve_doc   "MqContextC [MqContextC HandleResolve netHdl:MK_HDL]"

Definition at line 188 of file MqContextC_tcl.c.

◆ Instances_doc

#define Instances_doc   "MqContextC [MqContextC Instances]"

Definition at line 189 of file MqContextC_tcl.c.

◆ LinkConnect_doc

#define LinkConnect_doc   "$ctx LinkConnect"

Definition at line 224 of file MqContextC_tcl.c.

◆ LinkCreate_doc

#define LinkCreate_doc   "$ctx LinkCreate ?args:MkBufferListC...=\"MK_NULL\"?"

Definition at line 225 of file MqContextC_tcl.c.

◆ LinkCreateChild_doc

#define LinkCreateChild_doc   "$ctx LinkCreateChild parent:MqContextC ?args:MkBufferListC...=\"MK_NULL\"?"

Definition at line 226 of file MqContextC_tcl.c.

◆ LinkDelete_doc

#define LinkDelete_doc   "$ctx LinkDelete"

Definition at line 227 of file MqContextC_tcl.c.

◆ LinkGetCtxId_doc

#define LinkGetCtxId_doc   "int32 [$ctx LinkGetCtxId]"

Definition at line 228 of file MqContextC_tcl.c.

◆ LinkGetParent_doc

#define LinkGetParent_doc   "MqContextC [$ctx LinkGetParent]"

Definition at line 221 of file MqContextC_tcl.c.

◆ LinkGetTargetIdent_doc

#define LinkGetTargetIdent_doc   "string [$ctx LinkGetTargetIdent]"

Definition at line 229 of file MqContextC_tcl.c.

◆ LinkIsConnected_doc

#define LinkIsConnected_doc   "bool [$ctx LinkIsConnected]"

Definition at line 230 of file MqContextC_tcl.c.

◆ LinkIsParent_doc

#define LinkIsParent_doc   "bool [$ctx LinkIsParent]"

Definition at line 231 of file MqContextC_tcl.c.

◆ LinkShutdown_doc

#define LinkShutdown_doc   "$ctx LinkShutdown"

Definition at line 232 of file MqContextC_tcl.c.

◆ LogConfig_doc

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

Definition at line 202 of file MqContextC_tcl.c.

◆ LogEnv_doc

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

Definition at line 203 of file MqContextC_tcl.c.

◆ LogLink_doc

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

Definition at line 204 of file MqContextC_tcl.c.

◆ LogParentOrChild_doc

#define LogParentOrChild_doc   "string [$ctx LogParentOrChild] (const)"

Definition at line 235 of file MqContextC_tcl.c.

◆ LogServerOrClient_doc

#define LogServerOrClient_doc   "string [$ctx LogServerOrClient] (const)"

Definition at line 236 of file MqContextC_tcl.c.

◆ LogSetup_doc

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

Definition at line 205 of file MqContextC_tcl.c.

◆ LogShort_doc

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

Definition at line 206 of file MqContextC_tcl.c.

◆ LogType_doc

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

Definition at line 207 of file MqContextC_tcl.c.

◆ META_FILE_NAME

#define META_FILE_NAME   "MqContextC_tcl.c"

Definition at line 11 of file MqContextC_tcl.c.

◆ Next_doc

#define Next_doc   "MqContextC [$ctx Next]"

Definition at line 194 of file MqContextC_tcl.c.

◆ OBJECT2CTX

#define OBJECT2CTX ( O)
Value:
MkAssertCastM(MqContextC,(Tcl_ObjectGetMetadata(O, &MK(AtomMeta))))
#define MkAssertCastM(cls, m)

Definition at line 18 of file MqContextC_tcl.c.

◆ OT_CLASS

#define OT_CLASS   NS(MqContextC)

Definition at line 15 of file MqContextC_tcl.c.

◆ OT_CLASS_NAME

#define OT_CLASS_NAME   "MqContextC"

Definition at line 16 of file MqContextC_tcl.c.

◆ OT_CONSTRUCTOR_POST

#define OT_CONSTRUCTOR_POST ( x)
Value:
if (Tcl_GetObjectAsClass(selfO) == NULL) \
MqConfigSetPrefixWithNoLock(x,MK(GetClassNameFromObject)(OT_Prefix_CALL selfO));
#define OT_Prefix_CALL

Definition at line 117 of file MqContextC_tcl.c.

117#define OT_CONSTRUCTOR_POST(x) if (Tcl_GetObjectAsClass(selfO) == NULL) \
118 MqConfigSetPrefixWithNoLock(x,MK(GetClassNameFromObject)(OT_Prefix_CALL selfO));

◆ OT_SETUP_hdl

#define OT_SETUP_hdl   SetupHdlFromMetaData_2(CTX,MQ_CTX);

Definition at line 59 of file MqContextC_tcl.c.

◆ OT_SETUP_hdl__null_allow

#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(CTX,MQ_CTX);

Definition at line 60 of file MqContextC_tcl.c.

◆ OT_SETUP_hdl_constr

#define OT_SETUP_hdl_constr
Value:
int __skip=Tcl_ObjectContextSkippedArgs(objCtx); \
MK_RT_UNUSED OT_SELF_T selfO = Tcl_ObjectContextObject(objCtx); \
MQ_CTX hdl = (MQ_CTX) &MkERROR;
#define AllRtSetup_NULL
#define OT_SETUP_hdl_constr_pre
#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) …
PUBLIC data structure for the tclmqmsgque-specific-data

Definition at line 64 of file MqContextC_tcl.c.

64#define OT_SETUP_hdl_constr \
65 OT_SETUP_hdl_constr_pre; \
66 int __skip=Tcl_ObjectContextSkippedArgs(objCtx); \
67 AllRtSetup_NULL; \
68 MK_RT_UNUSED OT_SELF_T selfO = Tcl_ObjectContextObject(objCtx); \
69 MQ_CTX hdl = (MQ_CTX) &MkERROR;

◆ OT_SETUP_hdl_constr_pre

#define OT_SETUP_hdl_constr_pre

Definition at line 63 of file MqContextC_tcl.c.

◆ OT_SETUP_hdl_destr

#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(CTX,MQ_CTX);

Definition at line 61 of file MqContextC_tcl.c.

◆ OT_SETUP_hdl_static

#define OT_SETUP_hdl_static
Value:
int __skip=Tcl_ObjectContextSkippedArgs(objCtx); \
__attribute__((unused)) OT_SELF_T selfO = Tcl_ObjectContextObject(objCtx); \
__attribute__((unused)) MK_TYP hdl = MqContextC##_TT;

Definition at line 53 of file MqContextC_tcl.c.

53#define OT_SETUP_hdl_static \
54 int __skip=Tcl_ObjectContextSkippedArgs(objCtx); \
55 AllRtSetup_NULL; \
56 __attribute__((unused)) OT_SELF_T selfO = Tcl_ObjectContextObject(objCtx); \
57 __attribute__((unused)) MK_TYP hdl = MqContextC##_TT;

◆ OT_SETUP_hdl_static_constr

#define OT_SETUP_hdl_static_constr
Value:
#define OT_SETUP_hdl_static_constr_pre
#define OT_SETUP_hdl_static

Definition at line 49 of file MqContextC_tcl.c.

49#define OT_SETUP_hdl_static_constr \
50 OT_SETUP_hdl_static_constr_pre; \
51 OT_SETUP_hdl_static

◆ OT_SETUP_hdl_static_constr_pre

#define OT_SETUP_hdl_static_constr_pre

Definition at line 48 of file MqContextC_tcl.c.

◆ Prev_doc

#define Prev_doc   "MqContextC [$ctx Prev]"

Definition at line 195 of file MqContextC_tcl.c.

◆ ProcessEvent_doc

#define ProcessEvent_doc   "$ctx ProcessEvent ?wait:MqWaitOnEventE=NO? ?timeout:MkTimeoutE|int32=DEFAULT?"

Definition at line 239 of file MqContextC_tcl.c.

◆ ProxyForward_doc

#define ProxyForward_doc   "$sourceCtx ProxyForward targetCtx:MqContextC ?dump:MqDumpC=\"MK_NULL\"? ?timeout:MkTimeoutE|int32=DEFAULT?"

Definition at line 242 of file MqContextC_tcl.c.

◆ ProxyItem_doc

#define ProxyItem_doc   "$sourceCtx ProxyItem targetCtx:MqContextC"

Definition at line 243 of file MqContextC_tcl.c.

◆ ReadALL_doc

#define ReadALL_doc   "MkBufferListC [$ctx ReadALL ?val_inout:MkBufferListC=\"MK_NULL\"?]"

Definition at line 246 of file MqContextC_tcl.c.

◆ ReadBFL_doc

#define ReadBFL_doc   "MkBufferListC [$ctx ReadBFL]"

Definition at line 249 of file MqContextC_tcl.c.

◆ ReadBIN_doc

#define ReadBIN_doc   "binary [$ctx ReadBIN]"

Definition at line 264 of file MqContextC_tcl.c.

◆ ReadBinaryR_doc

#define ReadBinaryR_doc   "binary [$ctx ReadBinaryR]"

Definition at line 266 of file MqContextC_tcl.c.

◆ ReadBOL_doc

#define ReadBOL_doc   "bool [$ctx ReadBOL]"

Definition at line 265 of file MqContextC_tcl.c.

◆ ReadBUF_doc

#define ReadBUF_doc   "MkBufferC [$ctx ReadBUF]"

Definition at line 250 of file MqContextC_tcl.c.

◆ ReadDbg_doc

#define ReadDbg_doc   "$ctx ReadDbg"

Definition at line 253 of file MqContextC_tcl.c.

◆ ReadDBL_doc

#define ReadDBL_doc   "double [$ctx ReadDBL]"

Definition at line 267 of file MqContextC_tcl.c.

◆ ReadFLT_doc

#define ReadFLT_doc   "float [$ctx ReadFLT]"

Definition at line 268 of file MqContextC_tcl.c.

◆ ReadGetNextType_doc

#define ReadGetNextType_doc   "MkTypeE [$ctx ReadGetNextType]"

Definition at line 254 of file MqContextC_tcl.c.

◆ ReadGetNumItems_doc

#define ReadGetNumItems_doc   "int32 [$ctx ReadGetNumItems]"

Definition at line 255 of file MqContextC_tcl.c.

◆ ReadHDL_doc

#define ReadHDL_doc   "MK_HDL [$ctx ReadHDL]"

Definition at line 269 of file MqContextC_tcl.c.

◆ ReadI16_doc

#define ReadI16_doc   "int16 [$ctx ReadI16]"

Definition at line 270 of file MqContextC_tcl.c.

◆ ReadI32_doc

#define ReadI32_doc   "int32 [$ctx ReadI32]"

Definition at line 271 of file MqContextC_tcl.c.

◆ ReadI64_doc

#define ReadI64_doc   "int64 [$ctx ReadI64]"

Definition at line 272 of file MqContextC_tcl.c.

◆ ReadI8_doc

#define ReadI8_doc   "int8 [$ctx ReadI8]"

Definition at line 273 of file MqContextC_tcl.c.

◆ ReadItemExists_doc

#define ReadItemExists_doc   "bool [$ctx ReadItemExists]"

Definition at line 256 of file MqContextC_tcl.c.

◆ ReadL_END_doc

#define ReadL_END_doc   "$ctx ReadL_END"

Definition at line 257 of file MqContextC_tcl.c.

◆ ReadL_START_doc

#define ReadL_START_doc   "$ctx ReadL_START ?buf:MkBufferC=\"MK_NULL\"?"

Definition at line 258 of file MqContextC_tcl.c.

◆ ReadLIST_doc

#define ReadLIST_doc   "[list...] [$ctx ReadLIST]"

Definition at line 274 of file MqContextC_tcl.c.

◆ ReadLONG_doc

#define ReadLONG_doc   "long [$ctx ReadLONG]"

Definition at line 275 of file MqContextC_tcl.c.

◆ ReadNEXT_doc

#define ReadNEXT_doc   "obj [$ctx ReadNEXT]"

Definition at line 276 of file MqContextC_tcl.c.

◆ ReadSTR_doc

#define ReadSTR_doc   "string [$ctx ReadSTR]"

Definition at line 277 of file MqContextC_tcl.c.

◆ ReadStringR_doc

#define ReadStringR_doc   "string [$ctx ReadStringR]"

Definition at line 278 of file MqContextC_tcl.c.

◆ ReadT_END_doc

#define ReadT_END_doc   "$ctx ReadT_END"

Definition at line 259 of file MqContextC_tcl.c.

◆ ReadT_START_doc

#define ReadT_START_doc   "$ctx ReadT_START"

Definition at line 260 of file MqContextC_tcl.c.

◆ ReadUndo_doc

#define ReadUndo_doc   "$ctx ReadUndo"

Definition at line 261 of file MqContextC_tcl.c.

◆ RouteCreate_doc

#define RouteCreate_doc   "$ctx RouteCreate route:string service:string ?overwrite:bool=false?"

Definition at line 284 of file MqContextC_tcl.c.

◆ RouteDelete_doc

#define RouteDelete_doc   "$ctx RouteDelete route:string service:string ?overwrite:bool=false?"

Definition at line 285 of file MqContextC_tcl.c.

◆ RouteGetPath_doc

#define RouteGetPath_doc   "string [$ctx RouteGetPath]"

Definition at line 290 of file MqContextC_tcl.c.

◆ RouteGetTree_doc

#define RouteGetTree_doc   "MkBufferListC [$ctx RouteGetTree]"

Definition at line 281 of file MqContextC_tcl.c.

◆ RouteResolve_doc

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

Definition at line 286 of file MqContextC_tcl.c.

◆ RouteTraverse_doc

#define RouteTraverse_doc   "$ctx RouteTraverse service:string ?args:MkBufferListC...=\"MK_NULL\"?"

Definition at line 287 of file MqContextC_tcl.c.

◆ Send_doc

#define Send_doc   "$ctx Send cstr:string args:args..."

Definition at line 293 of file MqContextC_tcl.c.

◆ SendBFL_doc

#define SendBFL_doc   "$ctx SendBFL val:MkBufferListC"

Definition at line 294 of file MqContextC_tcl.c.

◆ SendBIN_doc

#define SendBIN_doc   "$ctx SendBIN val:binary"

Definition at line 295 of file MqContextC_tcl.c.

◆ SendBinaryR_doc

#define SendBinaryR_doc   "$ctx SendBinaryR val:binary"

Definition at line 299 of file MqContextC_tcl.c.

◆ SendBOL_doc

#define SendBOL_doc   "$ctx SendBOL val:bool"

Definition at line 296 of file MqContextC_tcl.c.

◆ SendBUF_doc

#define SendBUF_doc   "$ctx SendBUF val:MkBufferC"

Definition at line 297 of file MqContextC_tcl.c.

◆ SendBUS_FLAT_doc

#define SendBUS_FLAT_doc   "$ctx SendBUS_FLAT val:MkBufferStreamC"

Definition at line 298 of file MqContextC_tcl.c.

◆ SendDBL_doc

#define SendDBL_doc   "$ctx SendDBL val:double"

Definition at line 300 of file MqContextC_tcl.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 302 of file MqContextC_tcl.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 303 of file MqContextC_tcl.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 304 of file MqContextC_tcl.c.

◆ SendEND_AND_WAIT_doc

#define SendEND_AND_WAIT_doc   "$ctx SendEND_AND_WAIT token:string[4] ?timeout:MkTimeoutE|int32=DEFAULT?"

Definition at line 305 of file MqContextC_tcl.c.

◆ SendEND_doc

#define SendEND_doc   "$ctx SendEND token:string[4] ?timeout:MkTimeoutE|int32=DEFAULT?"

Definition at line 301 of file MqContextC_tcl.c.

◆ SendERROR_doc

#define SendERROR_doc   "$ctx SendERROR"

Definition at line 306 of file MqContextC_tcl.c.

◆ SendFLT_doc

#define SendFLT_doc   "$ctx SendFLT val:float"

Definition at line 307 of file MqContextC_tcl.c.

◆ SendHDL_doc

#define SendHDL_doc   "$ctx SendHDL val:MK_HDL"

Definition at line 308 of file MqContextC_tcl.c.

◆ SendI16_doc

#define SendI16_doc   "$ctx SendI16 val:int16"

Definition at line 309 of file MqContextC_tcl.c.

◆ SendI32_doc

#define SendI32_doc   "$ctx SendI32 val:int32"

Definition at line 310 of file MqContextC_tcl.c.

◆ SendI64_doc

#define SendI64_doc   "$ctx SendI64 val:int64"

Definition at line 311 of file MqContextC_tcl.c.

◆ SendI8_doc

#define SendI8_doc   "$ctx SendI8 val:int8"

Definition at line 312 of file MqContextC_tcl.c.

◆ SendL_END_doc

#define SendL_END_doc   "$ctx SendL_END"

Definition at line 315 of file MqContextC_tcl.c.

◆ SendL_FLAT_doc

#define SendL_FLAT_doc   "$ctx SendL_FLAT val:MkBufferListC"

Definition at line 316 of file MqContextC_tcl.c.

◆ SendL_START_doc

#define SendL_START_doc   "$ctx SendL_START"

Definition at line 317 of file MqContextC_tcl.c.

◆ SendLONG_doc

#define SendLONG_doc   "$ctx SendLONG val:long"

Definition at line 313 of file MqContextC_tcl.c.

◆ SendLTR_doc

#define SendLTR_doc   "$ctx SendLTR transLId:int32"

Definition at line 314 of file MqContextC_tcl.c.

◆ SendRETURN_doc

#define SendRETURN_doc   "$ctx SendRETURN"

Definition at line 318 of file MqContextC_tcl.c.

◆ SendRETURN_SUB_doc

#define SendRETURN_SUB_doc   "$ctx SendRETURN_SUB"

Definition at line 319 of file MqContextC_tcl.c.

◆ SendSTART_doc

#define SendSTART_doc   "$ctx SendSTART"

Definition at line 320 of file MqContextC_tcl.c.

◆ SendSTR_doc

#define SendSTR_doc   "$ctx SendSTR val:string"

Definition at line 321 of file MqContextC_tcl.c.

◆ SendStringR_doc

#define SendStringR_doc   "$ctx SendStringR val:string"

Definition at line 323 of file MqContextC_tcl.c.

◆ SendSYNC_doc

#define SendSYNC_doc   "$ctx SendSYNC"

Definition at line 322 of file MqContextC_tcl.c.

◆ SendT_END_doc

#define SendT_END_doc   "$ctx SendT_END"

Definition at line 324 of file MqContextC_tcl.c.

◆ SendT_START_doc

#define SendT_START_doc   "$ctx SendT_START"

Definition at line 325 of file MqContextC_tcl.c.

◆ ServiceCreate_doc

#define ServiceCreate_doc   "$ctx ServiceCreate token:string[4] callback:callable"

Definition at line 328 of file MqContextC_tcl.c.

◆ ServiceDelete_doc

#define ServiceDelete_doc   "$ctx ServiceDelete token:string[4]"

Definition at line 329 of file MqContextC_tcl.c.

◆ ServiceIsTransaction_doc

#define ServiceIsTransaction_doc   "bool [$ctx ServiceIsTransaction]"

Definition at line 330 of file MqContextC_tcl.c.

◆ ServiceProxy_doc

#define ServiceProxy_doc   "$ctx ServiceProxy token:string[4] ?id:MqSlaveE|int32=MQ_SLAVE_OTHER?"

Definition at line 331 of file MqContextC_tcl.c.

◆ ServiceProxyCtx_doc

#define ServiceProxyCtx_doc   "$ctx ServiceProxyCtx token:string[4] target:MqContextC"

Definition at line 332 of file MqContextC_tcl.c.

◆ ServiceProxyCtxExists_doc

#define ServiceProxyCtxExists_doc   "bool [$ctx ServiceProxyCtxExists token:string[4] target:MqContextC]"

Definition at line 333 of file MqContextC_tcl.c.

◆ ServiceProxyRoundRobin_doc

#define ServiceProxyRoundRobin_doc   "$ctx ServiceProxyRoundRobin token:string[4] ident:string"

Definition at line 334 of file MqContextC_tcl.c.

◆ ServiceStorage_doc

#define ServiceStorage_doc   "$ctx ServiceStorage token:string[4]"

Definition at line 335 of file MqContextC_tcl.c.

◆ ServiceTokenCheck_doc

#define ServiceTokenCheck_doc   "bool [$ctx ServiceTokenCheck token:string[4]]"

Definition at line 336 of file MqContextC_tcl.c.

◆ ServiceTokenExists_doc

#define ServiceTokenExists_doc   "bool [$ctx ServiceTokenExists token:string[4]]"

Definition at line 337 of file MqContextC_tcl.c.

◆ ServiceTokenGet_doc

#define ServiceTokenGet_doc   "string[4] [$ctx ServiceTokenGet]"

Definition at line 338 of file MqContextC_tcl.c.

◆ SetupRtFromHdl_X

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

Definition at line 73 of file MqContextC_tcl.c.

◆ SetupRtFromHdl_XN

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

Definition at line 72 of file MqContextC_tcl.c.

◆ SlaveCheck_doc

#define SlaveCheck_doc   "bool [$ctx SlaveCheck id:MqSlaveE|int32] (const)"

Definition at line 349 of file MqContextC_tcl.c.

◆ SlaveCreate_doc

#define SlaveCreate_doc   "$ctx SlaveCreate id:MqSlaveE|int32 slave:MqContextC"

Definition at line 350 of file MqContextC_tcl.c.

◆ SlaveDelete_doc

#define SlaveDelete_doc   "$ctx SlaveDelete id:MqSlaveE|int32"

Definition at line 351 of file MqContextC_tcl.c.

◆ SlaveGet_doc

#define SlaveGet_doc   "MqContextC [$ctx SlaveGet id:MqSlaveE|int32]"

Definition at line 344 of file MqContextC_tcl.c.

◆ SlaveGetFilter_doc

#define SlaveGetFilter_doc   "MqContextC [$ctx SlaveGetFilter]"

Definition at line 345 of file MqContextC_tcl.c.

◆ SlaveGetMaster_doc

#define SlaveGetMaster_doc   "MqContextC [$ctx SlaveGetMaster]"

Definition at line 341 of file MqContextC_tcl.c.

◆ SlaveGetProxy_doc

#define SlaveGetProxy_doc   "MqContextC [$ctx SlaveGetProxy id:MqSlaveE|int32]"

Definition at line 346 of file MqContextC_tcl.c.

◆ SlaveIs_doc

#define SlaveIs_doc   "bool [$ctx SlaveIs] (const)"

Definition at line 352 of file MqContextC_tcl.c.

◆ SlaveWorker_doc

#define SlaveWorker_doc   "$ctx SlaveWorker id:MqSlaveE|int32 ?fct:string=\"WORKER\"? ?args:MkBufferListC...=\"MK_NULL\"?"

Definition at line 353 of file MqContextC_tcl.c.

◆ StorageClose_doc

#define StorageClose_doc   "$ctx StorageClose"

Definition at line 360 of file MqContextC_tcl.c.

◆ StorageCount_doc

#define StorageCount_doc   "int32 [$ctx StorageCount]"

Definition at line 367 of file MqContextC_tcl.c.

◆ StorageDecrRef_doc

#define StorageDecrRef_doc   "$ctx StorageDecrRef transLId:int32"

Definition at line 361 of file MqContextC_tcl.c.

◆ StorageDelete_doc

#define StorageDelete_doc   "int32 [$ctx StorageDelete ?*transLIdP_inout:int32=0?]"

Definition at line 356 of file MqContextC_tcl.c.

◆ StorageErrCnt_doc

#define StorageErrCnt_doc   "int32 [$ctx StorageErrCnt transLId:int32]"

Definition at line 368 of file MqContextC_tcl.c.

◆ StorageExport_doc

#define StorageExport_doc   "int32 [$ctx StorageExport]"

Definition at line 369 of file MqContextC_tcl.c.

◆ StorageImport_doc

#define StorageImport_doc   "int32 [$ctx StorageImport ?*transLIdP_inout:int32=0?]"

Definition at line 357 of file MqContextC_tcl.c.

◆ StorageIncrRef_doc

#define StorageIncrRef_doc   "$ctx StorageIncrRef transLId:int32"

Definition at line 362 of file MqContextC_tcl.c.

◆ StorageLog_doc

#define StorageLog_doc   "$ctx StorageLog ?callfunc:string=\"MK_NULL\"?"

Definition at line 363 of file MqContextC_tcl.c.

◆ StorageOpen_doc

#define StorageOpen_doc   "$ctx StorageOpen storageFile:string"

Definition at line 364 of file MqContextC_tcl.c.

◆ StorageResolve_doc

#define StorageResolve_doc   "{otherCtxP:MqContextC otherLIdP:int32} [$ctx StorageResolve]"

Definition at line 370 of file MqContextC_tcl.c.

◆ VER

#define VER   TCL_OO_METHOD_VERSION_CURRENT

Definition at line 108 of file MqContextC_tcl.c.

Function Documentation

◆ tclmqmsgque_Idle()

static enum MkErrorE tclmqmsgque_Idle ( MQ_SERVICE_CALL_ARGS )
static

Definition at line 3936 of file MqContextC_tcl.c.

3936 {
3937 Tcl_DoOneEvent(TCL_ALL_EVENTS|TCL_DONT_WAIT);
3938 return MK_OK;
3939}

◆ tclmqmsgque_MqContextC_selfCreate()

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

Definition at line 28 of file MqContextC_tcl.c.

28 {
29 OT_ENV_T interp = env;
30 return MK(AtomCreate) (MK_RT_CALL interp,obj,OT_CLASS,NULL,NULL);
31}
Tcl_Interp * OT_ENV_T
MK_OBJ const obj
Definition high_lng.h:136

◆ tclmqmsgque_MqContextC_selfDelete()

static void tclmqmsgque_MqContextC_selfDelete ( MK_RT mkrt,
MK_PTR selfP,
MK_PTR const env )
static

Definition at line 33 of file MqContextC_tcl.c.

33 {
34 OT_SELF_T selfO = selfP;
35 OT_ENV_T interp = env;
36 MK(AtomDeleteHard) (MK_RT_CALL interp, selfO);
37}

◆ tclmqmsgque_MqContextC_selfUnlink()

static void tclmqmsgque_MqContextC_selfUnlink ( MK_RT mkrt,
MK_PTR selfP,
MK_PTR const env )
static

Definition at line 39 of file MqContextC_tcl.c.

39 {
40 OT_SELF_T selfO = selfP;
41 OT_ENV_T interp = env;
42 MK(AtomUnlink) (MK_RT_CALL interp, selfO);
43}

◆ tclmqmsgque_pMqContextC_Init()

int tclmqmsgque_pMqContextC_Init ( MK_RT mkrt,
OT_ENV_T interp,
OT_NS_T ns )

Definition at line 3966 of file MqContextC_tcl.c.

3967{
3969
3970 if (MqContextCTT == NULL) {
3971
3972 // register a new type
3973 MkRuntimeCallbackAdd( MK_RT_CALL &sTclMqRuntimeCallback, NS(sMqContextC_Type) , "TclMqContextC" );
3974
3975 // tcl does !not! support fork for a threaded interpreter
3976 if (Tcl_GetVar2Ex(interp,"tcl_platform","threaded",TCL_GLOBAL_ONLY) != NULL) {
3977 MqContextCT->ignoreFork = true;
3978 }
3979 }
3980
3981 ClassInit
3982
3983 return TCL_OK;
3984error:
3985 return TCL_ERROR;
3986}
static struct MkRuntimeCallbackS sTclMqRuntimeCallback
#define ClassInit
size_t MkRuntimeCallbackAdd(MK_RT mkrt, MkRuntimeCallbackS *cbdata, MkRuntimeInitF rt_callback, MK_STRN ident)
#define MqContextCT
class as MqTypeCtxS-class-type for MqContextC in the Target-Programming-Language (TPL) …
#define MQ_STATIC_RT

◆ tclmqmsgque_ProcessExit()

static MK_UNUSED int tclmqmsgque_ProcessExit ( MK_RT mkrt,
MK_I32 num )
static

TCL API

Definition at line 3927 of file MqContextC_tcl.c.

3927 {
3928 Tcl_Exit(num);
3929 return num;
3930}

◆ tclmqmsgque_sMqContextC_Type()

static void tclmqmsgque_sMqContextC_Type ( MK_RT mkrt)
static

Definition at line 3949 of file MqContextC_tcl.c.

3950{
3952 assert(MqContextCTT == NULL);
3953
3954 // define type
3955
3956 MqContextCTT = MkTypeDup2(MqContextC_TT,"TclMqContextC");
3957 MqContextCTT->objsize = sizeof(struct TclContextS) ;
3958 MqContextCT->argvFix = true ;
3959 MqContextCT->MqProcessExitCB = NS(ProcessExit) ;
3960 MqContextCT->MqThreadExitCB = NS(ThreadExit) ;
3961 MqContextCT->Child.fCreate = MqLinkDefault_RT ;
3962 MqContextCT->Parent.fCreate = MqLinkDefault_RT ;
3963 MqContextCT->Idle.fCall = NS(Idle) ;
3964}
#define MkTypeDup2(...)
#define MqContextC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
size_t objsize

◆ tclmqmsgque_ThreadExit()

static int tclmqmsgque_ThreadExit ( MK_RT mkrt,
MK_I32 num )
static

Definition at line 3932 of file MqContextC_tcl.c.

3932 {
3933 return num;
3934}

Variable Documentation

◆ MqContextCTT

__thread MK_TYP MqContextCTT = NULL
static

Definition at line 24 of file MqContextC_tcl.c.

◆ OT_CLASS

__thread OT_CLS_T OT_CLASS = NULL

Definition at line 21 of file MqContextC_tcl.c.

◆ sTclMqRuntimeCallback

struct MkRuntimeCallbackS sTclMqRuntimeCallback = {0}
static

Public API

Definition at line 3947 of file MqContextC_tcl.c.

3947{0};

◆ tclmqmsgque_MqContextC_MK_NULL

__thread OT_OBJ_T tclmqmsgque_MqContextC_MK_NULL = NULL

Definition at line 25 of file MqContextC_tcl.c.

◆ tclmqmsgque_sInstanceDef

Tcl_MethodType tclmqmsgque_sInstanceDef[]
static

Definition at line 3664 of file MqContextC_tcl.c.

3664 {
3665
3666 {VER, "Debug", NS(MqContextC_Debug) , NULL, NULL},
3667 {VER, "printObj", NS(MqContextC_printObj) , NULL, NULL},
3668 {VER, "ConfigGetStartAsNum", NS(MqContextC_ConfigGetStartAsNum) , NULL, NULL},
3669 {VER, "ConfigGetStatusIsNum", NS(MqContextC_ConfigGetStatusIsNum) , NULL, NULL},
3670
3671// BEGIN-OBJ - created by 'tcl_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
3672
3673// doc-key: MqContextC,MqClass,oc_
3674 {VER, "ClassFactoryGet" , NS(MqContextC_ClassFactoryGet) , NULL, NULL},
3675
3676// doc-key: MqContextC,MqClass,om_
3677 {VER, "ClassFactorySet" , NS(MqContextC_ClassFactorySet) , NULL, NULL},
3678 {VER, "ClassIdentGet" , NS(MqContextC_ClassIdentGet) , NULL, NULL},
3679 {VER, "ClassIdentSet" , NS(MqContextC_ClassIdentSet) , NULL, NULL},
3680 {VER, "ClassOriginalIdentGet", NS(MqContextC_ClassOriginalIdentGet) , NULL, NULL},
3681
3682// doc-key: MqContextC,MqConfig,oco
3683 {VER, "ConfigGetIoTcpL" , NS(MqContextC_ConfigGetIoTcpL) , NULL, NULL},
3684
3685// doc-key: MqContextC,MqConfig,om_
3686 {VER, "ConfigCheckStartAs" , NS(MqContextC_ConfigCheckStartAs) , NULL, NULL},
3687 {VER, "ConfigGetBuffersize" , NS(MqContextC_ConfigGetBuffersize) , NULL, NULL},
3688 {VER, "ConfigGetIdentFrom" , NS(MqContextC_ConfigGetIdentFrom) , NULL, NULL},
3689 {VER, "ConfigGetIoPipe" , NS(MqContextC_ConfigGetIoPipe) , NULL, NULL},
3690 {VER, "ConfigGetIoUds" , NS(MqContextC_ConfigGetIoUds) , NULL, NULL},
3691 {VER, "ConfigGetIsParent" , NS(MqContextC_ConfigGetIsParent) , NULL, NULL},
3692 {VER, "ConfigGetIsServer" , NS(MqContextC_ConfigGetIsServer) , NULL, NULL},
3693 {VER, "ConfigGetIsString" , NS(MqContextC_ConfigGetIsString) , NULL, NULL},
3694 {VER, "ConfigGetName" , NS(MqContextC_ConfigGetName) , NULL, NULL},
3695 {VER, "ConfigGetPkgsize" , NS(MqContextC_ConfigGetPkgsize) , NULL, NULL},
3696 {VER, "ConfigGetPostfix" , NS(MqContextC_ConfigGetPostfix) , NULL, NULL},
3697 {VER, "ConfigGetPrefix" , NS(MqContextC_ConfigGetPrefix) , NULL, NULL},
3698 {VER, "ConfigGetStartAs" , NS(MqContextC_ConfigGetStartAs) , NULL, NULL},
3699 {VER, "ConfigGetStatusIs" , NS(MqContextC_ConfigGetStatusIs) , NULL, NULL},
3700 {VER, "ConfigGetStorage" , NS(MqContextC_ConfigGetStorage) , NULL, NULL},
3701 {VER, "ConfigGetTimeout" , NS(MqContextC_ConfigGetTimeout) , NULL, NULL},
3702 {VER, "ConfigReset" , NS(MqContextC_ConfigReset) , NULL, NULL},
3703 {VER, "ConfigSetAllDebug" , NS(MqContextC_ConfigSetAllDebug) , NULL, NULL},
3704 {VER, "ConfigSetAllTimeout" , NS(MqContextC_ConfigSetAllTimeout) , NULL, NULL},
3705 {VER, "ConfigSetBgError" , NS(MqContextC_ConfigSetBgError) , NULL, NULL},
3706 {VER, "ConfigSetBuffersize" , NS(MqContextC_ConfigSetBuffersize) , NULL, NULL},
3707 {VER, "ConfigSetConfigFile" , NS(MqContextC_ConfigSetConfigFile) , NULL, NULL},
3708 {VER, "ConfigSetDaemon" , NS(MqContextC_ConfigSetDaemon) , NULL, NULL},
3709 {VER, "ConfigSetEvent" , NS(MqContextC_ConfigSetEvent) , NULL, NULL},
3710 {VER, "ConfigSetIdentFrom" , NS(MqContextC_ConfigSetIdentFrom) , NULL, NULL},
3711 {VER, "ConfigSetIgnoreExit" , NS(MqContextC_ConfigSetIgnoreExit) , NULL, NULL},
3712 {VER, "ConfigSetIoPipe" , NS(MqContextC_ConfigSetIoPipe) , NULL, NULL},
3713 {VER, "ConfigSetIoTcp" , NS(MqContextC_ConfigSetIoTcp) , NULL, NULL},
3714 {VER, "ConfigSetIoTcpL" , NS(MqContextC_ConfigSetIoTcpL) , NULL, NULL},
3715 {VER, "ConfigSetIoUds" , NS(MqContextC_ConfigSetIoUds) , NULL, NULL},
3716 {VER, "ConfigSetIsServer" , NS(MqContextC_ConfigSetIsServer) , NULL, NULL},
3717 {VER, "ConfigSetIsString" , NS(MqContextC_ConfigSetIsString) , NULL, NULL},
3718 {VER, "ConfigSetName" , NS(MqContextC_ConfigSetName) , NULL, NULL},
3719 {VER, "ConfigSetPkgsize" , NS(MqContextC_ConfigSetPkgsize) , NULL, NULL},
3720 {VER, "ConfigSetPostfix" , NS(MqContextC_ConfigSetPostfix) , NULL, NULL},
3721 {VER, "ConfigSetPrefix" , NS(MqContextC_ConfigSetPrefix) , NULL, NULL},
3722 {VER, "ConfigSetServerCleanup", NS(MqContextC_ConfigSetServerCleanup) , NULL, NULL},
3723 {VER, "ConfigSetServerSetup", NS(MqContextC_ConfigSetServerSetup) , NULL, NULL},
3724 {VER, "ConfigSetStartAs" , NS(MqContextC_ConfigSetStartAs) , NULL, NULL},
3725 {VER, "ConfigSetStartAsString", NS(MqContextC_ConfigSetStartAsString) , NULL, NULL},
3726 {VER, "ConfigSetStorage" , NS(MqContextC_ConfigSetStorage) , NULL, NULL},
3727 {VER, "ConfigSetTimeout" , NS(MqContextC_ConfigSetTimeout) , NULL, NULL},
3728
3729// doc-key: MqContextC,MqConfig,omo
3730 {VER, "ConfigGetIoTcp" , NS(MqContextC_ConfigGetIoTcp) , NULL, NULL},
3731
3732// doc-key: MqContextC,MqContext,oC_
3733 {VER, "<constructor>" , NS(MqContextC_CTOR) , NULL, NULL},
3734
3735// doc-key: MqContextC,MqContext,oc_
3736 {VER, "ErrorFORMAT" , NS(MqContextC_ErrorFORMAT) , NULL, NULL},
3737 {VER, "GetBuffer" , NS(MqContextC_GetBuffer) , NULL, NULL},
3738 {VER, "Next" , NS(MqContextC_Next) , NULL, NULL},
3739 {VER, "Prev" , NS(MqContextC_Prev) , NULL, NULL},
3740
3741// doc-key: MqContextC,MqContext,om_
3742 {VER, "ErrorCopy" , NS(MqContextC_ErrorCopy) , NULL, NULL},
3743 {VER, "ErrorMove" , NS(MqContextC_ErrorMove) , NULL, NULL},
3744 // skip class-overload: MqContextHandleGet → HandleGet, NS(MqContextC_HandleGet)
3745 // skip class-overload: MqContextLog → Log, NS(MqContextC_Log)
3746 {VER, "LogConfig" , NS(MqContextC_LogConfig) , NULL, NULL},
3747 {VER, "LogEnv" , NS(MqContextC_LogEnv) , NULL, NULL},
3748 {VER, "LogLink" , NS(MqContextC_LogLink) , NULL, NULL},
3749 {VER, "LogSetup" , NS(MqContextC_LogSetup) , NULL, NULL},
3750 {VER, "LogShort" , NS(MqContextC_LogShort) , NULL, NULL},
3751 {VER, "LogType" , NS(MqContextC_LogType) , NULL, NULL},
3752 // skip class-overload: MqContextToString → ToString, NS(MqContextC_ToString)
3753
3754// doc-key: MqContextC,MqEnv,om_
3755 {VER, "EnvProtect" , NS(MqContextC_EnvProtect) , NULL, NULL},
3756 {VER, "EnvRestore" , NS(MqContextC_EnvRestore) , NULL, NULL},
3757
3758// doc-key: MqContextC,MqExit,om_
3759 {VER, "Exit" , NS(MqContextC_Exit) , NULL, NULL},
3760
3761// doc-key: MqContextC,MqGet,oc_
3762 {VER, "GetRoot" , NS(MqContextC_GetRoot) , NULL, NULL},
3763
3764// doc-key: MqContextC,MqLink,oc_
3765 {VER, "LinkGetParent" , NS(MqContextC_LinkGetParent) , NULL, NULL},
3766
3767// doc-key: MqContextC,MqLink,om_
3768 {VER, "LinkConnect" , NS(MqContextC_LinkConnect) , NULL, NULL},
3769 {VER, "LinkCreate" , NS(MqContextC_LinkCreate) , NULL, NULL},
3770 {VER, "LinkCreateChild" , NS(MqContextC_LinkCreateChild) , NULL, NULL},
3771 {VER, "LinkDelete" , NS(MqContextC_LinkDelete) , NULL, NULL},
3772 {VER, "LinkGetCtxId" , NS(MqContextC_LinkGetCtxId) , NULL, NULL},
3773 {VER, "LinkGetTargetIdent" , NS(MqContextC_LinkGetTargetIdent) , NULL, NULL},
3774 {VER, "LinkIsConnected" , NS(MqContextC_LinkIsConnected) , NULL, NULL},
3775 {VER, "LinkIsParent" , NS(MqContextC_LinkIsParent) , NULL, NULL},
3776 {VER, "LinkShutdown" , NS(MqContextC_LinkShutdown) , NULL, NULL},
3777
3778// doc-key: MqContextC,MqLog,om_
3779 {VER, "LogParentOrChild" , NS(MqContextC_LogParentOrChild) , NULL, NULL},
3780 {VER, "LogServerOrClient" , NS(MqContextC_LogServerOrClient) , NULL, NULL},
3781
3782// doc-key: MqContextC,MqProcess,om_
3783 {VER, "ProcessEvent" , NS(MqContextC_ProcessEvent) , NULL, NULL},
3784
3785// doc-key: MqContextC,MqProxy,om_
3786 {VER, "ProxyForward" , NS(MqContextC_ProxyForward) , NULL, NULL},
3787 {VER, "ProxyItem" , NS(MqContextC_ProxyItem) , NULL, NULL},
3788
3789// doc-key: MqContextC,MqRead,oci
3790 {VER, "ReadALL" , NS(MqContextC_ReadALL) , NULL, NULL},
3791
3792// doc-key: MqContextC,MqRead,oco
3793 {VER, "ReadBFL" , NS(MqContextC_ReadBFL) , NULL, NULL},
3794 {VER, "ReadBUF" , NS(MqContextC_ReadBUF) , NULL, NULL},
3795
3796// doc-key: MqContextC,MqRead,om_
3797 {VER, "ReadDbg" , NS(MqContextC_ReadDbg) , NULL, NULL},
3798 {VER, "ReadGetNextType" , NS(MqContextC_ReadGetNextType) , NULL, NULL},
3799 {VER, "ReadGetNumItems" , NS(MqContextC_ReadGetNumItems) , NULL, NULL},
3800 {VER, "ReadItemExists" , NS(MqContextC_ReadItemExists) , NULL, NULL},
3801 {VER, "ReadL_END" , NS(MqContextC_ReadL_END) , NULL, NULL},
3802 {VER, "ReadL_START" , NS(MqContextC_ReadL_START) , NULL, NULL},
3803 {VER, "ReadT_END" , NS(MqContextC_ReadT_END) , NULL, NULL},
3804 {VER, "ReadT_START" , NS(MqContextC_ReadT_START) , NULL, NULL},
3805 {VER, "ReadUndo" , NS(MqContextC_ReadUndo) , NULL, NULL},
3806
3807// doc-key: MqContextC,MqRead,omo
3808 {VER, "ReadBIN" , NS(MqContextC_ReadBIN) , NULL, NULL},
3809 {VER, "ReadBOL" , NS(MqContextC_ReadBOL) , NULL, NULL},
3810 {VER, "ReadBinaryR" , NS(MqContextC_ReadBinaryR) , NULL, NULL},
3811 {VER, "ReadDBL" , NS(MqContextC_ReadDBL) , NULL, NULL},
3812 {VER, "ReadFLT" , NS(MqContextC_ReadFLT) , NULL, NULL},
3813 {VER, "ReadHDL" , NS(MqContextC_ReadHDL) , NULL, NULL},
3814 {VER, "ReadI16" , NS(MqContextC_ReadI16) , NULL, NULL},
3815 {VER, "ReadI32" , NS(MqContextC_ReadI32) , NULL, NULL},
3816 {VER, "ReadI64" , NS(MqContextC_ReadI64) , NULL, NULL},
3817 {VER, "ReadI8" , NS(MqContextC_ReadI8) , NULL, NULL},
3818 {VER, "ReadLIST" , NS(MqContextC_ReadLIST) , NULL, NULL},
3819 {VER, "ReadLONG" , NS(MqContextC_ReadLONG) , NULL, NULL},
3820 {VER, "ReadNEXT" , NS(MqContextC_ReadNEXT) , NULL, NULL},
3821 {VER, "ReadSTR" , NS(MqContextC_ReadSTR) , NULL, NULL},
3822 {VER, "ReadStringR" , NS(MqContextC_ReadStringR) , NULL, NULL},
3823
3824// doc-key: MqContextC,MqRoute,oco
3825 {VER, "RouteGetTree" , NS(MqContextC_RouteGetTree) , NULL, NULL},
3826
3827// doc-key: MqContextC,MqRoute,om_
3828 {VER, "RouteCreate" , NS(MqContextC_RouteCreate) , NULL, NULL},
3829 {VER, "RouteDelete" , NS(MqContextC_RouteDelete) , NULL, NULL},
3830 {VER, "RouteResolve" , NS(MqContextC_RouteResolve) , NULL, NULL},
3831 {VER, "RouteTraverse" , NS(MqContextC_RouteTraverse) , NULL, NULL},
3832
3833// doc-key: MqContextC,MqRoute,omo
3834 {VER, "RouteGetPath" , NS(MqContextC_RouteGetPath) , NULL, NULL},
3835
3836// doc-key: MqContextC,MqSend,om_
3837 {VER, "Send" , NS(MqContextC_Send) , NULL, NULL},
3838 {VER, "SendBFL" , NS(MqContextC_SendBFL) , NULL, NULL},
3839 {VER, "SendBIN" , NS(MqContextC_SendBIN) , NULL, NULL},
3840 {VER, "SendBOL" , NS(MqContextC_SendBOL) , NULL, NULL},
3841 {VER, "SendBUF" , NS(MqContextC_SendBUF) , NULL, NULL},
3842 {VER, "SendBUS_FLAT" , NS(MqContextC_SendBUS_FLAT) , NULL, NULL},
3843 {VER, "SendBinaryR" , NS(MqContextC_SendBinaryR) , NULL, NULL},
3844 {VER, "SendDBL" , NS(MqContextC_SendDBL) , NULL, NULL},
3845 {VER, "SendEND" , NS(MqContextC_SendEND) , NULL, NULL},
3846 {VER, "SendEND_AND_CALLBACK", NS(MqContextC_SendEND_AND_CALLBACK) , NULL, NULL},
3847 {VER, "SendEND_AND_SUB" , NS(MqContextC_SendEND_AND_SUB) , NULL, NULL},
3848 {VER, "SendEND_AND_TRANSACTION", NS(MqContextC_SendEND_AND_TRANSACTION) , NULL, NULL},
3849 {VER, "SendEND_AND_WAIT" , NS(MqContextC_SendEND_AND_WAIT) , NULL, NULL},
3850 {VER, "SendERROR" , NS(MqContextC_SendERROR) , NULL, NULL},
3851 {VER, "SendFLT" , NS(MqContextC_SendFLT) , NULL, NULL},
3852 {VER, "SendHDL" , NS(MqContextC_SendHDL) , NULL, NULL},
3853 {VER, "SendI16" , NS(MqContextC_SendI16) , NULL, NULL},
3854 {VER, "SendI32" , NS(MqContextC_SendI32) , NULL, NULL},
3855 {VER, "SendI64" , NS(MqContextC_SendI64) , NULL, NULL},
3856 {VER, "SendI8" , NS(MqContextC_SendI8) , NULL, NULL},
3857 {VER, "SendLONG" , NS(MqContextC_SendLONG) , NULL, NULL},
3858 {VER, "SendLTR" , NS(MqContextC_SendLTR) , NULL, NULL},
3859 {VER, "SendL_END" , NS(MqContextC_SendL_END) , NULL, NULL},
3860 {VER, "SendL_FLAT" , NS(MqContextC_SendL_FLAT) , NULL, NULL},
3861 {VER, "SendL_START" , NS(MqContextC_SendL_START) , NULL, NULL},
3862 {VER, "SendRETURN" , NS(MqContextC_SendRETURN) , NULL, NULL},
3863 {VER, "SendRETURN_SUB" , NS(MqContextC_SendRETURN_SUB) , NULL, NULL},
3864 {VER, "SendSTART" , NS(MqContextC_SendSTART) , NULL, NULL},
3865 {VER, "SendSTR" , NS(MqContextC_SendSTR) , NULL, NULL},
3866 {VER, "SendSYNC" , NS(MqContextC_SendSYNC) , NULL, NULL},
3867 {VER, "SendStringR" , NS(MqContextC_SendStringR) , NULL, NULL},
3868 {VER, "SendT_END" , NS(MqContextC_SendT_END) , NULL, NULL},
3869 {VER, "SendT_START" , NS(MqContextC_SendT_START) , NULL, NULL},
3870
3871// doc-key: MqContextC,MqService,om_
3872 {VER, "ServiceCreate" , NS(MqContextC_ServiceCreate) , NULL, NULL},
3873 {VER, "ServiceDelete" , NS(MqContextC_ServiceDelete) , NULL, NULL},
3874 {VER, "ServiceIsTransaction", NS(MqContextC_ServiceIsTransaction) , NULL, NULL},
3875 {VER, "ServiceProxy" , NS(MqContextC_ServiceProxy) , NULL, NULL},
3876 {VER, "ServiceProxyCtx" , NS(MqContextC_ServiceProxyCtx) , NULL, NULL},
3877 {VER, "ServiceProxyCtxExists", NS(MqContextC_ServiceProxyCtxExists) , NULL, NULL},
3878 {VER, "ServiceProxyRoundRobin", NS(MqContextC_ServiceProxyRoundRobin) , NULL, NULL},
3879 {VER, "ServiceStorage" , NS(MqContextC_ServiceStorage) , NULL, NULL},
3880 {VER, "ServiceTokenCheck" , NS(MqContextC_ServiceTokenCheck) , NULL, NULL},
3881 {VER, "ServiceTokenExists" , NS(MqContextC_ServiceTokenExists) , NULL, NULL},
3882 {VER, "ServiceTokenGet" , NS(MqContextC_ServiceTokenGet) , NULL, NULL},
3883
3884// doc-key: MqContextC,MqSlave,oc_
3885 {VER, "SlaveGetMaster" , NS(MqContextC_SlaveGetMaster) , NULL, NULL},
3886
3887// doc-key: MqContextC,MqSlave,oco
3888 {VER, "SlaveGet" , NS(MqContextC_SlaveGet) , NULL, NULL},
3889 {VER, "SlaveGetFilter" , NS(MqContextC_SlaveGetFilter) , NULL, NULL},
3890 {VER, "SlaveGetProxy" , NS(MqContextC_SlaveGetProxy) , NULL, NULL},
3891
3892// doc-key: MqContextC,MqSlave,om_
3893 {VER, "SlaveCheck" , NS(MqContextC_SlaveCheck) , NULL, NULL},
3894 {VER, "SlaveCreate" , NS(MqContextC_SlaveCreate) , NULL, NULL},
3895 {VER, "SlaveDelete" , NS(MqContextC_SlaveDelete) , NULL, NULL},
3896 {VER, "SlaveIs" , NS(MqContextC_SlaveIs) , NULL, NULL},
3897 {VER, "SlaveWorker" , NS(MqContextC_SlaveWorker) , NULL, NULL},
3898
3899// doc-key: MqContextC,MqStorage,oci
3900 {VER, "StorageDelete" , NS(MqContextC_StorageDelete) , NULL, NULL},
3901 {VER, "StorageImport" , NS(MqContextC_StorageImport) , NULL, NULL},
3902
3903// doc-key: MqContextC,MqStorage,om_
3904 {VER, "StorageClose" , NS(MqContextC_StorageClose) , NULL, NULL},
3905 {VER, "StorageDecrRef" , NS(MqContextC_StorageDecrRef) , NULL, NULL},
3906 {VER, "StorageIncrRef" , NS(MqContextC_StorageIncrRef) , NULL, NULL},
3907 {VER, "StorageLog" , NS(MqContextC_StorageLog) , NULL, NULL},
3908 {VER, "StorageOpen" , NS(MqContextC_StorageOpen) , NULL, NULL},
3909
3910// doc-key: MqContextC,MqStorage,omo
3911 {VER, "StorageCount" , NS(MqContextC_StorageCount) , NULL, NULL},
3912 {VER, "StorageErrCnt" , NS(MqContextC_StorageErrCnt) , NULL, NULL},
3913 {VER, "StorageExport" , NS(MqContextC_StorageExport) , NULL, NULL},
3914 {VER, "StorageResolve" , NS(MqContextC_StorageResolve) , NULL, NULL},
3915
3916// END-OBJ - created by 'tcl_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
3917 {0, NULL, NULL, NULL, NULL}
3918};
OT_ProcRet NS MqContextC_ReadLIST(MqContextC_ARGS)
OT_ProcRet NS MqContextC_ReadNEXT(MqContextC_ARGS)
#define VER

◆ tclmqmsgque_sOtClassDef

Tcl_MethodType tclmqmsgque_sOtClassDef[]
static
Initial value:
= {
{VER, "Create" , tclmqmsgque_MqContextC_Create , NULL, NULL},
{VER, "GetNull" , tclmqmsgque_MqContextC_GetNull , NULL, NULL},
{VER, "HandleResolve" , tclmqmsgque_MqContextC_HandleResolve , NULL, NULL},
{VER, "Instances" , tclmqmsgque_MqContextC_Instances , NULL, NULL},
{0, NULL, NULL, NULL}
}
static OT_ProcRet tclmqmsgque_MqContextC_GetNull(OtClass_ARGS)
Tcl: (static) MqContextC [MqContextC GetNull] → C-API Null-Slot - return a MqContextC typed NULL...
static OT_ProcRet tclmqmsgque_MqContextC_HandleResolve(OtClass_ARGS)
Tcl: (static) MqContextC [MqContextC HandleResolve netHdl:MK_HDL] → C-API Handle-Resolve-Slot - ...
static OT_ProcRet tclmqmsgque_MqContextC_Instances(OtClass_ARGS)
Tcl: (static) MqContextC [MqContextC Instances] → C-API get head-instance from linked-list of Mq...
static OT_ProcRet tclmqmsgque_MqContextC_Create(OtClass_ARGS)
Tcl: (constructor,static) MqContextC [MqContextC Create ?tmpl:MqContextC="MK_NULL"?...

Definition at line 3647 of file MqContextC_tcl.c.

3647 {
3648// BEGIN-CLASS - created by 'tcl_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
3649
3650// doc-key: MqContextC,MqContext,sCc
3651 {VER, "Create" , NS(MqContextC_Create) , NULL, NULL},
3652
3653// doc-key: MqContextC,MqContext,sc_
3654 {VER, "GetNull" , NS(MqContextC_GetNull) , NULL, NULL},
3655 {VER, "HandleResolve" , NS(MqContextC_HandleResolve) , NULL, NULL},
3656 {VER, "Instances" , NS(MqContextC_Instances) , NULL, NULL},
3657
3658// END-CLASS - created by 'tcl_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
3659 {0, NULL, NULL, NULL}
3660};