theLink 10.0
Loading...
Searching...
No Matches
MqContextC_SendApi_Return_TCL_API

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

+ Collaboration diagram for MqContextC_SendApi_Return_TCL_API:

Functions

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
 

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

◆ tclmqmsgque_MqContextC_SendERROR()

static OT_ProcRet tclmqmsgque_MqContextC_SendERROR ( MqContextC_ARGS )
static

Tcl: $ctx SendERROR C-API
send the data from the MkErrorC to the link target . …

Definition at line 3014 of file MqContextC_tcl.c.

3014 {
3018 MkErrorC_Check(hdl,MqSendERROR (hdl));
3020 goto end;
3021 error:
3023 end:
3025}
#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(...)

◆ tclmqmsgque_MqContextC_SendRETURN()

static OT_ProcRet tclmqmsgque_MqContextC_SendRETURN ( MqContextC_ARGS )
static

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

Definition at line 3028 of file MqContextC_tcl.c.

3028 {
3032 MkErrorC_Check(hdl,MqSendRETURN (hdl));
3034 goto end;
3035 error:
3037 end:
3039}
#define SendRETURN_doc
#define MqSendRETURN(...)

◆ tclmqmsgque_MqContextC_SendRETURN_SUB()

static OT_ProcRet tclmqmsgque_MqContextC_SendRETURN_SUB ( MqContextC_ARGS )
static

Tcl: $ctx SendRETURN_SUB C-API
return Sub-Data-Blocks required by MqSendEND_AND_SUB

Definition at line 3042 of file MqContextC_tcl.c.

3042 {
3048 goto end;
3049 error:
3051 end:
3053}
#define SendRETURN_SUB_doc
#define MqSendRETURN_SUB(...)