MqContextC - finish the send-data-block on the server and optional return the results. …
More...
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:
- if a shortterm transaction is ongoing this function return the data or the error to the link target
- if the answer does not return any data no previous MqSendSTART is required.
- if no transaction is ongoing this function does just return. If an error is available report an asynchronous error to the link target.
- Parameters
-
- Exceptions
-
◆ MqSendERROR
#define MqSendERROR |
( |
| ... | ) |
|
◆ MqSendERROR_C
#define MqSendERROR_C |
( |
| ... | ) |
|
◆ MqSendERROR_E
#define MqSendERROR_E |
( |
| ... | ) |
|
◆ MqSendERROR_NULL
#define MqSendERROR_NULL |
( |
| ... | ) |
|
◆ MqSendRETURN
#define MqSendRETURN |
( |
| ... | ) |
|
◆ MqSendRETURN_C
#define MqSendRETURN_C |
( |
| ... | ) |
|
◆ MqSendRETURN_E
#define MqSendRETURN_E |
( |
| ... | ) |
|
◆ MqSendRETURN_NULL
#define MqSendRETURN_NULL |
( |
| ... | ) |
|
◆ MqSendRETURN_SUB
#define MqSendRETURN_SUB |
( |
| ... | ) |
|
◆ MqSendRETURN_SUB_C
#define MqSendRETURN_SUB_C |
( |
| ... | ) |
|
◆ MqSendRETURN_SUB_E
#define MqSendRETURN_SUB_E |
( |
| ... | ) |
|
◆ MqSendRETURN_SUB_NULL
#define MqSendRETURN_SUB_NULL |
( |
| ... | ) |
|
◆ MqSendERROR_RT()
send the data from the MkErrorC to the link target . …
If an error is available the error-number and the error-text is send to the link target. After send the error is reset. This function only raise an error if the sending self fails or the MkErrorDEFAULT is set and the ctx is a client-context.
- Parameters
-
- Exceptions
-
◆ MqSendRETURN_RT()
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:
- if a shortterm transaction is ongoing this function return the data or the error to the link target
- if the answer does not return any data no previous MqSendSTART is required.
- if no transaction is ongoing this function does just return. If an error is available report an asynchronous error to the link target.
- Parameters
-
- Exceptions
-
◆ MqSendRETURN_SUB_RT()