theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ConfigApi_Set_CC_API

MqContextC - various function to 'set' the configuration-data in a contextMore...

+ Collaboration diagram for MqContextC_ConfigApi_Set_CC_API:

Functions

MK_BOOL ccmqmsgque::MqContextC::ConfigCheckStartAs (MqStartE data)
  C++: MK_BOOL ctx.ConfigCheckStartAs(MqStartE data) C-API
check if libmqmsgque::MqConfigS::startAs can be set to data
 
void ccmqmsgque::MqContextC::ConfigSetAllDebug (MK_I32 data)
  C++: ctx.ConfigSetAllDebug(MK_I32 data) C-API
set the MkRuntimeS::debug value
 
void ccmqmsgque::MqContextC::ConfigSetBuffersize (MK_I32 data)
  C++: ctx.ConfigSetBuffersize(MK_I32 data) C-API
set the libmqmsgque::MqIoConfigS::buffersize value
 
void ccmqmsgque::MqContextC::ConfigSetDaemon (MK_STRN pidfile)
  C++: ctx.ConfigSetDaemon(MK_STRN pidfile) C-API
start the server-context as daemon …
 
void ccmqmsgque::MqContextC::ConfigSetDaemon (const std::string &pidfile)
  C++: ctx.ConfigSetDaemon(MK_STRN pidfile) C-API
start the server-context as daemon …
 
void ccmqmsgque::MqContextC::ConfigSetIdentFrom (MqIdentE data)
  C++: ctx.ConfigSetIdentFrom(MqIdentE data) C-API
set the libmqmsgque::MqConfigS::identFrom value
 
void ccmqmsgque::MqContextC::ConfigSetIgnoreExit (MK_BOOL data)
  C++: ctx.ConfigSetIgnoreExit(MK_BOOL data) C-API
set the libmqmsgque::MqSetupS::ignoreExit value
 
void ccmqmsgque::MqContextC::ConfigSetIoPipe (MQ_SOCK_HDL fh)
  C++: ctx.ConfigSetIoPipe(MQ_SOCK_HDL fh) C-API
set the pipe configuration data …
 
void ccmqmsgque::MqContextC::ConfigSetIoTcp (MK_STRN host=NULL, MK_STRN port=NULL, MK_STRN myhost=NULL, MK_STRN myport=NULL)
  C++: ctx.ConfigSetIoTcp(MK_STRN host = NULL, MK_STRN port = NULL, MK_STRN myhost = NULL, MK_STRN myport = NULL) C-API
configure a context to use a tcp-client-server-link
 
void ccmqmsgque::MqContextC::ConfigSetIoTcp (MkBufferListC *vals)
  C++: ctx.ConfigSetIoTcp(MkBufferListC* vals) C-API
configure a context to use a tcp-client-server-link
 
void ccmqmsgque::MqContextC::ConfigSetIoTcp (const MkBufferListC &vals)
  C++: ctx.ConfigSetIoTcp(MkBufferListC* vals) C-API
configure a context to use a tcp-client-server-link
 
void ccmqmsgque::MqContextC::ConfigSetIoUds (MK_STRN file)
  C++: ctx.ConfigSetIoUds(MK_STRN file) C-API
configure a context to use a uds-client-server-link
 
void ccmqmsgque::MqContextC::ConfigSetIoUds (const std::string &file)
  C++: ctx.ConfigSetIoUds(MK_STRN file) C-API
configure a context to use a uds-client-server-link
 
void ccmqmsgque::MqContextC::ConfigSetIsServer (MK_BOOL data)
  C++: ctx.ConfigSetIsServer(MK_BOOL data) C-API
set the libmqmsgque::MqSetupS::isServer value
 
void ccmqmsgque::MqContextC::ConfigSetIsString (MK_BOOL data)
  C++: ctx.ConfigSetIsString(MK_BOOL data) C-API
set the libmqmsgque::MqConfigS::native value 'S'string or 'L'owEndian or 'B'igEndian
 
void ccmqmsgque::MqContextC::ConfigSetName (MK_STRN data)
  C++: ctx.ConfigSetName(MK_STRN data) C-API
set the libmqmsgque::MqConfigS::dispName value and cleanup old value
 
