theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ConfigApi_Get_CS_API

MqContextC - various function to 'get' the configuration-data from a contextMore...

+ Collaboration diagram for MqContextC_ConfigApi_Get_CS_API:

Functions

MkBufferListC csmqmsgque.MqContextC.ConfigGetIoTcpL ()
  C#: MkBufferListC ctx.ConfigGetIoTcpL() C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC
 
int csmqmsgque.MqContextC.ConfigGetBuffersize ()
  C#: int ctx.ConfigGetBuffersize() C-API
get the minimum of the read/send buffersize of the socket
 
MqIdentE csmqmsgque.MqContextC.ConfigGetIdentFrom ()
  C#: MqIdentE ctx.ConfigGetIdentFrom() C-API
get the MqConfigS.identFrom
 
int csmqmsgque.MqContextC.ConfigGetIoPipe ()
  C#: int ctx.ConfigGetIoPipe() C-API
return the MqIoPipeConfigS
 
string csmqmsgque.MqContextC.ConfigGetIoUds ()
  C#: string ctx.ConfigGetIoUds() C-API
return the MqIoUdsConfigS
 
bool csmqmsgque.MqContextC.ConfigGetIsParent ()
  C#: bool ctx.ConfigGetIsParent() C-API
does the context object is a parent ? An objext is a parent id the MqConfigS.parent attribute is null
 
bool csmqmsgque.MqContextC.ConfigGetIsServer ()
  C#: bool ctx.ConfigGetIsServer() C-API
does the context object is a server ?
 
bool csmqmsgque.MqContextC.ConfigGetIsString ()
  C#: bool ctx.ConfigGetIsString() C-API
does the context object is using the string-mode ?
 
string csmqmsgque.MqContextC.ConfigGetName ()
  C#: string ctx.ConfigGetName() C-API
get the name of the context object
 
int csmqmsgque.MqContextC.ConfigGetPkgsize ()
  C#: int ctx.ConfigGetPkgsize() C-API
get the maximun size of a BDY package
 
string csmqmsgque.MqContextC.ConfigGetPostfix ()
  C#: string ctx.ConfigGetPostfix() C-API
get the MqConfigS.dispPostfix
 
string csmqmsgque.MqContextC.ConfigGetPrefix ()
  C#: string ctx.ConfigGetPrefix() C-API
get the MqConfigS.dispPrefix
 
MqStartE csmqmsgque.MqContextC.ConfigGetStartAs ()
  C#: MqStartE ctx.ConfigGetStartAs() C-API
return the MqConfigS.startAs value
 
MqStatusIsEF csmqmsgque.MqContextC.ConfigGetStatusIs ()
  C#: MqStatusIsEF ctx.ConfigGetStatusIs() C-API
return the MqContextS.statusIs value
 
string csmqmsgque.MqContextC.ConfigGetStorage ()
  C#: string ctx.ConfigGetStorage() C-API
get the storage of the context object
 
long csmqmsgque.MqContextC.ConfigGetTimeout ()
  C#: long ctx.ConfigGetTimeout() C-API
get the timeout value of the context object
 
void csmqmsgque.MqContextC.ConfigSetConfigFile (string filename)
  C#: ctx.ConfigSetConfigFile(string filename) C-API
set the config-file and parse for well-known config-items
 
List< object > csmqmsgque.MqContextC.ConfigGetIoTcp ()
  C#: {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

◆ ConfigGetBuffersize()

int csmqmsgque.MqContextC.ConfigGetBuffersize ( )
inline

C#: int ctx.ConfigGetBuffersize() C-API
get the minimum of the read/send buffersize of the socket

Definition at line 396 of file MqContextC.cs.

396 {
397 Int32 __retVal__L = Mq.MqConfigGetBuffersize(hdl);
398 return __retVal__L;
399 }
csmqmsgque.MqMsgque Mq

◆ ConfigGetIdentFrom()

MqIdentE csmqmsgque.MqContextC.ConfigGetIdentFrom ( )
inline

