theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ClassApi_PY_API

MqContextC - access data related to the factory-type of the object … More...

+ Collaboration diagram for MqContextC_ClassApi_PY_API:

Functions

static OT_ProcRet pymqmsgque_MqContextC_ClassFactoryGet (MqContextC_ARGS)
  Python: MqFactoryC ctx.ClassFactoryGet() C-API
get the MqFactoryC used by the MqContextC
 
static OT_ProcRet pymqmsgque_MqContextC_ClassFactorySet (MqContextC_ARGS)
  Python: ctx.ClassFactorySet(item:MqFactoryC) C-API
link the MqContextC to a new MqFactoryC
 
static OT_ProcRet pymqmsgque_MqContextC_ClassIdentGet (MqContextC_ARGS)
  Python: string ctx.ClassIdentGet() C-API
get the application-identification
 
static OT_ProcRet pymqmsgque_MqContextC_ClassIdentSet (MqContextC_ARGS)
  Python: ctx.ClassIdentSet(ident:string) C-API
link the MqContextC to a new MqFactoryC identified by ident
 
static OT_ProcRet pymqmsgque_MqContextC_ClassOriginalIdentGet (MqContextC_ARGS)
  Python: string ctx.ClassOriginalIdentGet() C-API
get the MqFactoryS::originalIdent from the MqContextC
 

Detailed Description

MqContextC - access data related to the factory-type of the object …

The type of an object is related to the MqFactoryC. The factory decide which class a new created object has. The factory has two identifiers:

The relevance of the MqContextC CLASS API based type system, provided by MqFactoryC, decreased with the rise of the MANAGED OBJECT technology.
The MqContextC CLASS API based type system has more influence for target-languages without reflection, like C or C++.
The factory is something like a constructor but only support the application-context MqContextC .
The MqContextC ROUTE API using the MqClassIdentGet from MqFactoryC to identify an application from remote.

Function Documentation

◆ pymqmsgque_MqContextC_ClassFactoryGet()

static OT_ProcRet pymqmsgque_MqContextC_ClassFactoryGet ( MqContextC_ARGS )
static

Python: MqFactoryC ctx.ClassFactoryGet() C-API
get the MqFactoryC used by the MqContextC

Definition at line 559 of file MqContextC_py.c.

559 {
563 MQ_FCT retVal = MqClassFactoryGet (hdl);
564 OT_retObj_SET_FCT(retVal);
565 goto end;
566 error:
568 end:
570}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define OT_retObj_SET_FCT(nat)
#define ClassFactoryGet_doc
#define OT_SETUP_hdl
#define error
Definition high_lng.h:339
MQ_FCT const MqClassFactoryGet(MQ_CTXN const ctx)
get the MqFactoryC used by the MqContextC
data used to define a factory

◆ pymqmsgque_MqContextC_ClassFactorySet()

static OT_ProcRet pymqmsgque_MqContextC_ClassFactorySet ( MqContextC_ARGS )
static

Python: ctx.ClassFactorySet(item:MqFactoryC) C-API
link the MqContextC to a new MqFactoryC

Definition at line 575 of file MqContextC_py.c.

575 {
578 MQ_FCT item = 0;
581 MkErrorC_Check(hdl,MqClassFactorySet (hdl, item));
583 goto end;
584 error:
586 end:
588}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define MkErrorC_Check(mng, PROC)
#define ClassFactorySet_doc
#define MK_NULL_NO
#define MqClassFactorySet(...)
#define OT_CHECK_FCT(val, nullB)

◆ pymqmsgque_MqContextC_ClassIdentGet()

static OT_ProcRet pymqmsgque_MqContextC_ClassIdentGet ( MqContextC_ARGS )
static

Python: string ctx.ClassIdentGet() C-API
get the application-identification

Definition at line 591 of file MqContextC_py.c.

591 {
596 goto end;
597 error:
599 end:
601}
#define OT_retObj_SET_STR(nat)
#define ClassIdentGet_doc
MK_STRN MqClassIdentGet(MQ_CTXN const ctx)
get the application-identification …

◆ pymqmsgque_MqContextC_ClassIdentSet()

static OT_ProcRet pymqmsgque_MqContextC_ClassIdentSet ( MqContextC_ARGS )
static

Python: ctx.ClassIdentSet(ident:string) C-API
link the MqContextC to a new MqFactoryC identified by ident

Definition at line 604 of file MqContextC_py.c.

604 {
607 MK_STRN ident = 0;
610 MkErrorC_Check(hdl,MqClassIdentSet (hdl, ident));
612 goto end;
613 error:
615 end:
617}
#define OT_CHECK_STRN(val)
#define ClassIdentSet_doc
const MK_STRB * MK_STRN
#define MqClassIdentSet(...)

◆ pymqmsgque_MqContextC_ClassOriginalIdentGet()

static OT_ProcRet pymqmsgque_MqContextC_ClassOriginalIdentGet ( MqContextC_ARGS )
static

Python: string ctx.ClassOriginalIdentGet() C-API
get the MqFactoryS::originalIdent from the MqContextC

Definition at line 620 of file MqContextC_py.c.

620 {
625 goto end;
626 error:
628 end:
630}
#define ClassOriginalIdentGet_doc
MK_STRN MqClassOriginalIdentGet(MQ_CTXN const ctx)
get the MqFactoryS::originalIdent from the MqContextC