void ccmqmsgque::MqContextC::ConfigSetName (const std::string &data)
  C++: ctx.ConfigSetName(MK_STRN data) C-API
set the libmqmsgque::MqConfigS::dispName value and cleanup old value
 
void ccmqmsgque::MqContextC::ConfigSetPkgsize (MK_I32 data)
  C++: ctx.ConfigSetPkgsize(MK_I32 data) C-API
set the libmqmsgque::MqIoConfigS::pkgsize value
 
void ccmqmsgque::MqContextC::ConfigSetPostfix (MK_STRN data)
  C++: ctx.ConfigSetPostfix(MK_STRN data) C-API
set the client-part (2) of the application-identifer libmqmsgque::MqConfigS::dispName
 
void ccmqmsgque::MqContextC::ConfigSetPostfix (const std::string &data)
  C++: ctx.ConfigSetPostfix(MK_STRN data) C-API
set the client-part (2) of the application-identifer libmqmsgque::MqConfigS::dispName
 
void ccmqmsgque::MqContextC::ConfigSetPrefix (MK_STRN data)
  C++: ctx.ConfigSetPrefix(MK_STRN data) C-API
set the server-part (1) of the application-identifer libmqmsgque::MqConfigS::dispName
 
void ccmqmsgque::MqContextC::ConfigSetPrefix (const std::string &data)
  C++: ctx.ConfigSetPrefix(MK_STRN data) C-API
set the server-part (1) of the application-identifer libmqmsgque::MqConfigS::dispName
 
void ccmqmsgque::MqContextC::ConfigSetStartAs (MqStartE data)
  C++: ctx.ConfigSetStartAs(MqStartE data) C-API
set the libmqmsgque::MqConfigS::startAs value
 
void ccmqmsgque::MqContextC::ConfigSetStartAsString (MK_STRN data)
  C++: ctx.ConfigSetStartAsString(MK_STRN data) C-API
set the libmqmsgque::MqConfigS::startAs value using string default, thread, fork or spawn
 
void ccmqmsgque::MqContextC::ConfigSetStartAsString (const std::string &data)
  C++: ctx.ConfigSetStartAsString(MK_STRN data) C-API
set the libmqmsgque::MqConfigS::startAs value using string default, thread, fork or spawn
 
void ccmqmsgque::MqContextC::ConfigSetStorage (MK_STRN data)
  C++: ctx.ConfigSetStorage(MK_STRN data) C-API
set the Storage value and cleanup old value
 
void ccmqmsgque::MqContextC::ConfigSetStorage (const std::string &data)
  C++: ctx.ConfigSetStorage(MK_STRN data) C-API
set the Storage value and cleanup old value
 
void ccmqmsgque::MqContextC::ConfigSetTimeout (MK_TIME_T data)
  C++: ctx.ConfigSetTimeout(MK_TIME_T data) C-API
set the libmqmsgque::MqIoConfigS::timeout value
 

Detailed Description

MqContextC - various function to 'set' the configuration-data in a context

Function Documentation

◆ ConfigCheckStartAs()

MK_BOOL ccmqmsgque::MqContextC::ConfigCheckStartAs ( MqStartE data)
inline

C++: MK_BOOL ctx.ConfigCheckStartAs(MqStartE data) C-API
check if libmqmsgque::MqConfigS::startAs can be set to data

Definition at line 455 of file MqContextC_inline_cc.hh.

455 {
456 MK_UNUSED auto ctx = getCTX();
457 MK_BOOL __retVal__L = MqConfigCheckStartAs(ctx, data);
458 return __retVal__L;
459 }
#define MK_UNUSED
MQ_CTX getCTX() const
return the LibMsgqueObject from current MqContextC instance
bool MqConfigCheckStartAs(MQ_CTX const ctx, enum MqStartE data)
check if libmqmsgque::MqConfigS::startAs can be set to data

◆ ConfigSetAllDebug()

void ccmqmsgque::MqContextC::ConfigSetAllDebug ( MK_I32 data)
inline

C++: ctx.ConfigSetAllDebug(MK_I32 data) C-API
set the MkRuntimeS::debug value

