theLink 10.0
Loading...
Searching...
No Matches
MqContextC_SendApi_Return_CS_API

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

+ Collaboration diagram for MqContextC_SendApi_Return_CS_API:

Functions

void csmqmsgque.MqContextC.SendERROR ()
  C#: ctx.SendERROR() C-API
send the data from the MkErrorC to the link target . …
 
void csmqmsgque.MqContextC.SendRETURN ()
  C#: ctx.SendRETURN() C-API
MqContextC - finish the send-data-block on the server and optional return the results. …
 
void csmqmsgque.MqContextC.SendRETURN_SUB ()
  C#: 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

◆ SendERROR()

void csmqmsgque.MqContextC.SendERROR ( )
inline

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

Definition at line 1571 of file MqContextC.cs.

1571 {
1572 MkErrorE errVal = Mq.MqSendERROR(mkrt, hdl);
1573 MkErrorC.Check(hdl, errVal);
1574 }
csmqmsgque.MqMsgque Mq
static void Check(IntPtr ctx, MkErrorE err)
MkErrorE

◆ SendRETURN()

void csmqmsgque.MqContextC.SendRETURN ( )
inline

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

Definition at line 1577 of file MqContextC.cs.

1577 {
1578 MkErrorE errVal = Mq.MqSendRETURN(mkrt, hdl);
1579 MkErrorC.Check(hdl, errVal);
1580 }

◆ SendRETURN_SUB()

void csmqmsgque.MqContextC.SendRETURN_SUB ( )
inline

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

Definition at line 1583 of file MqContextC.cs.

1583 {
1584 MkErrorE errVal = Mq.MqSendRETURN_SUB(mkrt, hdl);
1585 MkErrorC.Check(hdl, errVal);
1586 }