theLink 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
MqContextC_ConfigApi_Get_PY_API

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

+ Collaboration diagram for MqContextC_ConfigApi_Get_PY_API:

Functions

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIoTcpL (MqContextC_ARGS)
  Python: MkBufferListC ctx.ConfigGetIoTcpL() C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetBuffersize (MqContextC_ARGS)
  Python: int32 ctx.ConfigGetBuffersize() C-API
get the minimum of the read/send buffersize of the socket
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIdentFrom (MqContextC_ARGS)
  Python: MqIdentE ctx.ConfigGetIdentFrom() C-API
get the MqConfigS::identFrom
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIoPipe (MqContextC_ARGS)
  Python: int32 ctx.ConfigGetIoPipe() C-API
return the MqIoPipeConfigS
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIoUds (MqContextC_ARGS)
  Python: string ctx.ConfigGetIoUds() C-API
return the MqIoUdsConfigS
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIsParent (MqContextC_ARGS)
  Python: bool ctx.ConfigGetIsParent() C-API
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is None
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIsServer (MqContextC_ARGS)
  Python: bool ctx.ConfigGetIsServer() C-API
does the context object is a server ?
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIsString (MqContextC_ARGS)
  Python: bool ctx.ConfigGetIsString() C-API
does the context object is using the string-mode ?
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetName (MqContextC_ARGS)
  Python: string ctx.ConfigGetName() C-API
get the name of the context object
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetPkgsize (MqContextC_ARGS)
  Python: int32 ctx.ConfigGetPkgsize() C-API
get the maximun size of a BDY package
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetPostfix (MqContextC_ARGS)
  Python: string ctx.ConfigGetPostfix() C-API
get the MqConfigS::dispPostfix
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetPrefix (MqContextC_ARGS)
  Python: string ctx.ConfigGetPrefix() C-API
get the MqConfigS::dispPrefix
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetStartAs (MqContextC_ARGS)
  Python: MqStartE ctx.ConfigGetStartAs() C-API
return the MqConfigS::startAs value
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetStatusIs (MqContextC_ARGS)
  Python: MqStatusIsEF ctx.ConfigGetStatusIs() C-API
return the MqContextS::statusIs value
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetStorage (MqContextC_ARGS)
  Python: string ctx.ConfigGetStorage() C-API
get the storage of the context object
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetTimeout (MqContextC_ARGS)
  Python: MkTimeoutE|int32 ctx.ConfigGetTimeout() C-API
get the timeout value of the context object
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigSetConfigFile (MqContextC_ARGS)
  Python: ctx.ConfigSetConfigFile(filename:string) C-API
set the config-file and parse for well-known config-items
 
static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIoTcp (MqContextC_ARGS)
  Python: {host:string port:string myhost:string myport:string} ctx.ConfigGetIoTcp() 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

◆ pymqmsgque_MqContextC_ConfigGetBuffersize()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetBuffersize ( MqContextC_ARGS )
static

Python: int32 ctx.ConfigGetBuffersize() C-API
get the minimum of the read/send buffersize of the socket

Definition at line 660 of file MqContextC_py.c.

660 {
662 OT_SETUP_NOARG(ConfigGetBuffersize_doc)
663 OT_CHECK_NOARGS
664 OT_retObj_SET_I32(MqConfigGetBuffersize (hdl))
665 goto end;
666 error:
667 OT_retObj_SET_Error
668 end:
670}
#define OT_SETUP_hdl
#define ConfigGetBuffersize_doc
#define OT_retObj_RETURN
#define error
static MK_I32 MqConfigGetBuffersize(MQ_CTXN const ctx)
get the minimum of the read/send buffersize of the socket

◆ pymqmsgque_MqContextC_ConfigGetIdentFrom()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIdentFrom ( MqContextC_ARGS )
static

Python: MqIdentE ctx.ConfigGetIdentFrom() C-API
get the MqConfigS::identFrom

Definition at line 673 of file MqContextC_py.c.

