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

MqContextC - finish the send-data-block on the server and optional return the results. … More...

+ Collaboration diagram for MqContextC_SendApi_Return_PY_API:

Functions

static OT_ProcRet py_mqmsgque_MqContextC_SendERROR (MqContextC_ARGS)
  Python: ctx.SendERROR() C-API
send the data from the MkErrorC to the link target . …
 
static OT_ProcRet py_mqmsgque_MqContextC_SendRETURN (MqContextC_ARGS)
  Python: ctx.SendRETURN() C-API
MqContextC - finish the send-data-block on the server and optional return the results. …
 
static OT_ProcRet py_mqmsgque_MqContextC_SendRETURN_SUB (MqContextC_ARGS)
  Python: ctx.SendRETURN_SUB() C-API
return Sub-Data-Blocks required by MqSendEND_AND_SUB
 

Detailed Description

MqContextC - finish the send-data-block on the server and optional return the results. …

Every service-handler have to use this function at the end to return the results or the error. If an error is returned the local MkErrorC is reset. The following behaviour is used:

Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
Exceptions
MkExceptionC→ The default-exception from the Programming-Language-Micro-Kernel (PLMK)

Function Documentation

◆ py_mqmsgque_MqContextC_SendERROR()

static OT_ProcRet py_mqmsgque_MqContextC_SendERROR ( MqContextC_ARGS )
static

Python: ctx.SendERROR() C-API
send the data from the MkErrorC to the link target . …

Definition at line 2959 of file MqContextC_py.c.

2959 {
2961 OT_SETUP_NOARG(SendERROR_doc)
2962 OT_CHECK_NOARGS
2963 MkErrorC_Check(hdl,MqSendERROR (hdl));
2964 OT_retObj_SET_None
2965 goto end;
2966 error:
2967 OT_retObj_SET_Error
2968 end:
2970}
#define OT_SETUP_hdl
#define SendERROR_doc
#define OT_retObj_RETURN
#define error
#define MqSendERROR(...)

◆ py_mqmsgque_MqContextC_SendRETURN()

static OT_ProcRet py_mqmsgque_MqContextC_SendRETURN ( MqContextC_ARGS )
static

Python: ctx.SendRETURN() C-API
MqContextC - finish the send-data-block on the server and optional return the results. …

Definition at line 2973 of file MqContextC_py.c.

2973 {
2975 OT_SETUP_NOARG(SendRETURN_doc)
2976 OT_CHECK_NOARGS
2977 MkErrorC_Check(hdl,MqSendRETURN (hdl));
2978 OT_retObj_SET_None
2979 goto end;
2980 error:
2981 OT_retObj_SET_Error
2982 end:
2984}
#define SendRETURN_doc
#define MqSendRETURN(...)

◆ py_mqmsgque_MqContextC_SendRETURN_SUB()

static OT_ProcRet py_mqmsgque_MqContextC_SendRETURN_SUB ( MqContextC_ARGS )
static

Python: ctx.SendRETURN_SUB() C-API
return Sub-Data-Blocks required by MqSendEND_AND_SUB

Definition at line 2987 of file MqContextC_py.c.

2987 {
2989 OT_SETUP_NOARG(SendRETURN_SUB_doc)
2990 OT_CHECK_NOARGS
2991 MkErrorC_Check(hdl,MqSendRETURN_SUB (hdl));
2992 OT_retObj_SET_None
2993 goto end;
2994 error:
2995 OT_retObj_SET_Error
2996 end:
2998}
#define SendRETURN_SUB_doc
#define MqSendRETURN_SUB(...)