theLink 10.0
Loading...
Searching...
No Matches
MqContextC_SendApi_Return_ATL_API

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

+ Collaboration diagram for MqContextC_SendApi_Return_ATL_API:

Functions

static OT_ProcRet atlmqmsgque_MqContextC_SendERROR (MqContextC_ARGS)
  Atl: MqContextC::SendERROR $ctx C-API
send the data from the MkErrorC to the link target . …
 
static OT_ProcRet atlmqmsgque_MqContextC_SendRETURN (MqContextC_ARGS)
  Atl: MqContextC::SendRETURN $ctx C-API
MqContextC - finish the send-data-block on the server and optional return the results. …
 
static OT_ProcRet atlmqmsgque_MqContextC_SendRETURN_SUB (MqContextC_ARGS)
  Atl: MqContextC::SendRETURN_SUB $ctx 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

◆ atlmqmsgque_MqContextC_SendERROR()

static OT_ProcRet atlmqmsgque_MqContextC_SendERROR ( MqContextC_ARGS )
static

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

Definition at line 2992 of file MqContextC_atl.c.

2992 {
2996 MkErrorC_Check(hdl,MqSendERROR (hdl));
2998 goto end;
2999 error:
3001 end:
3003}
#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(...)

◆ atlmqmsgque_MqContextC_SendRETURN()

static OT_ProcRet atlmqmsgque_MqContextC_SendRETURN ( MqContextC_ARGS )
static

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

Definition at line 3006 of file MqContextC_atl.c.

3006 {
3010 MkErrorC_Check(hdl,MqSendRETURN (hdl));
3012 goto end;
3013 error:
3015 end:
3017}
#define SendRETURN_doc
#define MqSendRETURN(...)

◆ atlmqmsgque_MqContextC_SendRETURN_SUB()

static OT_ProcRet atlmqmsgque_MqContextC_SendRETURN_SUB ( MqContextC_ARGS )
static

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

Definition at line 3020 of file MqContextC_atl.c.

3020 {
3026 goto end;
3027 error:
3029 end:
3031}
#define SendRETURN_SUB_doc
#define MqSendRETURN_SUB(...)