theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ConfigApi_Interface_TCL_API

MqContextC - various function to setup a interface for the contextMore...

+ Collaboration diagram for MqContextC_ConfigApi_Interface_TCL_API:

Functions

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
 

Detailed Description

MqContextC - various function to setup a interface for the context

The "Setup"-Callback is special because this callback have to be callable by the server child and/or the slave context.

To distinguish the server child and slave the following functions are used:

Function Documentation

◆ tclmqmsgque_MqContextC_ConfigSetBgError()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetBgError ( MqContextC_ARGS )
static

Tcl: $ctx ConfigSetBgError ?callback:callable="MK_NULL"? C-API
set the MqSetupS::BgError

Definition at line 940 of file MqContextC_tcl.c.

940 {
943 OT_SETUP_CALLABLE(callback)
946 MqServiceCallbackF fCall = (callback == NULL ? NULL : NS(ServiceCall));
947 MqConfigSetBgError (hdl, fCall, callback, NS(ServiceFree), NS(ServiceCopy));
949 goto end;
950 error:
952 end:
953 OT_CLEANUP_CALLABLE(callback)
955}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_Error
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_NOARGS
#define NS(n)
#define ConfigSetBgError_doc
#define OT_SETUP_hdl
#define error
Definition high_lng.h:339
#define MqConfigSetBgError(...)
MqTokenF MqServiceCallbackF
MqContextC - the callback-function is used as a service-handle or as a event-handle …
#define OT_CHECK_CALLABLE(val)
#define OT_CLEANUP_CALLABLE(val)
#define OT_SETUP_CALLABLE(val)

◆ tclmqmsgque_MqContextC_ConfigSetEvent()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetEvent ( MqContextC_ARGS )
static

Tcl: $ctx ConfigSetEvent ?callback:callable="MK_NULL"? C-API
set the MqSetupS::Event

Definition at line 958 of file MqContextC_tcl.c.

958 {
961 OT_SETUP_CALLABLE(callback)
964 MqServiceCallbackF fCall = (callback == NULL ? NULL : NS(ServiceCall));
965 MqConfigSetEvent (hdl, fCall, callback, NS(ServiceFree), NS(ServiceCopy));
967 goto end;
968 error:
970 end:
971 OT_CLEANUP_CALLABLE(callback)
973}
#define ConfigSetEvent_doc
#define MqConfigSetEvent(...)

◆ tclmqmsgque_MqContextC_ConfigSetServerCleanup()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetServerCleanup ( MqContextC_ARGS )
static

Tcl: $ctx ConfigSetServerCleanup ?callback:callable="MK_NULL"? C-API
set the MqSetupS::ServerCleanup

Definition at line 976 of file MqContextC_tcl.c.

976 {
979 OT_SETUP_CALLABLE(callback)
982 MqServiceCallbackF fCall = (callback == NULL ? NULL : NS(ServiceCall));
983 MqConfigSetServerCleanup (hdl, fCall, callback, NS(ServiceFree), NS(ServiceCopy));
985 goto end;
986 error:
988 end:
989 OT_CLEANUP_CALLABLE(callback)
991}
#define ConfigSetServerCleanup_doc
#define MqConfigSetServerCleanup(...)

◆ tclmqmsgque_MqContextC_ConfigSetServerSetup()

static OT_ProcRet tclmqmsgque_MqContextC_ConfigSetServerSetup ( MqContextC_ARGS )
static

Tcl: $ctx ConfigSetServerSetup ?callback:callable="MK_NULL"? C-API
set the MqSetupS::ServerSetup

Definition at line 994 of file MqContextC_tcl.c.

994 {
997 OT_SETUP_CALLABLE(callback)
1000 MqServiceCallbackF fCall = (callback == NULL ? NULL : NS(ServiceCall));
1001 MqConfigSetServerSetup (hdl, fCall, callback, NS(ServiceFree), NS(ServiceCopy));
1003 goto end;
1004 error:
1006 end:
1007 OT_CLEANUP_CALLABLE(callback)
1009}
#define ConfigSetServerSetup_doc
#define MqConfigSetServerSetup(...)