C#: MqIdentE ctx.ConfigGetIdentFrom() C-API
get the MqConfigS.identFrom

Definition at line 402 of file MqContextC.cs.

402 {
403 MqIdentE __retVal__L = Mq.MqConfigGetIdentFrom(hdl);
404 return __retVal__L;
405 }
MqIdentE
identify the application using prefix (default) or factory …

◆ ConfigGetIoPipe()

int csmqmsgque.MqContextC.ConfigGetIoPipe ( )
inline

C#: int ctx.ConfigGetIoPipe() C-API
return the MqIoPipeConfigS

Definition at line 408 of file MqContextC.cs.

408 {
409 Int32 __retVal__L = Mq.MqConfigGetIoPipe(hdl);
410 return __retVal__L;
411 }

◆ ConfigGetIoTcp()

List< object > csmqmsgque.MqContextC.ConfigGetIoTcp ( )
inline

C#: {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 496 of file MqContextC.cs.

496 {
497 IntPtr host_out;
498 IntPtr port_out;
499 IntPtr myhost_out;
500 IntPtr myport_out;
501 MkErrorE errVal = Mq.MqConfigGetIoTcp(hdl, out host_out, out port_out, out myhost_out, out myport_out);
502 MkErrorC.Check(hdl, errVal);
503 List<object> __retVal__L = new List<object>();
504 __retVal__L.Add(host_out);
505 __retVal__L.Add(port_out);
506 __retVal__L.Add(myhost_out);
507 __retVal__L.Add(myport_out);
508 return __retVal__L;
509 }
static void Check(IntPtr ctx, MkErrorE err)
MkErrorE

◆ ConfigGetIoTcpL()

MkBufferListC csmqmsgque.MqContextC.ConfigGetIoTcpL ( )
inline

C#: MkBufferListC ctx.ConfigGetIoTcpL() C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC

Definition at line 386 of file MqContextC.cs.

386 {
387 IntPtr vals_out;
388 MkErrorE errVal = Mq.MqConfigGetIoTcpL(mkrt, hdl, out vals_out);
389 MkErrorC.Check(hdl, errVal);
390 return MkBufferListC.MkBufferListC_ObjNew(vals_out);
391 }
static MkBufferListC MkBufferListC_ObjNew(IntPtr hdl)

◆ ConfigGetIoUds()

string csmqmsgque.MqContextC.ConfigGetIoUds ( )
inline

C#: string ctx.ConfigGetIoUds() C-API
return the MqIoUdsConfigS

Definition at line 414 of file MqContextC.cs.

414 {
415 IntPtr __retVal__L = Mq.MqConfigGetIoUds(hdl);
416 return Marshal.PtrToStringAnsi(__retVal__L);
417 }

◆ ConfigGetIsParent()

bool csmqmsgque.MqContextC.ConfigGetIsParent ( )
inline

C#: bool ctx.ConfigGetIsParent() C-API
does the context object is a parent ? An objext is a parent id the MqConfigS.parent attribute is null

Definition at line 420 of file MqContextC.cs.

420 {
421 bool __retVal__L = Mq.MqConfigGetIsParent(hdl);
422 return __retVal__L;
423 }

◆ ConfigGetIsServer()

bool csmqmsgque.MqContextC.ConfigGetIsServer ( )
inline

C#: bool ctx.ConfigGetIsServer() C-API
does the context object is a server ?

Definition at line 426 of file MqContextC.cs.

426 {
427 bool __retVal__L = Mq.MqConfigGetIsServer(hdl);
428 return __retVal__L;
429 }

◆ ConfigGetIsString()

bool csmqmsgque.MqContextC.ConfigGetIsString ( )
inline

C#: bool ctx.ConfigGetIsString() C-API
does the context object is using the string-mode ?

Definition at line 432 of file MqContextC.cs.

432 {
433 bool __retVal__L = Mq.MqConfigGetIsString(hdl);
434 return __retVal__L;
435 }

◆ ConfigGetName()

string csmqmsgque.MqContextC.ConfigGetName ( )
inline

