theLink 10.0
Loading...
Searching...
No Matches
MqContextC_SendApi_Return_RB_API

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

+ Collaboration diagram for MqContextC_SendApi_Return_RB_API:

Functions

static OT_ProcRet rbmqmsgque_MqContextC_SendERROR (MqContextC_ARGS)
  Ruby: ctx.SendERROR() C-API
send the data from the MkErrorC to the link target . …
 
static OT_ProcRet rbmqmsgque_MqContextC_SendRETURN (MqContextC_ARGS)
  Ruby: ctx.SendRETURN() C-API
MqContextC - finish the send-data-block on the server and optional return the results. …
 
static OT_ProcRet rbmqmsgque_MqContextC_SendRETURN_SUB (MqContextC_ARGS)
  Ruby: 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

◆ rbmqmsgque_MqContextC_SendERROR()

static OT_ProcRet rbmqmsgque_MqContextC_SendERROR ( MqContextC_ARGS )
static

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

Definition at line 2470 of file MqContextC_rb.c.

2470 {
2474 MkErrorC_Check(hdl,MqSendERROR (hdl));
2476 end: MK_UNUSED /* LONG JUMP on error */
2478}
#define OT_SETUP_NOARG(d)
#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 MK_UNUSED
#define MqSendERROR(...)

◆ rbmqmsgque_MqContextC_SendRETURN()

static OT_ProcRet rbmqmsgque_MqContextC_SendRETURN ( MqContextC_ARGS )
static

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

Definition at line 2481 of file MqContextC_rb.c.

2481 {
2485 MkErrorC_Check(hdl,MqSendRETURN (hdl));
2487 end: MK_UNUSED /* LONG JUMP on error */
2489}
#define SendRETURN_doc
#define MqSendRETURN(...)

◆ rbmqmsgque_MqContextC_SendRETURN_SUB()

static OT_ProcRet rbmqmsgque_MqContextC_SendRETURN_SUB ( MqContextC_ARGS )
static

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

Definition at line 2492 of file MqContextC_rb.c.

2492 {
2498 end: MK_UNUSED /* LONG JUMP on error */
2500}
#define SendRETURN_SUB_doc
#define MqSendRETURN_SUB(...)