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 |
Tcl:
→ C-API $ctx SendEND token:string[4] ?timeout:MkTimeoutE|int32=DEFAULT?
MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service …
Definition at line 2814 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API $ctx SendEND_AND_CALLBACK 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 2832 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API $ctx SendEND_AND_SUB 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 2853 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API $ctx SendEND_AND_TRANSACTION 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 2874 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API $ctx SendEND_AND_WAIT token:string[4] ?timeout:MkTimeoutE|int32=DEFAULT?
finish the send-data-block, call the remote service and wait for result…
Definition at line 2894 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API $ctx SendSTART
initialize the send-data-package. …
Definition at line 2912 of file MqContextC_tcl.c.
|
static |
Tcl:
→ C-API $ctx SendSYNC
garantee that all pending asynchronous-service-calls are processed. …
Definition at line 2926 of file MqContextC_tcl.c.