C#: string ctx.ConfigGetName() C-API
get the name of the context object

Definition at line 438 of file MqContextC.cs.

438 {
439 IntPtr __retVal__L = Mq.MqConfigGetName(hdl);
440 return Marshal.PtrToStringAnsi(__retVal__L);
441 }

◆ ConfigGetPkgsize()

int csmqmsgque.MqContextC.ConfigGetPkgsize ( )
inline

C#: int ctx.ConfigGetPkgsize() C-API
get the maximun size of a BDY package

Definition at line 444 of file MqContextC.cs.

444 {
445 Int32 __retVal__L = Mq.MqConfigGetPkgsize(hdl);
446 return __retVal__L;
447 }

◆ ConfigGetPostfix()

string csmqmsgque.MqContextC.ConfigGetPostfix ( )
inline

C#: string ctx.ConfigGetPostfix() C-API
get the MqConfigS.dispPostfix

Definition at line 450 of file MqContextC.cs.

450 {
451 IntPtr __retVal__L = Mq.MqConfigGetPostfix(hdl);
452 return Marshal.PtrToStringAnsi(__retVal__L);
453 }

◆ ConfigGetPrefix()

string csmqmsgque.MqContextC.ConfigGetPrefix ( )
inline

C#: string ctx.ConfigGetPrefix() C-API
get the MqConfigS.dispPrefix

Definition at line 456 of file MqContextC.cs.

456 {
457 IntPtr __retVal__L = Mq.MqConfigGetPrefix(hdl);
458 return Marshal.PtrToStringAnsi(__retVal__L);
459 }

◆ ConfigGetStartAs()

MqStartE csmqmsgque.MqContextC.ConfigGetStartAs ( )
inline

C#: MqStartE ctx.ConfigGetStartAs() C-API
return the MqConfigS.startAs value

Definition at line 462 of file MqContextC.cs.

462 {
463 MqStartE __retVal__L = Mq.MqConfigGetStartAs(hdl);
464 return __retVal__L;
465 }
MqStartE
User preferences on HOWTO start a new entity.

◆ ConfigGetStatusIs()

MqStatusIsEF csmqmsgque.MqContextC.ConfigGetStatusIs ( )
inline

C#: MqStatusIsEF ctx.ConfigGetStatusIs() C-API
return the MqContextS.statusIs value

Definition at line 468 of file MqContextC.cs.

468 {
469 MqStatusIsEF __retVal__L = Mq.MqConfigGetStatusIs(hdl);
470 return __retVal__L;
471 }
MqStatusIsEF
Information about how the context was created.

◆ ConfigGetStorage()

string csmqmsgque.MqContextC.ConfigGetStorage ( )
inline

C#: string ctx.ConfigGetStorage() C-API
get the storage of the context object

Definition at line 474 of file MqContextC.cs.

474 {
475 IntPtr __retVal__L = Mq.MqConfigGetStorage(hdl);
476 return Marshal.PtrToStringAnsi(__retVal__L);
477 }

◆ ConfigGetTimeout()

long csmqmsgque.MqContextC.ConfigGetTimeout ( )
inline

C#: long ctx.ConfigGetTimeout() C-API
get the timeout value of the context object

Definition at line 480 of file MqContextC.cs.

480 {
481 long __retVal__L = Mq.MqConfigGetTimeout(hdl);
482 return __retVal__L;
483 }

◆ ConfigSetConfigFile()

void csmqmsgque.MqContextC.ConfigSetConfigFile ( string filename)
inline

C#: ctx.ConfigSetConfigFile(string filename) C-API
set the config-file and parse for well-known config-items

Definition at line 486 of file MqContextC.cs.

486 {
487 IntPtr filename_cstr = Marshal.StringToHGlobalAnsi(filename);
488 MkErrorE errVal = Mq.MqConfigSetConfigFile(mkrt, hdl, filename_cstr);
489 Marshal.FreeHGlobal(filename_cstr);
490 MkErrorC.Check(hdl, errVal);
491 }