theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ConfigApi_Get_ATL_API

MqContextC - various function to 'get' the configuration-data from a contextMore...

+ Collaboration diagram for MqContextC_ConfigApi_Get_ATL_API:

Functions

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetStartAsNum (MqContextC_ARGS)
  Atl: MqStartE [MqContextC::ConfigGetStartAs $ctx] C-API
return the MqConfigS::startAs value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetStatusIsNum (MqContextC_ARGS)
  Atl: MqStatusIsEF [MqContextC::ConfigGetStatusIs $ctx] C-API
return the MqContextS::statusIs value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIoTcpL (MqContextC_ARGS)
  Atl: MkBufferListC [MqContextC::ConfigGetIoTcpL $ctx] C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetBuffersize (MqContextC_ARGS)
  Atl: int32 [MqContextC::ConfigGetBuffersize $ctx] C-API
get the minimum of the read/send buffersize of the socket
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIdentFrom (MqContextC_ARGS)
  Atl: MqIdentE [MqContextC::ConfigGetIdentFrom $ctx] C-API
get the MqConfigS::identFrom
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIoPipe (MqContextC_ARGS)
  Atl: int32 [MqContextC::ConfigGetIoPipe $ctx] C-API
return the MqIoPipeConfigS
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIoUds (MqContextC_ARGS)
  Atl: string [MqContextC::ConfigGetIoUds $ctx] C-API
return the MqIoUdsConfigS
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIsParent (MqContextC_ARGS)
  Atl: bool [MqContextC::ConfigGetIsParent $ctx] C-API
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is "MK_NULL"
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIsServer (MqContextC_ARGS)
  Atl: bool [MqContextC::ConfigGetIsServer $ctx] C-API
does the context object is a server ?
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIsString (MqContextC_ARGS)
  Atl: bool [MqContextC::ConfigGetIsString $ctx] C-API
does the context object is using the string-mode ?
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetName (MqContextC_ARGS)
  Atl: string [MqContextC::ConfigGetName $ctx] C-API
get the name of the context object
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetPkgsize (MqContextC_ARGS)
  Atl: int32 [MqContextC::ConfigGetPkgsize $ctx] C-API
get the maximun size of a BDY package
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetPostfix (MqContextC_ARGS)
  Atl: string [MqContextC::ConfigGetPostfix $ctx] C-API
get the MqConfigS::dispPostfix
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetPrefix (MqContextC_ARGS)
  Atl: string [MqContextC::ConfigGetPrefix $ctx] C-API
get the MqConfigS::dispPrefix
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetStartAs (MqContextC_ARGS)
  Atl: MqStartE [MqContextC::ConfigGetStartAs $ctx] C-API
return the MqConfigS::startAs value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetStatusIs (MqContextC_ARGS)
  Atl: MqStatusIsEF [MqContextC::ConfigGetStatusIs $ctx] C-API
return the MqContextS::statusIs value
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetStorage (MqContextC_ARGS)
  Atl: string [MqContextC::ConfigGetStorage $ctx] C-API
get the storage of the context object
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetTimeout (MqContextC_ARGS)
  Atl: MkTimeoutE|int32 [MqContextC::ConfigGetTimeout $ctx] C-API
get the timeout value of the context object
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetConfigFile (MqContextC_ARGS)
  Atl: MqContextC::ConfigSetConfigFile $ctx filename:string C-API
set the config-file and parse for well-known config-items
 
static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIoTcp (MqContextC_ARGS)
  Atl: {host:string port:string myhost:string myport:string} [MqContextC::ConfigGetIoTcp $ctx] C-API
get the configuration-data of the tcp-client-server-link
 

Detailed Description

MqContextC - various function to 'get' the configuration-data from a context

Function Documentation

◆ atlmqmsgque_MqContextC_ConfigGetBuffersize()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetBuffersize ( MqContextC_ARGS )
static

Atl: int32 [MqContextC::ConfigGetBuffersize $ctx] C-API
get the minimum of the read/send buffersize of the socket

