theLink 10.0
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 pymqmsgque_MqContextC_SendERROR (MqContextC_ARGS)
  Python: ctx.SendERROR() C-API
send the data from the MkErrorC to the link target . …
 
static OT_ProcRet pymqmsgque_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 pymqmsgque_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

◆ pymqmsgque_MqContextC_SendERROR()

static OT_ProcRet pymqmsgque_MqContextC_SendERROR ( MqContextC_ARGS )
static

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

Definition at line 2961 of file MqContextC_py.c.

2961 {
2965 MkErrorC_Check(hdl,MqSendERROR (hdl));
2967 goto end;
2968 error:
2970 end:
2972}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define OT_SETUP_hdl
#define SendERROR_doc
#define error
Definition high_lng.h:339
#define MqSendERROR(...)

◆ pymqmsgque_MqContextC_SendRETURN()

static OT_ProcRet pymqmsgque_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 2975 of file MqContextC_py.c.

2975 {
2979 MkErrorC_Check(hdl,MqSendRETURN (hdl));
2981 goto end;
2982 error:
2984 end:
2986}
#define SendRETURN_doc
#define MqSendRETURN(...)

◆ pymqmsgque_MqContextC_SendRETURN_SUB()

static OT_ProcRet pymqmsgque_MqContextC_SendRETURN_SUB ( MqContextC_ARGS )
static

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

Definition at line 2989 of file MqContextC_py.c.

2989 {
2995 goto end;
2996 error:
2998 end:
3000}
#define SendRETURN_SUB_doc
#define MqSendRETURN_SUB(...)