673 {
675 OT_SETUP_NOARG(ConfigGetIdentFrom_doc)
676 OT_CHECK_NOARGS
677 OT_retObj_SET(OT_NEW_Mq_enum_OBJ(IdentE,MqConfigGetIdentFrom (hdl)))
678 goto end;
679 error:
680 OT_retObj_SET_Error
681 end:
683}
#define ConfigGetIdentFrom_doc
static enum MqIdentE MqConfigGetIdentFrom(MQ_CTX const ctx)
get the MqConfigS::identFrom

◆ pymqmsgque_MqContextC_ConfigGetIoPipe()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIoPipe ( MqContextC_ARGS )
static

Python: int32 ctx.ConfigGetIoPipe() C-API
return the MqIoPipeConfigS

Definition at line 686 of file MqContextC_py.c.

686 {
688 OT_SETUP_NOARG(ConfigGetIoPipe_doc)
689 OT_CHECK_NOARGS
690 OT_retObj_SET_I32(MqConfigGetIoPipe (hdl))
691 goto end;
692 error:
693 OT_retObj_SET_Error
694 end:
696}
#define ConfigGetIoPipe_doc
static MQ_SOCK_HDL MqConfigGetIoPipe(MQ_CTX const ctx)
return the MqIoPipeConfigS

◆ pymqmsgque_MqContextC_ConfigGetIoTcp()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIoTcp ( MqContextC_ARGS )
static

Python: {host:string port:string myhost:string myport:string} ctx.ConfigGetIoTcp() C-API
get the configuration-data of the tcp-client-server-link

Definition at line 873 of file MqContextC_py.c.

873 {
875 OT_SETUP_NOARG(ConfigGetIoTcp_doc)
876 OT_CHECK_NOARGS
877 MK_STRN host_out;
878 MK_STRN port_out;
879 MK_STRN myhost_out;
880 MK_STRN myport_out;
881 MkErrorC_Check(hdl,MqConfigGetIoTcp (hdl, &host_out, &port_out, &myhost_out, &myport_out));
882 OT_retObj_SET_List
883 OT_retObj_APPEND(OT_TMP_STR_OBJ(host_out))
884 OT_retObj_APPEND(OT_TMP_STR_OBJ(port_out))
885 OT_retObj_APPEND(OT_TMP_STR_OBJ(myhost_out))
886 OT_retObj_APPEND(OT_TMP_STR_OBJ(myport_out))
887 goto end;
888 error:
889 OT_retObj_SET_Error
890 end:
892}
#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 …

◆ pymqmsgque_MqContextC_ConfigGetIoTcpL()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIoTcpL ( MqContextC_ARGS )
static

Python: MkBufferListC ctx.ConfigGetIoTcpL() C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC

Definition at line 643 of file MqContextC_py.c.

643 {
645 OT_SETUP_NOARG(ConfigGetIoTcpL_doc)
646 OT_CHECK_NOARGS
647 MK_BFL vals_out;
648 MkErrorC_Check(hdl,MqConfigGetIoTcpL (hdl, &vals_out));
649 OT_retObj_SET_BFL(vals_out)
650 goto end;
651 error:
652 OT_retObj_SET_Error
653 end:
655}
#define ConfigGetIoTcpL_doc
#define MqConfigGetIoTcpL(...)

◆ pymqmsgque_MqContextC_ConfigGetIoUds()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIoUds ( MqContextC_ARGS )
static

Python: string ctx.ConfigGetIoUds() C-API
return the MqIoUdsConfigS

Definition at line 699 of file MqContextC_py.c.

699 {
701 OT_SETUP_NOARG(ConfigGetIoUds_doc)
702 OT_CHECK_NOARGS
703 OT_retObj_SET_STR(MqConfigGetIoUds (hdl))
704 goto end;
705 error:
706 OT_retObj_SET_Error
707 end:
709}
#define ConfigGetIoUds_doc
static MK_STRN MqConfigGetIoUds(MQ_CTXN const ctx)
return the MqIoUdsConfigS

◆ pymqmsgque_MqContextC_ConfigGetIsParent()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIsParent ( MqContextC_ARGS )
static

Python: bool ctx.ConfigGetIsParent() C-API
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is None

Definition at line 712 of file MqContextC_py.c.

712 {
714 OT_SETUP_NOARG(ConfigGetIsParent_doc)
715 OT_CHECK_NOARGS
716 OT_retObj_SET_BOL(MqConfigGetIsParent (hdl))
717 goto end;
718 error:
719 OT_retObj_SET_Error
720 end:
722}
#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 Non...