Definition at line 674 of file MqContextC_atl.c.

674 {
679 goto end;
680 error:
682 end:
684}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_SET_I32(nat)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl
#define ConfigGetBuffersize_doc
#define error
Definition high_lng.h:339
static MK_I32 MqConfigGetBuffersize(MQ_CTXN const ctx)
get the minimum of the read/send buffersize of the socket

◆ atlmqmsgque_MqContextC_ConfigGetIdentFrom()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIdentFrom ( MqContextC_ARGS )
static

Atl: MqIdentE [MqContextC::ConfigGetIdentFrom $ctx] C-API
get the MqConfigS::identFrom

Definition at line 687 of file MqContextC_atl.c.

687 {
692 goto end;
693 error:
695 end:
697}
#define OT_retObj_SET(val)
#define OT_NEW_Mq_enum_OBJ(typ, val)
#define ConfigGetIdentFrom_doc
static enum MqIdentE MqConfigGetIdentFrom(MQ_CTX const ctx)
get the MqConfigS::identFrom

◆ atlmqmsgque_MqContextC_ConfigGetIoPipe()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIoPipe ( MqContextC_ARGS )
static

Atl: int32 [MqContextC::ConfigGetIoPipe $ctx] C-API
return the MqIoPipeConfigS

Definition at line 700 of file MqContextC_atl.c.

700 {
705 goto end;
706 error:
708 end:
710}
#define ConfigGetIoPipe_doc
static MQ_SOCK_HDL MqConfigGetIoPipe(MQ_CTX const ctx)
return the MqIoPipeConfigS

◆ atlmqmsgque_MqContextC_ConfigGetIoTcp()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIoTcp ( MqContextC_ARGS )
static

Atl: {host:string port:string myhost:string myport:string} [MqContextC::ConfigGetIoTcp $ctx] C-API
get the configuration-data of the tcp-client-server-link

Definition at line 887 of file MqContextC_atl.c.

887 {
891 MK_STRN host_out;
892 MK_STRN port_out;
893 MK_STRN myhost_out;
894 MK_STRN myport_out;
895 MkErrorC_Check(hdl,MqConfigGetIoTcp (hdl, &host_out, &port_out, &myhost_out, &myport_out));
899 OT_retObj_APPEND(OT_TMP_STR_OBJ(myhost_out));
900 OT_retObj_APPEND(OT_TMP_STR_OBJ(myport_out));
901 goto end;
902 error:
904 end:
906}
#define OT_retObj_SET_List
#define OT_retObj_APPEND(var)
#define OT_TMP_STR_OBJ(val)
#define MkErrorC_Check(mng, PROC)
#define ConfigGetIoTcp_doc
const MK_STRB * MK_STRN
enum MkErrorE MqConfigGetIoTcp(MQ_CTX const ctx, MK_STRN *host_out, MK_STRN *port_out, MK_STRN *myhost_out, MK_STRN *myport_out)
get the configuration-data of the tcp-client-server-link …

◆ atlmqmsgque_MqContextC_ConfigGetIoTcpL()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIoTcpL ( MqContextC_ARGS )
static

Atl: MkBufferListC [MqContextC::ConfigGetIoTcpL $ctx] C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC

Definition at line 657 of file MqContextC_atl.c.

657 {
661 MK_BFL vals_out;
662 MkErrorC_Check(hdl,MqConfigGetIoTcpL (hdl, &vals_out));
663 OT_retObj_SET_BFL(vals_out);
664 goto end;
665 error:
667 end:
669}
#define OT_retObj_SET_BFL(nat)
#define ConfigGetIoTcpL_doc
#define MqConfigGetIoTcpL(...)

◆ atlmqmsgque_MqContextC_ConfigGetIoUds()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIoUds ( MqContextC_ARGS )
static

Atl: string [MqContextC::ConfigGetIoUds $ctx] C-API
return the MqIoUdsConfigS

