theLink 10.0
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 659 of file MqContextC_py.c.

659 {
664 goto end;
665 error:
667 end:
669}
#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

◆ 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 672 of file MqContextC_py.c.

672 {
677 goto end;
678 error:
680 end:
682}
#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

◆ pymqmsgque_MqContextC_ConfigGetIoPipe()

static OT_ProcRet pymqmsgque_MqContextC_ConfigGetIoPipe ( MqContextC_ARGS )
static

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

Definition at line 685 of file MqContextC_py.c.

685 {
690 goto end;
691 error:
693 end:
695}
#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 872 of file MqContextC_py.c.

872 {
876 MK_STRN host_out;
877 MK_STRN port_out;
878 MK_STRN myhost_out;
879 MK_STRN myport_out;
880 MkErrorC_Check(hdl,MqConfigGetIoTcp (hdl, &host_out, &port_out, &myhost_out, &myport_out));
884 OT_retObj_APPEND(OT_TMP_STR_OBJ(myhost_out));
885 OT_retObj_APPEND(OT_TMP_STR_OBJ(myport_out));
886 goto end;
887 error:
889 end:
891}
#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 …

◆ 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 642 of file MqContextC_py.c.

642 {
646 MK_BFL vals_out;
647 MkErrorC_Check(hdl,MqConfigGetIoTcpL (hdl, &vals_out));
648 OT_retObj_SET_BFL(vals_out);
649 goto end;
650 error:
652 end:
654}
#define OT_retObj_SET_BFL(nat)
#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 698 of file MqContextC_py.c.

698 {
703 goto end;
704 error:
706 end:
708}
#define OT_retObj_SET_STR(nat)
#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 711 of file MqContextC_py.c.

711 {
716 goto end;
717 error:
719 end:
721}
#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 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 724 of file MqContextC_py.c.

724 {
729 goto end;
730 error:
732 end:
734}
#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 737 of file MqContextC_py.c.

737 {
742 goto end;
743 error:
745 end:
747}
#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 750 of file MqContextC_py.c.

750 {
755 goto end;
756 error:
758 end:
760}
#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 763 of file MqContextC_py.c.

763 {
768 goto end;
769 error:
771 end:
773}
#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 776 of file MqContextC_py.c.

776 {
781 goto end;
782 error:
784 end:
786}
#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 789 of file MqContextC_py.c.

789 {
794 goto end;
795 error:
797 end:
799}
#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 802 of file MqContextC_py.c.

802 {
807 goto end;
808 error:
810 end:
812}
#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 815 of file MqContextC_py.c.

815 {
820 goto end;
821 error:
823 end:
825}
#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 828 of file MqContextC_py.c.

828 {
833 goto end;
834 error:
836 end:
838}
#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 841 of file MqContextC_py.c.

841 {
846 goto end;
847 error:
849 end:
851}
#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

◆ 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 854 of file MqContextC_py.c.

854 {
857 MK_STRN filename = 0;
860 MkErrorC_Check(hdl,MqConfigSetConfigFile (hdl, filename));
862 goto end;
863 error:
865 end:
867}
#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(...)