◆ pymqmsgque_MqContextC_ConfigGetIsServer()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIsServer ( MqContextC_ARGS )
static

Python: bool ctx.ConfigGetIsServer() C-API
does the context object is a server ?

Definition at line 725 of file MqContextC_py.c.

725 {
727 OT_SETUP_NOARG(ConfigGetIsServer_doc)
728 OT_CHECK_NOARGS
729 OT_retObj_SET_BOL(MqConfigGetIsServer (hdl))
730 goto end;
731 error:
732 OT_retObj_SET_Error
733 end:
735}
#define ConfigGetIsServer_doc
static bool MqConfigGetIsServer(MQ_CTX const ctx)
does the context object is a server ?

◆ pymqmsgque_MqContextC_ConfigGetIsString()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIsString ( MqContextC_ARGS )
static

Python: bool ctx.ConfigGetIsString() C-API
does the context object is using the string-mode ?

Definition at line 738 of file MqContextC_py.c.

738 {
740 OT_SETUP_NOARG(ConfigGetIsString_doc)
741 OT_CHECK_NOARGS
742 OT_retObj_SET_BOL(MqConfigGetIsString (hdl))
743 goto end;
744 error:
745 OT_retObj_SET_Error
746 end:
748}
#define ConfigGetIsString_doc
static bool MqConfigGetIsString(MQ_CTX const ctx)
does the context object is using the string-mode ?

◆ pymqmsgque_MqContextC_ConfigGetName()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetName ( MqContextC_ARGS )
static

Python: string ctx.ConfigGetName() C-API
get the name of the context object

Definition at line 751 of file MqContextC_py.c.

751 {
753 OT_SETUP_NOARG(ConfigGetName_doc)
754 OT_CHECK_NOARGS
755 OT_retObj_SET_STR(MqConfigGetName (hdl))
756 goto end;
757 error:
758 OT_retObj_SET_Error
759 end:
761}
#define ConfigGetName_doc
static MK_STRN MqConfigGetName(MQ_CTXN const ctx)
get the name of the context object

◆ pymqmsgque_MqContextC_ConfigGetPkgsize()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetPkgsize ( MqContextC_ARGS )
static

Python: int32 ctx.ConfigGetPkgsize() C-API
get the maximun size of a BDY package

Definition at line 764 of file MqContextC_py.c.

764 {
766 OT_SETUP_NOARG(ConfigGetPkgsize_doc)
767 OT_CHECK_NOARGS
768 OT_retObj_SET_I32(MqConfigGetPkgsize (hdl))
769 goto end;
770 error:
771 OT_retObj_SET_Error
772 end:
774}
#define ConfigGetPkgsize_doc
static MK_I32 MqConfigGetPkgsize(MQ_CTXN const ctx)
get the maximun size of a BDY package

◆ pymqmsgque_MqContextC_ConfigGetPostfix()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetPostfix ( MqContextC_ARGS )
static

Python: string ctx.ConfigGetPostfix() C-API
get the MqConfigS::dispPostfix

Definition at line 777 of file MqContextC_py.c.

777 {
779 OT_SETUP_NOARG(ConfigGetPostfix_doc)
780 OT_CHECK_NOARGS
781 OT_retObj_SET_STR(MqConfigGetPostfix (hdl))
782 goto end;
783 error:
784 OT_retObj_SET_Error
785 end:
787}
#define ConfigGetPostfix_doc
static MK_STRN MqConfigGetPostfix(MQ_CTXN const ctx)
get the MqConfigS::dispPostfix

◆ pymqmsgque_MqContextC_ConfigGetPrefix()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetPrefix ( MqContextC_ARGS )
static

Python: string ctx.ConfigGetPrefix() C-API
get the MqConfigS::dispPrefix

Definition at line 790 of file MqContextC_py.c.

790 {
792 OT_SETUP_NOARG(ConfigGetPrefix_doc)
793 OT_CHECK_NOARGS
794 OT_retObj_SET_STR(MqConfigGetPrefix (hdl))
795 goto end;
796 error:
797 OT_retObj_SET_Error
798 end:
800}
#define ConfigGetPrefix_doc
static MK_STRN MqConfigGetPrefix(MQ_CTXN const ctx)
get the MqConfigS::dispPrefix

