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 1666 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 1659 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 1682 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 1699 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 1716 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 1674 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 1691 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 1708 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 1733 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 1750 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 1767 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 1725 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 1742 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 1759 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 1783 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 1776 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 1799 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 1792 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendSTART()
initialize the send-data-package. …
Definition at line 1807 of file MqContextC_inline_cc.hh.
|
inline |
C++:
→ C-API ctx.SendSYNC()
garantee that all pending asynchronous-service-calls are processed. …
Definition at line 1814 of file MqContextC_inline_cc.hh.