theLink 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - cs - py - rb - jv - cc
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 1842 of file MqContextC_inline_cc.hh.

1842 {
1843 MK_UNUSED auto ctx = getCTX();
1844 MkRtSetup_X(ctx);
1845 const MK_STRN token_hdl = token.c_str();
1846 enum MkErrorE errVal = MqSendEND(ctx, token_hdl, timeout);
1847 MkErrorC_Check(ctx, errVal);
1848 }
#define MK_UNUSED
const MK_STRB * MK_STRN
#define MkRtSetup_X(x)
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 1834 of file MqContextC_inline_cc.hh.

1834 {
1835 MK_UNUSED auto ctx = getCTX();
1836 MkRtSetup_X(ctx);
1837 enum MkErrorE errVal = MqSendEND(ctx, token, timeout);
1838 MkErrorC_Check(ctx, errVal);
1839 }

◆ 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 1860 of file MqContextC_inline_cc.hh.

1860 {
1861 MK_UNUSED auto ctx = getCTX();
1862 MkRtSetup_X(ctx);
1863 const MK_STRN token_hdl = token.c_str();
1864 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1865 enum MkErrorE errVal = MqSendEND_AND_CALLBACK(ctx, token_hdl, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1866 MkErrorC_Check(ctx, errVal);
1867 }
#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:60
static enum MkErrorE Call(MQ_SERVICE_CALL_ARGS)
Definition MqCall_cc.cc:81
static void Free(MQ_SERVICE_FREE_ARGS)
Definition MqCall_cc.cc:70

◆ 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 1879 of file MqContextC_inline_cc.hh.

1879 {
1880 MK_UNUSED auto ctx = getCTX();
1881 MkRtSetup_X(ctx);
1882 const MK_STRN token_hdl = token.c_str();
1883 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1884 enum MkErrorE errVal = MqSendEND_AND_CALLBACK(ctx, token_hdl, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1885 MkErrorC_Check(ctx, errVal);
1886 }

◆ 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 1898 of file MqContextC_inline_cc.hh.

1898 {
1899 MK_UNUSED auto ctx = getCTX();
1900 MkRtSetup_X(ctx);
1901 const MK_STRN token_hdl = token.c_str();
1902 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1903 enum MkErrorE errVal = MqSendEND_AND_CALLBACK(ctx, token_hdl, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1904 MkErrorC_Check(ctx, errVal);
1905 }

◆ 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 1851 of file MqContextC_inline_cc.hh.

1851 {
1852 MK_UNUSED auto ctx = getCTX();
1853 MkRtSetup_X(ctx);
1854 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1855 enum MkErrorE errVal = MqSendEND_AND_CALLBACK(ctx, token, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1856 MkErrorC_Check(ctx, errVal);
1857 }

◆ 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 1870 of file MqContextC_inline_cc.hh.

1870 {
1871 MK_UNUSED auto ctx = getCTX();
1872 MkRtSetup_X(ctx);
1873 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1874 enum MkErrorE errVal = MqSendEND_AND_CALLBACK(ctx, token, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1875 MkErrorC_Check(ctx, errVal);
1876 }

◆ 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 1889 of file MqContextC_inline_cc.hh.

1889 {
1890 MK_UNUSED auto ctx = getCTX();
1891 MkRtSetup_X(ctx);
1892 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1893 enum MkErrorE errVal = MqSendEND_AND_CALLBACK(ctx, token, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1894 MkErrorC_Check(ctx, errVal);
1895 }

◆ 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 1917 of file MqContextC_inline_cc.hh.

1917 {
1918 MK_UNUSED auto ctx = getCTX();
1919 MkRtSetup_X(ctx);
1920 const MK_STRN token_hdl = token.c_str();
1921 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1922 enum MkErrorE errVal = MqSendEND_AND_SUB(ctx, token_hdl, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1923 MkErrorC_Check(ctx, errVal);
1924 }
#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 1936 of file MqContextC_inline_cc.hh.

1936 {
1937 MK_UNUSED auto ctx = getCTX();
1938 MkRtSetup_X(ctx);
1939 const MK_STRN token_hdl = token.c_str();
1940 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1941 enum MkErrorE errVal = MqSendEND_AND_SUB(ctx, token_hdl, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1942 MkErrorC_Check(ctx, errVal);
1943 }

◆ 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 1955 of file MqContextC_inline_cc.hh.

1955 {
1956 MK_UNUSED auto ctx = getCTX();
1957 MkRtSetup_X(ctx);
1958 const MK_STRN token_hdl = token.c_str();
1959 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1960 enum MkErrorE errVal = MqSendEND_AND_SUB(ctx, token_hdl, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1961 MkErrorC_Check(ctx, errVal);
1962 }

◆ 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 1908 of file MqContextC_inline_cc.hh.

1908 {
1909 MK_UNUSED auto ctx = getCTX();
1910 MkRtSetup_X(ctx);
1911 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1912 enum MkErrorE errVal = MqSendEND_AND_SUB(ctx, token, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1913 MkErrorC_Check(ctx, errVal);
1914 }

◆ 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 1927 of file MqContextC_inline_cc.hh.

1927 {
1928 MK_UNUSED auto ctx = getCTX();
1929 MkRtSetup_X(ctx);
1930 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1931 enum MkErrorE errVal = MqSendEND_AND_SUB(ctx, token, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1932 MkErrorC_Check(ctx, errVal);
1933 }

◆ 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 1946 of file MqContextC_inline_cc.hh.

1946 {
1947 MK_UNUSED auto ctx = getCTX();
1948 MkRtSetup_X(ctx);
1949 auto callback_ptr = MqServiceCallbackC::Create(MK_RT_CALL callback, this);
1950 enum MkErrorE errVal = MqSendEND_AND_SUB(ctx, token, MqServiceCallbackC::Call, callback_ptr, MqServiceCallbackC::Free, timeout);
1951 MkErrorC_Check(ctx, errVal);
1952 }

◆ 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 1973 of file MqContextC_inline_cc.hh.

1973 {
1974 MK_UNUSED auto ctx = getCTX();
1975 MkRtSetup_X(ctx);
1976 const MK_STRN token_hdl = token.c_str();
1977 const MK_STRN callback_hdl = callback.c_str();
1978 enum MkErrorE errVal = MqSendEND_AND_TRANSACTION(ctx, token_hdl, callback_hdl, timeout);
1979 MkErrorC_Check(ctx, errVal);
1980 }
#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 1965 of file MqContextC_inline_cc.hh.

1965 {
1966 MK_UNUSED auto ctx = getCTX();
1967 MkRtSetup_X(ctx);
1968 enum MkErrorE errVal = MqSendEND_AND_TRANSACTION(ctx, token, callback, timeout);
1969 MkErrorC_Check(ctx, errVal);
1970 }

◆ 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 1991 of file MqContextC_inline_cc.hh.

1991 {
1992 MK_UNUSED auto ctx = getCTX();
1993 MkRtSetup_X(ctx);
1994 const MK_STRN token_hdl = token.c_str();
1995 enum MkErrorE errVal = MqSendEND_AND_WAIT(ctx, token_hdl, timeout);
1996 MkErrorC_Check(ctx, errVal);
1997 }
#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 1983 of file MqContextC_inline_cc.hh.

1983 {
1984 MK_UNUSED auto ctx = getCTX();
1985 MkRtSetup_X(ctx);
1986 enum MkErrorE errVal = MqSendEND_AND_WAIT(ctx, token, timeout);
1987 MkErrorC_Check(ctx, errVal);
1988 }
+ 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 2000 of file MqContextC_inline_cc.hh.

2000 {
2001 MK_UNUSED auto ctx = getCTX();
2002 MkRtSetup_X(ctx);
2003 enum MkErrorE errVal = MqSendSTART(ctx);
2004 MkErrorC_Check(ctx, errVal);
2005 }
#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 2008 of file MqContextC_inline_cc.hh.

2008 {
2009 MK_UNUSED auto ctx = getCTX();
2010 MkRtSetup_X(ctx);
2011 enum MkErrorE errVal = MqSendSYNC(ctx);
2012 MkErrorC_Check(ctx, errVal);
2013 }
#define MqSendSYNC(...)