theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ClassApi_ATL_API

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

+ Collaboration diagram for MqContextC_ClassApi_ATL_API:

Functions

static OT_ProcRet atlmqmsgque_MqContextC_ClassFactoryGet (MqContextC_ARGS)
  Atl: MqFactoryC [MqContextC::ClassFactoryGet $ctx] C-API
get the MqFactoryC used by the MqContextC
 
static OT_ProcRet atlmqmsgque_MqContextC_ClassFactorySet (MqContextC_ARGS)
  Atl: MqContextC::ClassFactorySet $ctx item:MqFactoryC C-API
link the MqContextC to a new MqFactoryC
 
static OT_ProcRet atlmqmsgque_MqContextC_ClassIdentGet (MqContextC_ARGS)
  Atl: string [MqContextC::ClassIdentGet $ctx] C-API
get the application-identification
 
static OT_ProcRet atlmqmsgque_MqContextC_ClassIdentSet (MqContextC_ARGS)
  Atl: MqContextC::ClassIdentSet $ctx ident:string C-API
link the MqContextC to a new MqFactoryC identified by ident
 
static OT_ProcRet atlmqmsgque_MqContextC_ClassOriginalIdentGet (MqContextC_ARGS)
  Atl: string [MqContextC::ClassOriginalIdentGet $ctx] 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

◆ atlmqmsgque_MqContextC_ClassFactoryGet()

static OT_ProcRet atlmqmsgque_MqContextC_ClassFactoryGet ( MqContextC_ARGS )
static

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

Definition at line 574 of file MqContextC_atl.c.

574 {
578 MQ_FCT retVal = MqClassFactoryGet (hdl);
579 OT_retObj_SET_FCT(retVal);
580 goto end;
581 error:
583 end:
585}
#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

◆ atlmqmsgque_MqContextC_ClassFactorySet()

static OT_ProcRet atlmqmsgque_MqContextC_ClassFactorySet ( MqContextC_ARGS )
static

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

Definition at line 590 of file MqContextC_atl.c.

590 {
593 MQ_FCT item = 0;
596 MkErrorC_Check(hdl,MqClassFactorySet (hdl, item));
598 goto end;
599 error:
601 end:
603}
#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)

◆ atlmqmsgque_MqContextC_ClassIdentGet()

static OT_ProcRet atlmqmsgque_MqContextC_ClassIdentGet ( MqContextC_ARGS )
static

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

Definition at line 606 of file MqContextC_atl.c.

606 {
611 goto end;
612 error:
614 end:
616}
#define OT_retObj_SET_STR(nat)
#define ClassIdentGet_doc
MK_STRN MqClassIdentGet(MQ_CTXN const ctx)
get the application-identification …

◆ atlmqmsgque_MqContextC_ClassIdentSet()

static OT_ProcRet atlmqmsgque_MqContextC_ClassIdentSet ( MqContextC_ARGS )
static

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

Definition at line 619 of file MqContextC_atl.c.

619 {
622 MK_STRN ident = 0;
625 MkErrorC_Check(hdl,MqClassIdentSet (hdl, ident));
627 goto end;
628 error:
630 end:
632}
#define OT_CHECK_STRN(val)
#define ClassIdentSet_doc
const MK_STRB * MK_STRN
#define MqClassIdentSet(...)

◆ atlmqmsgque_MqContextC_ClassOriginalIdentGet()

static OT_ProcRet atlmqmsgque_MqContextC_ClassOriginalIdentGet ( MqContextC_ARGS )
static

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

Definition at line 635 of file MqContextC_atl.c.

635 {
640 goto end;
641 error:
643 end:
645}
#define ClassOriginalIdentGet_doc
MK_STRN MqClassOriginalIdentGet(MQ_CTXN const ctx)
get the MqFactoryS::originalIdent from the MqContextC