theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ClassApi_TCL_API

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

+ Collaboration diagram for MqContextC_ClassApi_TCL_API:

Functions

static OT_ProcRet tclmqmsgque_MqContextC_ClassFactoryGet (MqContextC_ARGS)
  Tcl: MqFactoryC [$ctx ClassFactoryGet] C-API
get the MqFactoryC used by the MqContextC
 
static OT_ProcRet tclmqmsgque_MqContextC_ClassFactorySet (MqContextC_ARGS)
  Tcl: $ctx ClassFactorySet item:MqFactoryC C-API
link the MqContextC to a new MqFactoryC
 
static OT_ProcRet tclmqmsgque_MqContextC_ClassIdentGet (MqContextC_ARGS)
  Tcl: string [$ctx ClassIdentGet] C-API
get the application-identification
 
static OT_ProcRet tclmqmsgque_MqContextC_ClassIdentSet (MqContextC_ARGS)
  Tcl: $ctx ClassIdentSet ident:string C-API
link the MqContextC to a new MqFactoryC identified by ident
 
static OT_ProcRet tclmqmsgque_MqContextC_ClassOriginalIdentGet (MqContextC_ARGS)
  Tcl: 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

◆ tclmqmsgque_MqContextC_ClassFactoryGet()

static OT_ProcRet tclmqmsgque_MqContextC_ClassFactoryGet ( MqContextC_ARGS )
static

Tcl: MqFactoryC [$ctx ClassFactoryGet] C-API
get the MqFactoryC used by the MqContextC

Definition at line 596 of file MqContextC_tcl.c.

596 {
600 MQ_FCT retVal = MqClassFactoryGet (hdl);
601 OT_retObj_SET_FCT(retVal);
602 goto end;
603 error:
605 end:
607}
#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

◆ tclmqmsgque_MqContextC_ClassFactorySet()

static OT_ProcRet tclmqmsgque_MqContextC_ClassFactorySet ( MqContextC_ARGS )
static

Tcl: $ctx ClassFactorySet item:MqFactoryC C-API
link the MqContextC to a new MqFactoryC

Definition at line 612 of file MqContextC_tcl.c.

612 {
615 MQ_FCT item = 0;
618 MkErrorC_Check(hdl,MqClassFactorySet (hdl, item));
620 goto end;
621 error:
623 end:
625}
#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)

◆ tclmqmsgque_MqContextC_ClassIdentGet()

static OT_ProcRet tclmqmsgque_MqContextC_ClassIdentGet ( MqContextC_ARGS )
static

Tcl: string [$ctx ClassIdentGet] C-API
get the application-identification

Definition at line 628 of file MqContextC_tcl.c.

628 {
633 goto end;
634 error:
636 end:
638}
#define OT_retObj_SET_STR(nat)
#define ClassIdentGet_doc
MK_STRN MqClassIdentGet(MQ_CTXN const ctx)
get the application-identification …

◆ tclmqmsgque_MqContextC_ClassIdentSet()

static OT_ProcRet tclmqmsgque_MqContextC_ClassIdentSet ( MqContextC_ARGS )
static

Tcl: $ctx ClassIdentSet ident:string C-API
link the MqContextC to a new MqFactoryC identified by ident

Definition at line 641 of file MqContextC_tcl.c.

641 {
644 MK_STRN ident = 0;
647 MkErrorC_Check(hdl,MqClassIdentSet (hdl, ident));
649 goto end;
650 error:
652 end:
654}
#define OT_CHECK_STRN(val)
#define ClassIdentSet_doc
const MK_STRB * MK_STRN
#define MqClassIdentSet(...)

◆ tclmqmsgque_MqContextC_ClassOriginalIdentGet()

static OT_ProcRet tclmqmsgque_MqContextC_ClassOriginalIdentGet ( MqContextC_ARGS )
static

Tcl: string [$ctx ClassOriginalIdentGet] C-API
get the MqFactoryS::originalIdent from the MqContextC

Definition at line 657 of file MqContextC_tcl.c.

657 {
662 goto end;
663 error:
665 end:
667}
#define ClassOriginalIdentGet_doc
MK_STRN MqClassOriginalIdentGet(MQ_CTXN const ctx)
get the MqFactoryS::originalIdent from the MqContextC