theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ConfigApi_Interface_ATL_API

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

+ Collaboration diagram for MqContextC_ConfigApi_Interface_ATL_API:

Functions

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetBgError (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetBgError $ctx ?callback:callable=NULL? C-API
set the MqSetupS::BgError
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetEvent (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetEvent $ctx ?callback:callable=NULL? C-API
set the MqSetupS::Event
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetServerCleanup (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetServerCleanup $ctx ?callback:callable=NULL? C-API
set the MqSetupS::ServerCleanup
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetServerSetup (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetServerSetup $ctx ?callback:callable=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

◆ atlmqmsgque_MqContextC_ConfigSetBgError()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetBgError ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetBgError $ctx ?callback:callable=NULL? C-API
set the MqSetupS::BgError

Definition at line 918 of file MqContextC_atl.c.

918 {
921 OT_SETUP_CALLABLE(callback)
924 MqServiceCallbackF fCall = (callback == NULL ? NULL : NS(ServiceCall));
925 MqConfigSetBgError (hdl, fCall, callback, NS(ServiceFree), NS(ServiceCopy));
927 goto end;
928 error:
930 end:
931 OT_CLEANUP_CALLABLE(callback)
933}
#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)

◆ atlmqmsgque_MqContextC_ConfigSetEvent()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetEvent ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetEvent $ctx ?callback:callable=NULL? C-API
set the MqSetupS::Event

Definition at line 936 of file MqContextC_atl.c.

936 {
939 OT_SETUP_CALLABLE(callback)
942 MqServiceCallbackF fCall = (callback == NULL ? NULL : NS(ServiceCall));
943 MqConfigSetEvent (hdl, fCall, callback, NS(ServiceFree), NS(ServiceCopy));
945 goto end;
946 error:
948 end:
949 OT_CLEANUP_CALLABLE(callback)
951}
#define ConfigSetEvent_doc
#define MqConfigSetEvent(...)

◆ atlmqmsgque_MqContextC_ConfigSetServerCleanup()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetServerCleanup ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetServerCleanup $ctx ?callback:callable=NULL? C-API
set the MqSetupS::ServerCleanup

Definition at line 954 of file MqContextC_atl.c.

954 {
957 OT_SETUP_CALLABLE(callback)
960 MqServiceCallbackF fCall = (callback == NULL ? NULL : NS(ServiceCall));
961 MqConfigSetServerCleanup (hdl, fCall, callback, NS(ServiceFree), NS(ServiceCopy));
963 goto end;
964 error:
966 end:
967 OT_CLEANUP_CALLABLE(callback)
969}
#define ConfigSetServerCleanup_doc
#define MqConfigSetServerCleanup(...)

◆ atlmqmsgque_MqContextC_ConfigSetServerSetup()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetServerSetup ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetServerSetup $ctx ?callback:callable=NULL? C-API
set the MqSetupS::ServerSetup

Definition at line 972 of file MqContextC_atl.c.

972 {
975 OT_SETUP_CALLABLE(callback)
978 MqServiceCallbackF fCall = (callback == NULL ? NULL : NS(ServiceCall));
979 MqConfigSetServerSetup (hdl, fCall, callback, NS(ServiceFree), NS(ServiceCopy));
981 goto end;
982 error:
984 end:
985 OT_CLEANUP_CALLABLE(callback)
987}
#define ConfigSetServerSetup_doc
#define MqConfigSetServerSetup(...)