Definition at line 462 of file MqContextC_inline_cc.hh.

462 {
463 MK_UNUSED auto ctx = getCTX();
464 enum MkErrorE errVal = MqConfigSetAllDebug(ctx, data);
465 MkErrorC_Check(ctx, errVal);
466 }
#define MqConfigSetAllDebug(...)

◆ ConfigSetBuffersize()

void ccmqmsgque::MqContextC::ConfigSetBuffersize ( MK_I32 data)
inline

C++: ctx.ConfigSetBuffersize(MK_I32 data) C-API
set the libmqmsgque::MqIoConfigS::buffersize value

Definition at line 469 of file MqContextC_inline_cc.hh.

469 {
470 MK_UNUSED auto ctx = getCTX();
471 MqConfigSetBuffersize(ctx, data);
472 }
void MqConfigSetBuffersize(MQ_CTX const ctx, MK_I32 data)
set the libmqmsgque::MqIoConfigS::buffersize value

◆ ConfigSetDaemon() [1/2]

void ccmqmsgque::MqContextC::ConfigSetDaemon ( const std::string & pidfile)
inline

C++: ctx.ConfigSetDaemon(MK_STRN pidfile) C-API
start the server-context as daemon …

Definition at line 482 of file MqContextC_inline_cc.hh.

482 {
483 MK_UNUSED auto ctx = getCTX();
484 const MK_STRN pidfile_hdl = pidfile.c_str();
485 enum MkErrorE errVal = MqConfigSetDaemon(ctx, pidfile_hdl);
486 MkErrorC_Check(ctx, errVal);
487 }
const MK_STRB * MK_STRN
#define MqConfigSetDaemon(...)

◆ ConfigSetDaemon() [2/2]

void ccmqmsgque::MqContextC::ConfigSetDaemon ( MK_STRN pidfile)
inline

C++: ctx.ConfigSetDaemon(MK_STRN pidfile) C-API
start the server-context as daemon …

Definition at line 475 of file MqContextC_inline_cc.hh.

475 {
476 MK_UNUSED auto ctx = getCTX();
477 enum MkErrorE errVal = MqConfigSetDaemon(ctx, pidfile);
478 MkErrorC_Check(ctx, errVal);
479 }

◆ ConfigSetIdentFrom()

void ccmqmsgque::MqContextC::ConfigSetIdentFrom ( MqIdentE data)
inline

C++: ctx.ConfigSetIdentFrom(MqIdentE data) C-API
set the libmqmsgque::MqConfigS::identFrom value

Definition at line 490 of file MqContextC_inline_cc.hh.

490 {
491 MK_UNUSED auto ctx = getCTX();
492 MqConfigSetIdentFrom(ctx, data);
493 }
void MqConfigSetIdentFrom(MQ_CTX const ctx, enum MqIdentE data)
set the libmqmsgque::MqConfigS::identFrom value

◆ ConfigSetIgnoreExit()

void ccmqmsgque::MqContextC::ConfigSetIgnoreExit ( MK_BOOL data)
inline

C++: ctx.ConfigSetIgnoreExit(MK_BOOL data) C-API
set the libmqmsgque::MqSetupS::ignoreExit value

Definition at line 496 of file MqContextC_inline_cc.hh.

496 {
497 MK_UNUSED auto ctx = getCTX();
498 MqConfigSetIgnoreExit(ctx, data);
499 }
void MqConfigSetIgnoreExit(MQ_CTX const ctx, bool data)
set the libmqmsgque::MqSetupS::ignoreExit value
+ Here is the caller graph for this function:

◆ ConfigSetIoPipe()

void ccmqmsgque::MqContextC::ConfigSetIoPipe ( MQ_SOCK_HDL fh)
inline

C++: ctx.ConfigSetIoPipe(MQ_SOCK_HDL fh) C-API
set the pipe configuration data …

Definition at line 502 of file MqContextC_inline_cc.hh.

502 {
503 MK_UNUSED auto ctx = getCTX();
504 enum MkErrorE errVal = MqConfigSetIoPipe(ctx, fh);
505 MkErrorC_Check(ctx, errVal);
506 }
#define MqConfigSetIoPipe(...)