Definition at line 713 of file MqContextC_atl.c.

713 {
718 goto end;
719 error:
721 end:
723}
#define OT_retObj_SET_STR(nat)
#define ConfigGetIoUds_doc
static MK_STRN MqConfigGetIoUds(MQ_CTXN const ctx)
return the MqIoUdsConfigS

◆ atlmqmsgque_MqContextC_ConfigGetIsParent()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIsParent ( MqContextC_ARGS )
static

Atl: bool [MqContextC::ConfigGetIsParent $ctx] C-API
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is "MK_NULL"

Definition at line 726 of file MqContextC_atl.c.

726 {
731 goto end;
732 error:
734 end:
736}
#define OT_retObj_SET_BOL(nat)
#define ConfigGetIsParent_doc
static bool MqConfigGetIsParent(MQ_CTX const ctx)
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is "MK...

◆ atlmqmsgque_MqContextC_ConfigGetIsServer()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIsServer ( MqContextC_ARGS )
static

Atl: bool [MqContextC::ConfigGetIsServer $ctx] C-API
does the context object is a server ?

Definition at line 739 of file MqContextC_atl.c.

739 {
744 goto end;
745 error:
747 end:
749}
#define ConfigGetIsServer_doc
static bool MqConfigGetIsServer(MQ_CTX const ctx)
does the context object is a server ?

◆ atlmqmsgque_MqContextC_ConfigGetIsString()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetIsString ( MqContextC_ARGS )
static

Atl: bool [MqContextC::ConfigGetIsString $ctx] C-API
does the context object is using the string-mode ?

Definition at line 752 of file MqContextC_atl.c.

752 {
757 goto end;
758 error:
760 end:
762}
#define ConfigGetIsString_doc
static bool MqConfigGetIsString(MQ_CTX const ctx)
does the context object is using the string-mode ?

◆ atlmqmsgque_MqContextC_ConfigGetName()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetName ( MqContextC_ARGS )
static

Atl: string [MqContextC::ConfigGetName $ctx] C-API
get the name of the context object

Definition at line 765 of file MqContextC_atl.c.

765 {
770 goto end;
771 error:
773 end:
775}
#define ConfigGetName_doc
static MK_STRN MqConfigGetName(MQ_CTXN const ctx)
get the name of the context object

◆ atlmqmsgque_MqContextC_ConfigGetPkgsize()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetPkgsize ( MqContextC_ARGS )
static

Atl: int32 [MqContextC::ConfigGetPkgsize $ctx] C-API
get the maximun size of a BDY package

Definition at line 778 of file MqContextC_atl.c.

778 {
783 goto end;
784 error:
786 end:
788}
#define ConfigGetPkgsize_doc
static MK_I32 MqConfigGetPkgsize(MQ_CTXN const ctx)
get the maximun size of a BDY package

◆ atlmqmsgque_MqContextC_ConfigGetPostfix()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetPostfix ( MqContextC_ARGS )
static

Atl: string [MqContextC::ConfigGetPostfix $ctx] C-API
get the MqConfigS::dispPostfix

Definition at line 791 of file MqContextC_atl.c.

791 {
796 goto end;
797 error:
799 end:
801}
#define ConfigGetPostfix_doc
static MK_STRN MqConfigGetPostfix(MQ_CTXN const ctx)
get the MqConfigS::dispPostfix

◆ atlmqmsgque_MqContextC_ConfigGetPrefix()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetPrefix ( MqContextC_ARGS )
static

Atl: string [MqContextC::ConfigGetPrefix $ctx] C-API
get the MqConfigS::dispPrefix

Definition at line 804 of file MqContextC_atl.c.

804 {
809 goto end;
810 error:
812 end:
814}
#define ConfigGetPrefix_doc
static MK_STRN MqConfigGetPrefix(MQ_CTXN const ctx)
get the MqConfigS::dispPrefix

◆ atlmqmsgque_MqContextC_ConfigGetStartAs()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetStartAs ( MqContextC_ARGS )
static

