MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service … More...
MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service …
calling a remote service and wait timeout seconds for an result. If timeout == 0
it is an asynchronous-service-call and if the timeout > 0
it is a synchronous-service-call.
service-call | blocking | timeout |
---|---|---|
synchronous | yes | timeout > 0 |
asynchronous | no | timeout == 0 |
blocking mean waiting max timeout seconds to finishing the service-call:
If an error was raised on the server during the service-processing… the following error-handling will be available
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[in] | token | the MqContextC SERVICE API to identify the service |
[in] | timeout | in seconds until a timeout-error is raised (possible values like ProcessEvent) (MK_TIMEOUT_DEFAULT=0 ) |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
|
static |
Atl:
→ C-API MqContextC::SendEND $ctx token:string[4] ?timeout:MkTimeoutE|int32=DEFAULT?
MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service …
Definition at line 2792 of file MqContextC_atl.c.
|
static |
Atl:
→ C-API MqContextC::SendEND_AND_CALLBACK $ctx token:string[4] callback:callable ?timeout:MkTimeoutE|int32=DEFAULT?
finish the send-data-block, call the remote service, do not-wait for the result but expect the result on a callback …
Definition at line 2810 of file MqContextC_atl.c.
|
static |
Atl:
→ C-API MqContextC::SendEND_AND_SUB $ctx token:string[4] callback:callable ?timeout:MkTimeoutE|int32=DEFAULT?
finish the send-data-block, call the remote service, do wait for the result and expect multiple sub-results on a callback …
Definition at line 2831 of file MqContextC_atl.c.
|
static |
Atl:
→ C-API MqContextC::SendEND_AND_TRANSACTION $ctx token:string[4] callback:string[4] ?timeout:MkTimeoutE|int32=DEFAULT?
finish the send-data-block, call the remote service to do a longterm-transaction-call …
Definition at line 2852 of file MqContextC_atl.c.
|
static |
Atl:
→ C-API MqContextC::SendEND_AND_WAIT $ctx token:string[4] ?timeout:MkTimeoutE|int32=DEFAULT?
finish the send-data-block, call the remote service and wait for result…
Definition at line 2872 of file MqContextC_atl.c.
|
static |
Atl:
→ C-API MqContextC::SendSTART $ctx
initialize the send-data-package. …
Definition at line 2890 of file MqContextC_atl.c.
|
static |
Atl:
→ C-API MqContextC::SendSYNC $ctx
garantee that all pending asynchronous-service-calls are processed. …
Definition at line 2904 of file MqContextC_atl.c.