◆ ConfigSetIoTcp() [1/3]

void ccmqmsgque::MqContextC::ConfigSetIoTcp ( const MkBufferListC & vals)
inline

C++: ctx.ConfigSetIoTcp(MkBufferListC* vals) C-API
configure a context to use a tcp-client-server-link

Definition at line 524 of file MqContextC_inline_cc.hh.

524 {
525 MK_UNUSED auto ctx = getCTX();
526 const MK_BFL vals_hdl = MkBufferListC::getBFL(vals);
527 enum MkErrorE errVal = MqConfigSetIoTcpL(ctx, vals_hdl);
528 MkErrorC_Check(ctx, errVal);
529 }
struct MkBufferListS * MK_BFL
#define MqConfigSetIoTcpL(...)

◆ ConfigSetIoTcp() [2/3]

void ccmqmsgque::MqContextC::ConfigSetIoTcp ( MK_STRN host = NULL,
MK_STRN port = NULL,
MK_STRN myhost = NULL,
MK_STRN myport = NULL )
inline

C++: ctx.ConfigSetIoTcp(MK_STRN host = NULL, MK_STRN port = NULL, MK_STRN myhost = NULL, MK_STRN myport = NULL) C-API
configure a context to use a tcp-client-server-link

Definition at line 509 of file MqContextC_inline_cc.hh.

509 {
510 MK_UNUSED auto ctx = getCTX();
511 enum MkErrorE errVal = MqConfigSetIoTcp(ctx, host, port, myhost, myport);
512 MkErrorC_Check(ctx, errVal);
513 }
#define MqConfigSetIoTcp(...)

◆ ConfigSetIoTcp() [3/3]

void ccmqmsgque::MqContextC::ConfigSetIoTcp ( MkBufferListC * vals)
inline

C++: ctx.ConfigSetIoTcp(MkBufferListC* vals) C-API
configure a context to use a tcp-client-server-link

Definition at line 516 of file MqContextC_inline_cc.hh.

516 {
517 MK_UNUSED auto ctx = getCTX();
518 MK_BFL vals_hdl = MkBufferListC::getBFL(vals);
519 enum MkErrorE errVal = MqConfigSetIoTcpL(ctx, vals_hdl);
520 MkErrorC_Check(ctx, errVal);
521 }

◆ ConfigSetIoUds() [1/2]

void ccmqmsgque::MqContextC::ConfigSetIoUds ( const std::string & file)
inline

C++: ctx.ConfigSetIoUds(MK_STRN file) C-API
configure a context to use a uds-client-server-link

Definition at line 539 of file MqContextC_inline_cc.hh.

539 {
540 MK_UNUSED auto ctx = getCTX();
541 const MK_STRN file_hdl = file.c_str();
542 enum MkErrorE errVal = MqConfigSetIoUds(ctx, file_hdl);
543 MkErrorC_Check(ctx, errVal);
544 }
#define MqConfigSetIoUds(...)

◆ ConfigSetIoUds() [2/2]

void ccmqmsgque::MqContextC::ConfigSetIoUds ( MK_STRN file)
inline

C++: ctx.ConfigSetIoUds(MK_STRN file) C-API
configure a context to use a uds-client-server-link

Definition at line 532 of file MqContextC_inline_cc.hh.

532 {
533 MK_UNUSED auto ctx = getCTX();
534 enum MkErrorE errVal = MqConfigSetIoUds(ctx, file);
535 MkErrorC_Check(ctx, errVal);
536 }

◆ ConfigSetIsServer()

void ccmqmsgque::MqContextC::ConfigSetIsServer ( MK_BOOL data)
inline

C++: ctx.ConfigSetIsServer(MK_BOOL data) C-API
set the libmqmsgque::MqSetupS::isServer value

Definition at line 547 of file MqContextC_inline_cc.hh.

547 {
548 MK_UNUSED auto ctx = getCTX();
549 MqConfigSetIsServer(ctx, data);
550 }
void MqConfigSetIsServer(MQ_CTX const ctx, bool data)
set the libmqmsgque::MqSetupS::isServer value
+ Here is the caller graph for this function:

◆ ConfigSetIsString()

