theLink 10.0
Loading...
Searching...
No Matches
MqContextC_SendApi_Basics_CC_API

MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-serviceMore...

+ Collaboration diagram for MqContextC_SendApi_Basics_CC_API:

Functions

void ccmqmsgque::MqContextC::SendEND (MQ_TOK token, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND(MQ_TOK token, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service
 
void ccmqmsgque::MqContextC::SendEND (const std::string &token, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND(MQ_TOK token, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service
 
void ccmqmsgque::MqContextC::SendEND_AND_CALLBACK (MQ_TOK token, MqServiceCCB callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service, do not-wait for the result but expect the result on a callback
 
void ccmqmsgque::MqContextC::SendEND_AND_CALLBACK (const std::string &token, MqServiceCCB callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service, do not-wait for the result but expect the result on a callback
 
void ccmqmsgque::MqContextC::SendEND_AND_CALLBACK (MQ_TOK token, MqServiceICB callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service, do not-wait for the result but expect the result on a callback
 
void ccmqmsgque::MqContextC::SendEND_AND_CALLBACK (const std::string &token, MqServiceICB callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service, do not-wait for the result but expect the result on a callback
 
void ccmqmsgque::MqContextC::SendEND_AND_CALLBACK (MQ_TOK token, MqServiceIF *callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service, do not-wait for the result but expect the result on a callback
 
void ccmqmsgque::MqContextC::SendEND_AND_CALLBACK (const std::string &token, MqServiceIF *callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service, do not-wait for the result but expect the result on a callback
 
void ccmqmsgque::MqContextC::SendEND_AND_SUB (MQ_TOK token, MqServiceCCB callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service, do wait for the result and expect multiple sub-results on a callback
 
void ccmqmsgque::MqContextC::SendEND_AND_SUB (const std::string &token, MqServiceCCB callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service, do wait for the result and expect multiple sub-results on a callback
 
void ccmqmsgque::MqContextC::SendEND_AND_SUB (MQ_TOK token, MqServiceICB callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service, do wait for the result and expect multiple sub-results on a callback
 
void ccmqmsgque::MqContextC::SendEND_AND_SUB (const std::string &token, MqServiceICB callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service, do wait for the result and expect multiple sub-results on a callback
 
void ccmqmsgque::MqContextC::SendEND_AND_SUB (MQ_TOK token, MqServiceIF *callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service, do wait for the result and expect multiple sub-results on a callback
 
void ccmqmsgque::MqContextC::SendEND_AND_SUB (const std::string &token, MqServiceIF *callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service, do wait for the result and expect multiple sub-results on a callback
 
void ccmqmsgque::MqContextC::SendEND_AND_TRANSACTION (MQ_TOK token, MQ_TOK callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_TRANSACTION(MQ_TOK token, MQ_TOK callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service to do a longterm-transaction-call
 
void ccmqmsgque::MqContextC::SendEND_AND_TRANSACTION (const std::string &token, const std::string &callback, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_TRANSACTION(MQ_TOK token, MQ_TOK callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service to do a longterm-transaction-call
 
void ccmqmsgque::MqContextC::SendEND_AND_WAIT (MQ_TOK token, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_WAIT(MQ_TOK token, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service and wait for result…
 
void ccmqmsgque::MqContextC::SendEND_AND_WAIT (const std::string &token, MK_TIME_T timeout=MK_TIMEOUT_DEFAULT)
  C++: ctx.SendEND_AND_WAIT(MQ_TOK token, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service and wait for result…
 
void ccmqmsgque::MqContextC::SendSTART ()
  C++: ctx.SendSTART() C-API
initialize the send-data-package. …
 
void ccmqmsgque::MqContextC::SendSYNC ()
  C++: ctx.SendSYNC() C-API
garantee that all pending asynchronous-service-calls are processed. …
 

Detailed Description

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

  1. on a synchronous-service-call the error will be the result of the service-call
  2. on a asynchronous-service-call with callback the error will be the result of the callback
  3. on a asynchronous-service-call without callback the error will be send asynchronous from the server to the client . On the client the error will be raised on the NEXT event-handlng-command or as background-error if the libmqmsgque::MqSetupS::BgError function was defined.
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]tokenthe MqContextC SERVICE API to identify the service
[in]timeoutin seconds until a timeout-error is raised (possible values like ProcessEvent) (libmkkernel::MK_TIMEOUT_DEFAULT=0)
Exceptions
MkExceptionC→ The default-exception from the Programming-Language-Micro-Kernel (PLMK)
See also
MqSendSYNC

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

  1. on a synchronous-service-call the error will be the result of the service-call
  2. on a asynchronous-service-call with callback the error will be the result of the callback
  3. on a asynchronous-service-call without callback the error will be send asynchronous from the server to the client . On the client the error will be raised on the NEXT event-handlng-command or as background-error if the libmqmsgque::MqSetupS::BgError function was defined.
Parameters
[in]mkrtthe MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only)
[in]ctxthe MqContextS instance to work on
[in]tokenthe MqContextC SERVICE API to identify the service
[in]timeoutin seconds until a timeout-error is raised (possible values like ProcessEvent) (libmkkernel::MK_TIMEOUT_DEFAULT=0)
Exceptions
MkExceptionC→ The default-exception from the Programming-Language-Micro-Kernel (PLMK)
See also
MqSendSYNC

Function Documentation

◆ SendEND() [1/2]

void ccmqmsgque::MqContextC::SendEND ( const std::string & token,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND(MQ_TOK token, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service

Definition at line 1666 of file MqContextC_inline_cc.hh.

1666 {
1667 MK_UNUSED auto ctx = getCTX();
1668 const MK_STRN token_hdl = token.c_str();
1669 enum MkErrorE errVal = MqSendEND(ctx, token_hdl, timeout);
1670 MkErrorC_Check(ctx, errVal);
1671 }
#define MK_UNUSED
const MK_STRB * MK_STRN
MQ_CTX getCTX() const
return the LibMsgqueObject from current MqContextC instance
#define MqSendEND(...)

◆ SendEND() [2/2]

void ccmqmsgque::MqContextC::SendEND ( MQ_TOK token,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND(MQ_TOK token, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service

Definition at line 1659 of file MqContextC_inline_cc.hh.

1659 {
1660 MK_UNUSED auto ctx = getCTX();
1661 enum MkErrorE errVal = MqSendEND(ctx, token, timeout);
1662 MkErrorC_Check(ctx, errVal);
1663 }

◆ SendEND_AND_CALLBACK() [1/6]

void ccmqmsgque::MqContextC::SendEND_AND_CALLBACK ( const std::string & token,
MqServiceCCB callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1682 {
1683 MK_UNUSED auto ctx = getCTX();
1684 const MK_STRN token_hdl = token.c_str();
1685 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1686 enum MkErrorE errVal = MqSendEND_AND_CALLBACK(ctx, token_hdl, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1687 MkErrorC_Check(ctx, errVal);
1688 }
#define MK_RT_CALL
#define MqSendEND_AND_CALLBACK(...)
static MK_CBP Create(MK_RT mkrt, MqContextC::MqTokenICB const callback, MqContextC *self=NULL)
Definition MqCall_cc.hh:57
static enum MkErrorE Call(MQ_SERVICE_CALL_ARGS)
Definition MqCall_cc.cc:78
static void Free(MQ_SERVICE_FREE_ARGS)
Definition MqCall_cc.cc:67

◆ SendEND_AND_CALLBACK() [2/6]

void ccmqmsgque::MqContextC::SendEND_AND_CALLBACK ( const std::string & token,
MqServiceICB callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1699 {
1700 MK_UNUSED auto ctx = getCTX();
1701 const MK_STRN token_hdl = token.c_str();
1702 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1703 enum MkErrorE errVal = MqSendEND_AND_CALLBACK(ctx, token_hdl, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1704 MkErrorC_Check(ctx, errVal);
1705 }

◆ SendEND_AND_CALLBACK() [3/6]

void ccmqmsgque::MqContextC::SendEND_AND_CALLBACK ( const std::string & token,
MqServiceIF * callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1716 {
1717 MK_UNUSED auto ctx = getCTX();
1718 const MK_STRN token_hdl = token.c_str();
1719 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1720 enum MkErrorE errVal = MqSendEND_AND_CALLBACK(ctx, token_hdl, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1721 MkErrorC_Check(ctx, errVal);
1722 }

◆ SendEND_AND_CALLBACK() [4/6]

void ccmqmsgque::MqContextC::SendEND_AND_CALLBACK ( MQ_TOK token,
MqServiceCCB callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1674 {
1675 MK_UNUSED auto ctx = getCTX();
1676 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1677 enum MkErrorE errVal = MqSendEND_AND_CALLBACK(ctx, token, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1678 MkErrorC_Check(ctx, errVal);
1679 }

◆ SendEND_AND_CALLBACK() [5/6]

void ccmqmsgque::MqContextC::SendEND_AND_CALLBACK ( MQ_TOK token,
MqServiceICB callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1691 {
1692 MK_UNUSED auto ctx = getCTX();
1693 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1694 enum MkErrorE errVal = MqSendEND_AND_CALLBACK(ctx, token, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1695 MkErrorC_Check(ctx, errVal);
1696 }

◆ SendEND_AND_CALLBACK() [6/6]

void ccmqmsgque::MqContextC::SendEND_AND_CALLBACK ( MQ_TOK token,
MqServiceIF * callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_CALLBACK(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1708 {
1709 MK_UNUSED auto ctx = getCTX();
1710 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1711 enum MkErrorE errVal = MqSendEND_AND_CALLBACK(ctx, token, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1712 MkErrorC_Check(ctx, errVal);
1713 }

◆ SendEND_AND_SUB() [1/6]

void ccmqmsgque::MqContextC::SendEND_AND_SUB ( const std::string & token,
MqServiceCCB callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1733 {
1734 MK_UNUSED auto ctx = getCTX();
1735 const MK_STRN token_hdl = token.c_str();
1736 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1737 enum MkErrorE errVal = MqSendEND_AND_SUB(ctx, token_hdl, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1738 MkErrorC_Check(ctx, errVal);
1739 }
#define MqSendEND_AND_SUB(...)

◆ SendEND_AND_SUB() [2/6]

void ccmqmsgque::MqContextC::SendEND_AND_SUB ( const std::string & token,
MqServiceICB callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1750 {
1751 MK_UNUSED auto ctx = getCTX();
1752 const MK_STRN token_hdl = token.c_str();
1753 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1754 enum MkErrorE errVal = MqSendEND_AND_SUB(ctx, token_hdl, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1755 MkErrorC_Check(ctx, errVal);
1756 }

◆ SendEND_AND_SUB() [3/6]

void ccmqmsgque::MqContextC::SendEND_AND_SUB ( const std::string & token,
MqServiceIF * callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1767 {
1768 MK_UNUSED auto ctx = getCTX();
1769 const MK_STRN token_hdl = token.c_str();
1770 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1771 enum MkErrorE errVal = MqSendEND_AND_SUB(ctx, token_hdl, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1772 MkErrorC_Check(ctx, errVal);
1773 }

◆ SendEND_AND_SUB() [4/6]

void ccmqmsgque::MqContextC::SendEND_AND_SUB ( MQ_TOK token,
MqServiceCCB callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1725 {
1726 MK_UNUSED auto ctx = getCTX();
1727 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1728 enum MkErrorE errVal = MqSendEND_AND_SUB(ctx, token, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1729 MkErrorC_Check(ctx, errVal);
1730 }

◆ SendEND_AND_SUB() [5/6]

void ccmqmsgque::MqContextC::SendEND_AND_SUB ( MQ_TOK token,
MqServiceICB callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1742 {
1743 MK_UNUSED auto ctx = getCTX();
1744 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1745 enum MkErrorE errVal = MqSendEND_AND_SUB(ctx, token, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1746 MkErrorC_Check(ctx, errVal);
1747 }

◆ SendEND_AND_SUB() [6/6]

void ccmqmsgque::MqContextC::SendEND_AND_SUB ( MQ_TOK token,
MqServiceIF * callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_SUB(MQ_TOK token, MqServiceICB MqServiceCCB MqServiceIF* callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1759 {
1760 MK_UNUSED auto ctx = getCTX();
1761 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1762 enum MkErrorE errVal = MqSendEND_AND_SUB(ctx, token, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1763 MkErrorC_Check(ctx, errVal);
1764 }

◆ SendEND_AND_TRANSACTION() [1/2]

void ccmqmsgque::MqContextC::SendEND_AND_TRANSACTION ( const std::string & token,
const std::string & callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_TRANSACTION(MQ_TOK token, MQ_TOK callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1783 {
1784 MK_UNUSED auto ctx = getCTX();
1785 const MK_STRN token_hdl = token.c_str();
1786 const MK_STRN callback_hdl = callback.c_str();
1787 enum MkErrorE errVal = MqSendEND_AND_TRANSACTION(ctx, token_hdl, callback_hdl, timeout);
1788 MkErrorC_Check(ctx, errVal);
1789 }
#define MqSendEND_AND_TRANSACTION(...)

◆ SendEND_AND_TRANSACTION() [2/2]

void ccmqmsgque::MqContextC::SendEND_AND_TRANSACTION ( MQ_TOK token,
MQ_TOK callback,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_TRANSACTION(MQ_TOK token, MQ_TOK callback, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
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.

1776 {
1777 MK_UNUSED auto ctx = getCTX();
1778 enum MkErrorE errVal = MqSendEND_AND_TRANSACTION(ctx, token, callback, timeout);
1779 MkErrorC_Check(ctx, errVal);
1780 }

◆ SendEND_AND_WAIT() [1/2]

void ccmqmsgque::MqContextC::SendEND_AND_WAIT ( const std::string & token,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_WAIT(MQ_TOK token, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service and wait for result…

Definition at line 1799 of file MqContextC_inline_cc.hh.

1799 {
1800 MK_UNUSED auto ctx = getCTX();
1801 const MK_STRN token_hdl = token.c_str();
1802 enum MkErrorE errVal = MqSendEND_AND_WAIT(ctx, token_hdl, timeout);
1803 MkErrorC_Check(ctx, errVal);
1804 }
#define MqSendEND_AND_WAIT(...)

◆ SendEND_AND_WAIT() [2/2]

void ccmqmsgque::MqContextC::SendEND_AND_WAIT ( MQ_TOK token,
MK_TIME_T timeout = MK_TIMEOUT_DEFAULT )
inline

C++: ctx.SendEND_AND_WAIT(MQ_TOK token, MK_TIME_T timeout = MK_TIMEOUT_DEFAULT) C-API
finish the send-data-block, call the remote service and wait for result…

Definition at line 1792 of file MqContextC_inline_cc.hh.

1792 {
1793 MK_UNUSED auto ctx = getCTX();
1794 enum MkErrorE errVal = MqSendEND_AND_WAIT(ctx, token, timeout);
1795 MkErrorC_Check(ctx, errVal);
1796 }
+ Here is the caller graph for this function:

◆ SendSTART()

void ccmqmsgque::MqContextC::SendSTART ( )
inline

C++: ctx.SendSTART() C-API
initialize the send-data-package. …

Definition at line 1807 of file MqContextC_inline_cc.hh.

1807 {
1808 MK_UNUSED auto ctx = getCTX();
1809 enum MkErrorE errVal = MqSendSTART(ctx);
1810 MkErrorC_Check(ctx, errVal);
1811 }
#define MqSendSTART(...)
+ Here is the caller graph for this function:

◆ SendSYNC()

void ccmqmsgque::MqContextC::SendSYNC ( )
inline

C++: ctx.SendSYNC() C-API
garantee that all pending asynchronous-service-calls are processed. …

Definition at line 1814 of file MqContextC_inline_cc.hh.

1814 {
1815 MK_UNUSED auto ctx = getCTX();
1816 enum MkErrorE errVal = MqSendSYNC(ctx);
1817 MkErrorC_Check(ctx, errVal);
1818 }
#define MqSendSYNC(...)