Loading...
Searching...
No Matches
MqContextC_ConfigApi_Interface_CC_API

MqContextC - various function to setup a interface for the contextMore...

+ Collaboration diagram for MqContextC_ConfigApi_Interface_CC_API:

Functions

void ccmqmsgque::MqContextC::ConfigSetBgError (MqBgErrorICB callback=NULL)
  C++: ctx.ConfigSetBgError(MqBgErrorICB MqBgErrorCCB MqBgErrorIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::BgError
 
void ccmqmsgque::MqContextC::ConfigSetBgError (MqBgErrorCCB callback=NULL)
  C++: ctx.ConfigSetBgError(MqBgErrorICB MqBgErrorCCB MqBgErrorIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::BgError
 
void ccmqmsgque::MqContextC::ConfigSetBgError (MqBgErrorIF *callback=NULL)
  C++: ctx.ConfigSetBgError(MqBgErrorICB MqBgErrorCCB MqBgErrorIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::BgError
 
void ccmqmsgque::MqContextC::ConfigSetEvent (MqEventICB callback=NULL)
  C++: ctx.ConfigSetEvent(MqEventICB MqEventCCB MqEventIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::Event
 
void ccmqmsgque::MqContextC::ConfigSetEvent (MqEventCCB callback=NULL)
  C++: ctx.ConfigSetEvent(MqEventICB MqEventCCB MqEventIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::Event
 
void ccmqmsgque::MqContextC::ConfigSetEvent (MqEventIF *callback=NULL)
  C++: ctx.ConfigSetEvent(MqEventICB MqEventCCB MqEventIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::Event
 
void ccmqmsgque::MqContextC::ConfigSetServerCleanup (MqServerCleanupICB callback=NULL)
  C++: ctx.ConfigSetServerCleanup(MqServerCleanupICB MqServerCleanupCCB MqServerCleanupIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::ServerCleanup
 
void ccmqmsgque::MqContextC::ConfigSetServerCleanup (MqServerCleanupCCB callback=NULL)
  C++: ctx.ConfigSetServerCleanup(MqServerCleanupICB MqServerCleanupCCB MqServerCleanupIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::ServerCleanup
 
void ccmqmsgque::MqContextC::ConfigSetServerCleanup (MqServerCleanupIF *callback=NULL)
  C++: ctx.ConfigSetServerCleanup(MqServerCleanupICB MqServerCleanupCCB MqServerCleanupIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::ServerCleanup
 
void ccmqmsgque::MqContextC::ConfigSetServerSetup (MqServerSetupICB callback=NULL)
  C++: ctx.ConfigSetServerSetup(MqServerSetupICB MqServerSetupCCB MqServerSetupIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::ServerSetup
 
void ccmqmsgque::MqContextC::ConfigSetServerSetup (MqServerSetupCCB callback=NULL)
  C++: ctx.ConfigSetServerSetup(MqServerSetupICB MqServerSetupCCB MqServerSetupIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::ServerSetup
 
void ccmqmsgque::MqContextC::ConfigSetServerSetup (MqServerSetupIF *callback=NULL)
  C++: ctx.ConfigSetServerSetup(MqServerSetupICB MqServerSetupCCB MqServerSetupIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::ServerSetup
 

Detailed Description

MqContextC - various function to setup a interface for the context

The "Setup"-Callback is special because this callback have to be callable by the server child and/or the slave context.

To distinguish the server child and slave the following functions are used:

The "Setup"-Callback is special because this callback have to be callable by the server child and/or the slave context.

To distinguish the server child and slave the following functions are used:

Function Documentation

◆ ConfigSetBgError() [1/3]

void ccmqmsgque::MqContextC::ConfigSetBgError ( MqBgErrorCCB callback = NULL)
inline

C++: ctx.ConfigSetBgError(MqBgErrorICB MqBgErrorCCB MqBgErrorIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::BgError

Definition at line 362 of file MqContextC_inline_cc.hh.

362 {
363 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
364 MkRtSetup_X(ctx);
365 auto fCall = MqBgErrorCallbackC::Call;
366 auto callback_ptr = MqBgErrorCallbackC::Create(MK_RT_CALL callback, this);
367 if (callback_ptr == NULL) fCall = NULL;
369 }
#define MK_NULL_NO
#define MK_UNUSED
#define MK_RT_CALL
#define MkRtSetup_X(x)
MQ_CTX getCTX(bool nullB=MK_NULL_NO) const
return the LibMsgqueObject from current MqContextC instance
#define MqConfigSetBgError(...)
static enum MkErrorE Call(MQ_SERVICE_CALL_ARGS)
Definition MqCall_cc.cc:81
static MK_CBP Create(MK_RT const mkrt, MqContextC::MqTokenICB const callback, MqContextC *self=NULL)
Definition MqCall_cc.hh:58
static void Copy(MQ_SERVICE_COPY_ARGS)
Definition MqCall_cc.cc:76
static void Free(MQ_SERVICE_FREE_ARGS)
Definition MqCall_cc.cc:70

◆ ConfigSetBgError() [2/3]

void ccmqmsgque::MqContextC::ConfigSetBgError ( MqBgErrorICB callback = NULL)
inline

C++: ctx.ConfigSetBgError(MqBgErrorICB MqBgErrorCCB MqBgErrorIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::BgError

Definition at line 352 of file MqContextC_inline_cc.hh.

352 {
353 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
354 MkRtSetup_X(ctx);
355 auto fCall = MqBgErrorCallbackC::Call;
356 auto callback_ptr = MqBgErrorCallbackC::Create(MK_RT_CALL callback, this);
357 if (callback_ptr == NULL) fCall = NULL;
359 }

◆ ConfigSetBgError() [3/3]

void ccmqmsgque::MqContextC::ConfigSetBgError ( MqBgErrorIF * callback = NULL)
inline

C++: ctx.ConfigSetBgError(MqBgErrorICB MqBgErrorCCB MqBgErrorIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::BgError

Definition at line 372 of file MqContextC_inline_cc.hh.

372 {
373 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
374 MkRtSetup_X(ctx);
375 auto fCall = MqBgErrorCallbackC::Call;
376 auto callback_ptr = MqBgErrorCallbackC::Create(MK_RT_CALL callback, this);
377 if (callback_ptr == NULL) fCall = NULL;
379 }

◆ ConfigSetEvent() [1/3]

void ccmqmsgque::MqContextC::ConfigSetEvent ( MqEventCCB callback = NULL)
inline

C++: ctx.ConfigSetEvent(MqEventICB MqEventCCB MqEventIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::Event

Definition at line 392 of file MqContextC_inline_cc.hh.

392 {
393 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
394 MkRtSetup_X(ctx);
395 auto fCall = MqServiceCallbackC::Call;
396 auto callback_ptr = MqEventCallbackC::Create(MK_RT_CALL callback, this);
397 if (callback_ptr == NULL) fCall = NULL;
399 }
#define MqConfigSetEvent(...)

◆ ConfigSetEvent() [2/3]

void ccmqmsgque::MqContextC::ConfigSetEvent ( MqEventICB callback = NULL)
inline

C++: ctx.ConfigSetEvent(MqEventICB MqEventCCB MqEventIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::Event

Definition at line 382 of file MqContextC_inline_cc.hh.

382 {
383 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
384 MkRtSetup_X(ctx);
385 auto fCall = MqServiceCallbackC::Call;
386 auto callback_ptr = MqEventCallbackC::Create(MK_RT_CALL callback, this);
387 if (callback_ptr == NULL) fCall = NULL;
389 }

◆ ConfigSetEvent() [3/3]

void ccmqmsgque::MqContextC::ConfigSetEvent ( MqEventIF * callback = NULL)
inline

C++: ctx.ConfigSetEvent(MqEventICB MqEventCCB MqEventIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::Event

Definition at line 402 of file MqContextC_inline_cc.hh.

402 {
403 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
404 MkRtSetup_X(ctx);
405 auto fCall = MqServiceCallbackC::Call;
406 auto callback_ptr = MqEventCallbackC::Create(MK_RT_CALL callback, this);
407 if (callback_ptr == NULL) fCall = NULL;
409 }

◆ ConfigSetServerCleanup() [1/3]

void ccmqmsgque::MqContextC::ConfigSetServerCleanup ( MqServerCleanupCCB callback = NULL)
inline

C++: ctx.ConfigSetServerCleanup(MqServerCleanupICB MqServerCleanupCCB MqServerCleanupIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::ServerCleanup

Definition at line 422 of file MqContextC_inline_cc.hh.

422 {
423 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
424 MkRtSetup_X(ctx);
425 auto fCall = MqServiceCallbackC::Call;
426 auto callback_ptr = MqServerCleanupCallbackC::Create(MK_RT_CALL callback, this);
427 if (callback_ptr == NULL) fCall = NULL;
429 }
#define MqConfigSetServerCleanup(...)

◆ ConfigSetServerCleanup() [2/3]

void ccmqmsgque::MqContextC::ConfigSetServerCleanup ( MqServerCleanupICB callback = NULL)
inline

C++: ctx.ConfigSetServerCleanup(MqServerCleanupICB MqServerCleanupCCB MqServerCleanupIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::ServerCleanup

Definition at line 412 of file MqContextC_inline_cc.hh.

412 {
413 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
414 MkRtSetup_X(ctx);
415 auto fCall = MqServiceCallbackC::Call;
416 auto callback_ptr = MqServerCleanupCallbackC::Create(MK_RT_CALL callback, this);
417 if (callback_ptr == NULL) fCall = NULL;
419 }

◆ ConfigSetServerCleanup() [3/3]

void ccmqmsgque::MqContextC::ConfigSetServerCleanup ( MqServerCleanupIF * callback = NULL)
inline

C++: ctx.ConfigSetServerCleanup(MqServerCleanupICB MqServerCleanupCCB MqServerCleanupIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::ServerCleanup

Definition at line 432 of file MqContextC_inline_cc.hh.

432 {
433 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
434 MkRtSetup_X(ctx);
435 auto fCall = MqServiceCallbackC::Call;
436 auto callback_ptr = MqServerCleanupCallbackC::Create(MK_RT_CALL callback, this);
437 if (callback_ptr == NULL) fCall = NULL;
439 }

◆ ConfigSetServerSetup() [1/3]

void ccmqmsgque::MqContextC::ConfigSetServerSetup ( MqServerSetupCCB callback = NULL)
inline

C++: ctx.ConfigSetServerSetup(MqServerSetupICB MqServerSetupCCB MqServerSetupIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::ServerSetup

Definition at line 452 of file MqContextC_inline_cc.hh.

452 {
453 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
454 MkRtSetup_X(ctx);
455 auto fCall = MqServiceCallbackC::Call;
456 auto callback_ptr = MqServerSetupCallbackC::Create(MK_RT_CALL callback, this);
457 if (callback_ptr == NULL) fCall = NULL;
459 }
#define MqConfigSetServerSetup(...)

◆ ConfigSetServerSetup() [2/3]

void ccmqmsgque::MqContextC::ConfigSetServerSetup ( MqServerSetupICB callback = NULL)
inline

C++: ctx.ConfigSetServerSetup(MqServerSetupICB MqServerSetupCCB MqServerSetupIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::ServerSetup

Definition at line 442 of file MqContextC_inline_cc.hh.

442 {
443 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
444 MkRtSetup_X(ctx);
445 auto fCall = MqServiceCallbackC::Call;
446 auto callback_ptr = MqServerSetupCallbackC::Create(MK_RT_CALL callback, this);
447 if (callback_ptr == NULL) fCall = NULL;
449 }

◆ ConfigSetServerSetup() [3/3]

void ccmqmsgque::MqContextC::ConfigSetServerSetup ( MqServerSetupIF * callback = NULL)
inline

C++: ctx.ConfigSetServerSetup(MqServerSetupICB MqServerSetupCCB MqServerSetupIF* callback = NULL) C-API
set the libmqmsgque::MqSetupS::ServerSetup

Definition at line 462 of file MqContextC_inline_cc.hh.

462 {
463 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
464 MkRtSetup_X(ctx);
465 auto fCall = MqServiceCallbackC::Call;
466 auto callback_ptr = MqServerSetupCallbackC::Create(MK_RT_CALL callback, this);
467 if (callback_ptr == NULL) fCall = NULL;
469 }