MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service … More...
Functions | |
static OT_ProcRet | py_mqmsgque_MqContextC_SendEND (MqContextC_ARGS) |
Python: → C-API MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service … | |
static OT_ProcRet | py_mqmsgque_MqContextC_SendEND_AND_CALLBACK (MqContextC_ARGS) |
Python: → C-API finish the send-data-block, call the remote service, do not-wait for the result but expect the result on a callback … | |
static OT_ProcRet | py_mqmsgque_MqContextC_SendEND_AND_SUB (MqContextC_ARGS) |
Python: → C-API finish the send-data-block, call the remote service, do wait for the result and expect multiple sub-results on a callback … | |
static OT_ProcRet | py_mqmsgque_MqContextC_SendEND_AND_TRANSACTION (MqContextC_ARGS) |
Python: → C-API finish the send-data-block, call the remote service to do a longterm-transaction-call … | |
static OT_ProcRet | py_mqmsgque_MqContextC_SendEND_AND_WAIT (MqContextC_ARGS) |
Python: → C-API finish the send-data-block, call the remote service and wait for result… | |
static OT_ProcRet | py_mqmsgque_MqContextC_SendSTART (MqContextC_ARGS) |
Python: → C-API initialize the send-data-package. … | |
static OT_ProcRet | py_mqmsgque_MqContextC_SendSYNC (MqContextC_ARGS) |
Python: → C-API garantee that all pending asynchronous-service-calls are processed. … | |
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 |
Python:
→ 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 2759 of file MqContextC_py.c.
|
static |
Python:
→ 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 2777 of file MqContextC_py.c.
|
static |
Python:
→ 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 2798 of file MqContextC_py.c.
|
static |
Python:
→ 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 2819 of file MqContextC_py.c.
|
static |
Python:
→ 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 2839 of file MqContextC_py.c.
|
static |
Python:
→ C-API ctx.SendSTART()
initialize the send-data-package. …
Definition at line 2857 of file MqContextC_py.c.
|
static |
Python:
→ C-API ctx.SendSYNC()
garantee that all pending asynchronous-service-calls are processed. …
Definition at line 2871 of file MqContextC_py.c.