void ccmqmsgque::MqContextC::ConfigSetIsString ( MK_BOOL data)
inline

C++: ctx.ConfigSetIsString(MK_BOOL data) C-API
set the libmqmsgque::MqConfigS::native value 'S'string or 'L'owEndian or 'B'igEndian

Definition at line 553 of file MqContextC_inline_cc.hh.

553 {
554 MK_UNUSED auto ctx = getCTX();
555 MqConfigSetIsString(ctx, data);
556 }
void MqConfigSetIsString(MQ_CTX const ctx, bool data)
set the libmqmsgque::MqConfigS::native value 'S'string or 'L'owEndian or 'B'igEndian

◆ ConfigSetName() [1/2]

void ccmqmsgque::MqContextC::ConfigSetName ( const std::string & data)
inline

C++: ctx.ConfigSetName(MK_STRN data) C-API
set the libmqmsgque::MqConfigS::dispName value and cleanup old value

Definition at line 565 of file MqContextC_inline_cc.hh.

565 {
566 MK_UNUSED auto ctx = getCTX();
567 const MK_STRN data_hdl = data.c_str();
568 MqConfigSetName(ctx, data_hdl);
569 }
#define MqConfigSetName(...)

◆ ConfigSetName() [2/2]

void ccmqmsgque::MqContextC::ConfigSetName ( MK_STRN data)
inline

C++: ctx.ConfigSetName(MK_STRN data) C-API
set the libmqmsgque::MqConfigS::dispName value and cleanup old value

Definition at line 559 of file MqContextC_inline_cc.hh.

559 {
560 MK_UNUSED auto ctx = getCTX();
561 MqConfigSetName(ctx, data);
562 }
+ Here is the caller graph for this function:

◆ ConfigSetPkgsize()

void ccmqmsgque::MqContextC::ConfigSetPkgsize ( MK_I32 data)
inline

C++: ctx.ConfigSetPkgsize(MK_I32 data) C-API
set the libmqmsgque::MqIoConfigS::pkgsize value

Definition at line 572 of file MqContextC_inline_cc.hh.

572 {
573 MK_UNUSED auto ctx = getCTX();
574 MqConfigSetPkgsize(ctx, data);
575 }
void MqConfigSetPkgsize(MQ_CTX const ctx, MK_I32 data)
set the libmqmsgque::MqIoConfigS::pkgsize value

◆ ConfigSetPostfix() [1/2]

void ccmqmsgque::MqContextC::ConfigSetPostfix ( const std::string & data)
inline

C++: ctx.ConfigSetPostfix(MK_STRN data) C-API
set the client-part (2) of the application-identifer libmqmsgque::MqConfigS::dispName

Definition at line 584 of file MqContextC_inline_cc.hh.

584 {
585 MK_UNUSED auto ctx = getCTX();
586 const MK_STRN data_hdl = data.c_str();
587 MqConfigSetPostfix(ctx, data_hdl);
588 }
#define MqConfigSetPostfix(...)

◆ ConfigSetPostfix() [2/2]

void ccmqmsgque::MqContextC::ConfigSetPostfix ( MK_STRN data)
inline

C++: ctx.ConfigSetPostfix(MK_STRN data) C-API
set the client-part (2) of the application-identifer libmqmsgque::MqConfigS::dispName

Definition at line 578 of file MqContextC_inline_cc.hh.

578 {
579 MK_UNUSED auto ctx = getCTX();
580 MqConfigSetPostfix(ctx, data);
581 }

◆ ConfigSetPrefix() [1/2]

void ccmqmsgque::MqContextC::ConfigSetPrefix ( const std::string & data)
inline

C++: ctx.ConfigSetPrefix(MK_STRN data) C-API
set the server-part (1) of the application-identifer libmqmsgque::MqConfigS::dispName

Definition at line 597 of file MqContextC_inline_cc.hh.

597 {
598 MK_UNUSED auto ctx = getCTX();
599 const MK_STRN data_hdl = data.c_str();
600 MqConfigSetPrefix(ctx, data_hdl);
601 }
#define MqConfigSetPrefix(...)

◆ ConfigSetPrefix() [2/2]

void ccmqmsgque::MqContextC::ConfigSetPrefix ( MK_STRN data)
inline

