theLink 10.0
Loading...
Searching...
No Matches
MqFactoryC_Misc_CS_API

MqFactoryC - various functions to work on a factoryMore...

+ Collaboration diagram for MqFactoryC_Misc_CS_API:

Functions

MqFactoryC csmqmsgque.MqFactoryC.Default ()
  C#: MqFactoryC fct.Default() C-API
set the default-attribute to the factory
 
MqFactoryC csmqmsgque.MqFactoryC.Initial ()
  C#: MqFactoryC fct.Initial() C-API
set the initial-attribut to fct
 
MqContextC csmqmsgque.MqFactoryC.New ()
  C#: MqContextC fct.New() C-API
create a new MqContextC from a MqFactoryC
 
static string csmqmsgque.MqFactoryC.DefaultIdent ()
  C#: [static] string MqFactoryC.DefaultIdent() C-API
return the factory-identifier of the default MqFactoryC
 
static string csmqmsgque.MqFactoryC.InitialIdent ()
  C#: [static] string MqFactoryC.InitialIdent() C-API
return the factory-identifier of the initial MqFactoryC
 
static void csmqmsgque.MqFactoryC.LogAll ([CallerMemberName]string callfunc=null)
  C#: [static] MqFactoryC.LogAll([CallerMemberName]string callfunc = null) C-API
log all "factories" to stderr
 

Detailed Description

MqFactoryC - various functions to work on a factory

Function Documentation

◆ Default()

MqFactoryC csmqmsgque.MqFactoryC.Default ( )
inline

C#: MqFactoryC fct.Default() C-API
set the default-attribute to the factory

Definition at line 274 of file MqFactoryC.cs.

274 {
275 IntPtr __retVal__L = Mq.MqFactoryDefault(mkrt, hdl);
276 return MqFactoryC.MqFactoryC_ObjNew(__retVal__L);
277 }
csmqmsgque.MqMsgque Mq

◆ DefaultIdent()

static string csmqmsgque.MqFactoryC.DefaultIdent ( )
inlinestatic

C#: [static] string MqFactoryC.DefaultIdent() C-API
return the factory-identifier of the default MqFactoryC

Definition at line 302 of file MqFactoryC.cs.

302 {
303 IntPtr __retVal__L = Mq.MqFactoryDefaultIdent(IntPtr.Zero);
304 return Marshal.PtrToStringAnsi(__retVal__L);
305 }

◆ Initial()

MqFactoryC csmqmsgque.MqFactoryC.Initial ( )
inline

C#: MqFactoryC fct.Initial() C-API
set the initial-attribut to fct

Definition at line 280 of file MqFactoryC.cs.

280 {
281 IntPtr __retVal__L = Mq.MqFactoryInitial(mkrt, hdl);
282 return MqFactoryC.MqFactoryC_ObjNew(__retVal__L);
283 }

◆ InitialIdent()

static string csmqmsgque.MqFactoryC.InitialIdent ( )
inlinestatic

C#: [static] string MqFactoryC.InitialIdent() C-API
return the factory-identifier of the initial MqFactoryC

Definition at line 308 of file MqFactoryC.cs.

308 {
309 IntPtr __retVal__L = Mq.MqFactoryInitialIdent(IntPtr.Zero);
310 return Marshal.PtrToStringAnsi(__retVal__L);
311 }

◆ LogAll()

static void csmqmsgque.MqFactoryC.LogAll ( [CallerMemberName] string callfunc = null)
inlinestatic

C#: [static] MqFactoryC.LogAll([CallerMemberName]string callfunc = null) C-API
log all "factories" to stderr

Definition at line 314 of file MqFactoryC.cs.

314 {
315 IntPtr callfunc_cstr = Marshal.StringToHGlobalAnsi(callfunc);
316 Mq.MqFactoryLogAll(IntPtr.Zero, callfunc_cstr);
317 Marshal.FreeHGlobal(callfunc_cstr);
318 }

◆ New()

MqContextC csmqmsgque.MqFactoryC.New ( )
inline

C#: MqContextC fct.New() C-API
create a new MqContextC from a MqFactoryC

Definition at line 288 of file MqFactoryC.cs.

288 {
289 IntPtr val_out;
290 MkErrorE errVal = Mq.MqFactoryNew(mkrt, hdl, IntPtr.Zero, out val_out);
291 MkErrorC.Check(hdl, errVal);
292 return MqContextC.MqContextC_ObjNew(val_out);
293 }
static void Check(IntPtr ctx, MkErrorE err)
MkErrorE