Atl: MqStartE [MqContextC::ConfigGetStartAs $ctx] C-API
return the MqConfigS::startAs value

Definition at line 817 of file MqContextC_atl.c.

817 {
822 goto end;
823 error:
825 end:
827}
#define ConfigGetStartAs_doc
static enum MqStartE MqConfigGetStartAs(MQ_CTX const ctx)
return the MqConfigS::startAs value

◆ atlmqmsgque_MqContextC_ConfigGetStartAsNum()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetStartAsNum ( MqContextC_ARGS )
static

Atl: MqStartE [MqContextC::ConfigGetStartAs $ctx] C-API
return the MqConfigS::startAs value

Definition at line 422 of file MqContextC_atl.c.

422 {
424 OT_SETUP_NOARG("int [$ctx ConfigGetStartAsNum]");
426 OT_retObj_SET(Tcl_NewIntObj(MqConfigGetStartAs (hdl)));
427 goto end;
428 error:
430 end:
432}

◆ atlmqmsgque_MqContextC_ConfigGetStatusIs()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetStatusIs ( MqContextC_ARGS )
static

Atl: MqStatusIsEF [MqContextC::ConfigGetStatusIs $ctx] C-API
return the MqContextS::statusIs value

Definition at line 830 of file MqContextC_atl.c.

830 {
835 goto end;
836 error:
838 end:
840}
#define ConfigGetStatusIs_doc
static enum MqStatusIsEF MqConfigGetStatusIs(MQ_CTX const ctx)
return the MqContextS::statusIs value

◆ atlmqmsgque_MqContextC_ConfigGetStatusIsNum()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetStatusIsNum ( MqContextC_ARGS )
static

Atl: MqStatusIsEF [MqContextC::ConfigGetStatusIs $ctx] C-API
return the MqContextS::statusIs value

Definition at line 436 of file MqContextC_atl.c.

436 {
438 OT_SETUP_NOARG("int [$ctx ConfigGetStatusIsNum]");
440 OT_retObj_SET(Tcl_NewIntObj(MqConfigGetStatusIs (hdl)));
441 goto end;
442 error:
444 end:
446}

◆ atlmqmsgque_MqContextC_ConfigGetStorage()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetStorage ( MqContextC_ARGS )
static

Atl: string [MqContextC::ConfigGetStorage $ctx] C-API
get the storage of the context object

Definition at line 843 of file MqContextC_atl.c.

843 {
848 goto end;
849 error:
851 end:
853}
#define ConfigGetStorage_doc
static MK_STRN MqConfigGetStorage(MQ_CTXN const ctx)
get the storage of the context object

◆ atlmqmsgque_MqContextC_ConfigGetTimeout()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigGetTimeout ( MqContextC_ARGS )
static

Atl: MkTimeoutE|int32 [MqContextC::ConfigGetTimeout $ctx] C-API
get the timeout value of the context object

Definition at line 856 of file MqContextC_atl.c.

856 {
861 goto end;
862 error:
864 end:
866}
#define OT_retObj_SET_LONG(nat)
#define ConfigGetTimeout_doc
static MK_TIME_T MqConfigGetTimeout(MQ_CTXN const ctx)
get the timeout value of the context object

◆ atlmqmsgque_MqContextC_ConfigSetConfigFile()

static OT_ProcRet atlmqmsgque_MqContextC_ConfigSetConfigFile ( MqContextC_ARGS )
static

Atl: MqContextC::ConfigSetConfigFile $ctx filename:string C-API
set the config-file and parse for well-known config-items

Definition at line 869 of file MqContextC_atl.c.

869 {
872 MK_STRN filename = 0;
875 MkErrorC_Check(hdl,MqConfigSetConfigFile (hdl, filename));
877 goto end;
878 error:
880 end:
882}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_CHECK_STRN(val)
#define ConfigSetConfigFile_doc
#define MqConfigSetConfigFile(...)