C++: ctx.ConfigSetPrefix(MK_STRN data) C-API
set the server-part (1) of the application-identifer libmqmsgque::MqConfigS::dispName

Definition at line 591 of file MqContextC_inline_cc.hh.

591 {
592 MK_UNUSED auto ctx = getCTX();
593 MqConfigSetPrefix(ctx, data);
594 }

◆ ConfigSetStartAs()

void ccmqmsgque::MqContextC::ConfigSetStartAs ( MqStartE data)
inline

C++: ctx.ConfigSetStartAs(MqStartE data) C-API
set the libmqmsgque::MqConfigS::startAs value

Definition at line 604 of file MqContextC_inline_cc.hh.

604 {
605 MK_UNUSED auto ctx = getCTX();
606 enum MkErrorE errVal = MqConfigSetStartAs(ctx, data);
607 MkErrorC_Check(ctx, errVal);
608 }
enum MkErrorE MqConfigSetStartAs(MQ_CTX const ctx, enum MqStartE data)
set the libmqmsgque::MqConfigS::startAs value

◆ ConfigSetStartAsString() [1/2]

void ccmqmsgque::MqContextC::ConfigSetStartAsString ( const std::string & data)
inline

C++: ctx.ConfigSetStartAsString(MK_STRN data) C-API
set the libmqmsgque::MqConfigS::startAs value using string default, thread, fork or spawn

Definition at line 618 of file MqContextC_inline_cc.hh.

618 {
619 MK_UNUSED auto ctx = getCTX();
620 const MK_STRN data_hdl = data.c_str();
621 enum MkErrorE errVal = MqConfigSetStartAsString(ctx, data_hdl);
622 MkErrorC_Check(ctx, errVal);
623 }
enum MkErrorE MqConfigSetStartAsString(MQ_CTX const ctx, MK_STRN data)
set the libmqmsgque::MqConfigS::startAs value using string default, thread, fork or spawn

◆ ConfigSetStartAsString() [2/2]

void ccmqmsgque::MqContextC::ConfigSetStartAsString ( MK_STRN data)
inline

C++: ctx.ConfigSetStartAsString(MK_STRN data) C-API
set the libmqmsgque::MqConfigS::startAs value using string default, thread, fork or spawn

Definition at line 611 of file MqContextC_inline_cc.hh.

611 {
612 MK_UNUSED auto ctx = getCTX();
613 enum MkErrorE errVal = MqConfigSetStartAsString(ctx, data);
614 MkErrorC_Check(ctx, errVal);
615 }

◆ ConfigSetStorage() [1/2]

void ccmqmsgque::MqContextC::ConfigSetStorage ( const std::string & data)
inline

C++: ctx.ConfigSetStorage(MK_STRN data) C-API
set the Storage value and cleanup old value

Definition at line 632 of file MqContextC_inline_cc.hh.

632 {
633 MK_UNUSED auto ctx = getCTX();
634 const MK_STRN data_hdl = data.c_str();
635 MqConfigSetStorage(ctx, data_hdl);
636 }
#define MqConfigSetStorage(...)

◆ ConfigSetStorage() [2/2]

void ccmqmsgque::MqContextC::ConfigSetStorage ( MK_STRN data)
inline

C++: ctx.ConfigSetStorage(MK_STRN data) C-API
set the Storage value and cleanup old value

Definition at line 626 of file MqContextC_inline_cc.hh.

626 {
627 MK_UNUSED auto ctx = getCTX();
628 MqConfigSetStorage(ctx, data);
629 }

◆ ConfigSetTimeout()

void ccmqmsgque::MqContextC::ConfigSetTimeout ( MK_TIME_T data)
inline

C++: ctx.ConfigSetTimeout(MK_TIME_T data) C-API
set the libmqmsgque::MqIoConfigS::timeout value

Definition at line 639 of file MqContextC_inline_cc.hh.

639 {
640 MK_UNUSED auto ctx = getCTX();
641 MqConfigSetTimeout(ctx, data);
642 }
void MqConfigSetTimeout(MQ_CTX const ctx, MK_TIME_T data)
set the libmqmsgque::MqIoConfigS::timeout value