theLink 10.0
Loading...
Searching...
No Matches
MqContextC_SendApi_Return_JV_API

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

+ Collaboration diagram for MqContextC_SendApi_Return_JV_API:

Functions

native void jvmqmsgque.MqContextC.SendERROR ()
  Java: ctx.SendERROR() C-API
send the data from the MkErrorC to the link target . …
 
native void jvmqmsgque.MqContextC.SendRETURN ()
  Java: ctx.SendRETURN() C-API
MqContextC - finish the send-data-block on the server and optional return the results. …
 
native void jvmqmsgque.MqContextC.SendRETURN_SUB ()
  Java: ctx.SendRETURN_SUB() C-API
return Sub-Data-Blocks required by MqSendEND_AND_SUB
 
JNIEXPORT void JNICALL Java_jvmqmsgque_MqContextC_SendERROR (JNIEnv *env, jobject self)
  Java: ctx.SendERROR() C-API
send the data from the MkErrorC to the link target . …
 
JNIEXPORT void JNICALL Java_jvmqmsgque_MqContextC_SendRETURN (JNIEnv *env, jobject self)
  Java: ctx.SendRETURN() C-API
MqContextC - finish the send-data-block on the server and optional return the results. …
 
JNIEXPORT void JNICALL Java_jvmqmsgque_MqContextC_SendRETURN_1SUB (JNIEnv *env, jobject self)
  Java: 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)

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

◆ Java_jvmqmsgque_MqContextC_SendERROR()

JNIEXPORT void JNICALL Java_jvmqmsgque_MqContextC_SendERROR ( JNIEnv * env,
jobject self )

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

Definition at line 2163 of file MqContextC_jv.c.

2163 {
2164 MQ_CTX hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",self);
2165 JavaErrorCheck;
2166 MkRtSetup_X(hdl);
2167 enum MkErrorE errVal = MqSendERROR(hdl);
2168 MkErrorC_Check(hdl, errVal)
2169error:
2170 return;
2171}
MkErrorE
#define MkRtSetup_X(x)
struct MqContextS * MQ_CTX
class-shortcut for struct MqContextS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MqSendERROR(...)
PUBLIC data structure for the jvmqmsgque-specific-data

◆ Java_jvmqmsgque_MqContextC_SendRETURN()

JNIEXPORT void JNICALL Java_jvmqmsgque_MqContextC_SendRETURN ( JNIEnv * env,
jobject self )

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

Definition at line 2174 of file MqContextC_jv.c.

2174 {
2175 MQ_CTX hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",self);
2176 JavaErrorCheck;
2177 MkRtSetup_X(hdl);
2178 enum MkErrorE errVal = MqSendRETURN(hdl);
2179 MkErrorC_Check(hdl, errVal)
2180error:
2181 return;
2182}
#define MqSendRETURN(...)

◆ Java_jvmqmsgque_MqContextC_SendRETURN_1SUB()

JNIEXPORT void JNICALL Java_jvmqmsgque_MqContextC_SendRETURN_1SUB ( JNIEnv * env,
jobject self )

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

Definition at line 2185 of file MqContextC_jv.c.

2185 {
2186 MQ_CTX hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",self);
2187 JavaErrorCheck;
2188 MkRtSetup_X(hdl);
2189 enum MkErrorE errVal = MqSendRETURN_SUB(hdl);
2190 MkErrorC_Check(hdl, errVal)
2191error:
2192 return;
2193}
#define MqSendRETURN_SUB(...)

◆ SendERROR()

native void jvmqmsgque.MqContextC.SendERROR ( )

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

◆ SendRETURN()

native void jvmqmsgque.MqContextC.SendRETURN ( )

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

◆ SendRETURN_SUB()

native void jvmqmsgque.MqContextC.SendRETURN_SUB ( )

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