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) (libmkkernel::MK_TIMEOUT_DEFAULT=0 ) |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
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) (libmkkernel::MK_TIMEOUT_DEFAULT=0 ) |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
|
inline |
C++:
→ C-API ctx.SendEND(MQ_TOK token, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT)
MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service …
Definition at line 1864 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND(MQ_TOK token, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT)
MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service …
Definition at line 1856 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_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 1901 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_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 1882 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_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 1920 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_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 1892 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_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 1873 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_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 1911 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_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 1958 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_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 1939 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_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 1977 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_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 1949 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_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 1930 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_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 1968 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_TRANSACTION(MQ_TOK token, MQ_TOK callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT)
finish the send-data-block, call the remote service to do a longterm-transaction-call …
Definition at line 1995 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_TRANSACTION(MQ_TOK token, MQ_TOK callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT)
finish the send-data-block, call the remote service to do a longterm-transaction-call …
Definition at line 1987 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_WAIT(MQ_TOK token, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT)
finish the send-data-block, call the remote service and wait for result…
Definition at line 2013 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendEND_AND_WAIT(MQ_TOK token, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT)
finish the send-data-block, call the remote service and wait for result…
Definition at line 2005 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendSTART()
initialize the send-data-package. …
Definition at line 2022 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendSYNC()
garantee that all pending asynchronous-service-calls are processed. …
Definition at line 2030 of file MqContextC_inline_cc.hh.