◆ pymqmsgque_MqContextC_ConfigGetStartAs()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetStartAs ( MqContextC_ARGS )
static

Python: MqStartE ctx.ConfigGetStartAs() C-API
return the MqConfigS::startAs value

Definition at line 803 of file MqContextC_py.c.

803 {
805 OT_SETUP_NOARG(ConfigGetStartAs_doc)
806 OT_CHECK_NOARGS
807 OT_retObj_SET(OT_NEW_Mq_enum_OBJ(StartE,MqConfigGetStartAs (hdl)))
808 goto end;
809 error:
810 OT_retObj_SET_Error
811 end:
813}
#define ConfigGetStartAs_doc
static enum MqStartE MqConfigGetStartAs(MQ_CTX const ctx)
return the MqConfigS::startAs value

◆ pymqmsgque_MqContextC_ConfigGetStatusIs()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetStatusIs ( MqContextC_ARGS )
static

Python: MqStatusIsEF ctx.ConfigGetStatusIs() C-API
return the MqContextS::statusIs value

Definition at line 816 of file MqContextC_py.c.

816 {
818 OT_SETUP_NOARG(ConfigGetStatusIs_doc)
819 OT_CHECK_NOARGS
820 OT_retObj_SET(OT_NEW_Mq_enum_OBJ(StatusIsEF,MqConfigGetStatusIs (hdl)))
821 goto end;
822 error:
823 OT_retObj_SET_Error
824 end:
826}
#define ConfigGetStatusIs_doc
static enum MqStatusIsEF MqConfigGetStatusIs(MQ_CTX const ctx)
return the MqContextS::statusIs value

◆ pymqmsgque_MqContextC_ConfigGetStorage()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetStorage ( MqContextC_ARGS )
static

Python: string ctx.ConfigGetStorage() C-API
get the storage of the context object

Definition at line 829 of file MqContextC_py.c.

829 {
831 OT_SETUP_NOARG(ConfigGetStorage_doc)
832 OT_CHECK_NOARGS
833 OT_retObj_SET_STR(MqConfigGetStorage (hdl))
834 goto end;
835 error:
836 OT_retObj_SET_Error
837 end:
839}
#define ConfigGetStorage_doc
static MK_STRN MqConfigGetStorage(MQ_CTXN const ctx)
get the storage of the context object

◆ pymqmsgque_MqContextC_ConfigGetTimeout()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetTimeout ( MqContextC_ARGS )
static

Python: MkTimeoutE|int32 ctx.ConfigGetTimeout() C-API
get the timeout value of the context object

Definition at line 842 of file MqContextC_py.c.

842 {
844 OT_SETUP_NOARG(ConfigGetTimeout_doc)
845 OT_CHECK_NOARGS
846 OT_retObj_SET_LONG(MqConfigGetTimeout (hdl))
847 goto end;
848 error:
849 OT_retObj_SET_Error
850 end:
852}
#define ConfigGetTimeout_doc
static MK_TIME_T MqConfigGetTimeout(MQ_CTXN const ctx)
get the timeout value of the context object

◆ pymqmsgque_MqContextC_ConfigSetConfigFile()

static OT_ProcRet pymqmsgque_MqContextC_ConfigSetConfigFile ( MqContextC_ARGS )
static

Python: ctx.ConfigSetConfigFile(filename:string) C-API
set the config-file and parse for well-known config-items

Definition at line 855 of file MqContextC_py.c.

855 {
857 OT_SETUP_ONEARG(ConfigSetConfigFile_doc)
858 MK_STRN filename = 0;
859 OT_CHECK_REQUIRED(OT_CHECK_STRN (filename))
860 OT_CHECK_NOARGS
861 MkErrorC_Check(hdl,MqConfigSetConfigFile (hdl, filename));
862 OT_retObj_SET_None
863 goto end;
864 error:
865 OT_retObj_SET_Error
866 end:
868}
#define ConfigSetConfigFile_doc
#define MqConfigSetConfigFile(...)