theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ConfigApi_Set_CS_API

MqContextC - various function to 'set' the configuration-data in a contextMore...

+ Collaboration diagram for MqContextC_ConfigApi_Set_CS_API:

Functions

bool csmqmsgque.MqContextC.ConfigCheckStartAs (MqStartE data)
  C#: bool ctx.ConfigCheckStartAs(MqStartE data) C-API
check if MqConfigS.startAs can be set to data
 
void csmqmsgque.MqContextC.ConfigSetAllDebug (int data)
  C#: ctx.ConfigSetAllDebug(int data) C-API
set the MkRuntimeS::debug value
 
void csmqmsgque.MqContextC.ConfigSetBuffersize (int data)
  C#: ctx.ConfigSetBuffersize(int data) C-API
set the MqIoConfigS.buffersize value
 
void csmqmsgque.MqContextC.ConfigSetDaemon (string pidfile)
  C#: ctx.ConfigSetDaemon(string pidfile) C-API
start the server-context as daemon …
 
void csmqmsgque.MqContextC.ConfigSetIdentFrom (MqIdentE data)
  C#: ctx.ConfigSetIdentFrom(MqIdentE data) C-API
set the MqConfigS.identFrom value
 
void csmqmsgque.MqContextC.ConfigSetIgnoreExit (bool data)
  C#: ctx.ConfigSetIgnoreExit(bool data) C-API
set the MqSetupS.ignoreExit value
 
void csmqmsgque.MqContextC.ConfigSetIoPipe (int fh)
  C#: ctx.ConfigSetIoPipe(int fh) C-API
set the pipe configuration data …
 
void csmqmsgque.MqContextC.ConfigSetIoTcp (string host=null, string port=null, string myhost=null, string myport=null)
  C#: ctx.ConfigSetIoTcp(string host = null, string port = null, string myhost = null, string myport = null) C-API
configure a context to use a tcp-client-server-link
 
void csmqmsgque.MqContextC.ConfigSetIoTcp (MkBufferListC vals)
  C#: ctx.ConfigSetIoTcp(MkBufferListC vals) C-API
configure a context to use a tcp-client-server-link
 
void csmqmsgque.MqContextC.ConfigSetIoUds (string file)
  C#: ctx.ConfigSetIoUds(string file) C-API
configure a context to use a uds-client-server-link
 
void csmqmsgque.MqContextC.ConfigSetIsServer (bool data)
  C#: ctx.ConfigSetIsServer(bool data) C-API
set the MqSetupS.isServer value
 
void csmqmsgque.MqContextC.ConfigSetIsString (bool data)
  C#: ctx.ConfigSetIsString(bool data) C-API
set the MqConfigS.native value 'S'string or 'L'owEndian or 'B'igEndian
 
void csmqmsgque.MqContextC.ConfigSetName (string data)
  C#: ctx.ConfigSetName(string data) C-API
set the MqConfigS.dispName value and cleanup old value
 
void csmqmsgque.MqContextC.ConfigSetPkgsize (int data)
  C#: ctx.ConfigSetPkgsize(int data) C-API
set the MqIoConfigS.pkgsize value
 
void csmqmsgque.MqContextC.ConfigSetPostfix (string data)
  C#: ctx.ConfigSetPostfix(string data) C-API
set the client-part (2) of the application-identifer MqConfigS.dispName
 
void csmqmsgque.MqContextC.ConfigSetPrefix (string data)
  C#: ctx.ConfigSetPrefix(string data) C-API
set the server-part (1) of the application-identifer MqConfigS.dispName
 
void csmqmsgque.MqContextC.ConfigSetStartAs (MqStartE data)
  C#: ctx.ConfigSetStartAs(MqStartE data) C-API
set the MqConfigS.startAs value
 
void csmqmsgque.MqContextC.ConfigSetStartAsString (string data)
  C#: ctx.ConfigSetStartAsString(string data) C-API
set the MqConfigS.startAs value using string default, thread, fork or spawn
 
void csmqmsgque.MqContextC.ConfigSetStorage (string data)
  C#: ctx.ConfigSetStorage(string data) C-API
set the Storage value and cleanup old value
 
void csmqmsgque.MqContextC.ConfigSetTimeout (long data)
  C#: ctx.ConfigSetTimeout(long data) C-API
set the MqIoConfigS.timeout value
 

Detailed Description

MqContextC - various function to 'set' the configuration-data in a context

Function Documentation

◆ ConfigCheckStartAs()

bool csmqmsgque.MqContextC.ConfigCheckStartAs ( MqStartE data)
inline

C#: bool ctx.ConfigCheckStartAs(MqStartE data) C-API
check if MqConfigS.startAs can be set to data

Definition at line 541 of file MqContextC.cs.

541 {
542 bool __retVal__L = Mq.MqConfigCheckStartAs(hdl, data);
543 return __retVal__L;
544 }
csmqmsgque.MqMsgque Mq

◆ ConfigSetAllDebug()

void csmqmsgque.MqContextC.ConfigSetAllDebug ( int data)
inline

C#: ctx.ConfigSetAllDebug(int data) C-API
set the MkRuntimeS::debug value

Definition at line 547 of file MqContextC.cs.

547 {
548 MkErrorE errVal = Mq.MqConfigSetAllDebug(mkrt, hdl, data);
549 MkErrorC.Check(hdl, errVal);
550 }
static void Check(IntPtr ctx, MkErrorE err)
MkErrorE

◆ ConfigSetBuffersize()

void csmqmsgque.MqContextC.ConfigSetBuffersize ( int data)
inline

C#: ctx.ConfigSetBuffersize(int data) C-API
set the MqIoConfigS.buffersize value

Definition at line 553 of file MqContextC.cs.

553 {
554 Mq.MqConfigSetBuffersize(hdl, data);
555 }

◆ ConfigSetDaemon()

void csmqmsgque.MqContextC.ConfigSetDaemon ( string pidfile)
inline

C#: ctx.ConfigSetDaemon(string pidfile) C-API
start the server-context as daemon …

Definition at line 558 of file MqContextC.cs.

558 {
559 IntPtr pidfile_cstr = Marshal.StringToHGlobalAnsi(pidfile);
560 MkErrorE errVal = Mq.MqConfigSetDaemon(mkrt, hdl, pidfile_cstr);
561 Marshal.FreeHGlobal(pidfile_cstr);
562 MkErrorC.Check(hdl, errVal);
563 }

◆ ConfigSetIdentFrom()

void csmqmsgque.MqContextC.ConfigSetIdentFrom ( MqIdentE data)
inline

C#: ctx.ConfigSetIdentFrom(MqIdentE data) C-API
set the MqConfigS.identFrom value

Definition at line 566 of file MqContextC.cs.

566 {
567 Mq.MqConfigSetIdentFrom(hdl, data);
568 }

◆ ConfigSetIgnoreExit()

void csmqmsgque.MqContextC.ConfigSetIgnoreExit ( bool data)
inline

C#: ctx.ConfigSetIgnoreExit(bool data) C-API
set the MqSetupS.ignoreExit value

Definition at line 571 of file MqContextC.cs.

571 {
572 Mq.MqConfigSetIgnoreExit(hdl, data);
573 }

◆ ConfigSetIoPipe()

void csmqmsgque.MqContextC.ConfigSetIoPipe ( int fh)
inline

C#: ctx.ConfigSetIoPipe(int fh) C-API
set the pipe configuration data …

Definition at line 576 of file MqContextC.cs.

576 {
577 MkErrorE errVal = Mq.MqConfigSetIoPipe(mkrt, hdl, fh);
578 MkErrorC.Check(hdl, errVal);
579 }

◆ ConfigSetIoTcp() [1/2]

void csmqmsgque.MqContextC.ConfigSetIoTcp ( MkBufferListC vals)
inline

C#: ctx.ConfigSetIoTcp(MkBufferListC vals) C-API
configure a context to use a tcp-client-server-link

Definition at line 596 of file MqContextC.cs.

596 {
597 IntPtr vals_hdl = MkBufferListC.getOBJ("MkBufferListC",vals);
598 MkErrorE errVal = Mq.MqConfigSetIoTcpL(mkrt, hdl, vals_hdl);
599 MkErrorC.Check(hdl, errVal);
600 }

◆ ConfigSetIoTcp() [2/2]

void csmqmsgque.MqContextC.ConfigSetIoTcp ( string host = null,
string port = null,
string myhost = null,
string myport = null )
inline

C#: ctx.ConfigSetIoTcp(string host = null, string port = null, string myhost = null, string myport = null) C-API
configure a context to use a tcp-client-server-link

Definition at line 582 of file MqContextC.cs.

582 {
583 IntPtr host_cstr = Marshal.StringToHGlobalAnsi(host);
584 IntPtr port_cstr = Marshal.StringToHGlobalAnsi(port);
585 IntPtr myhost_cstr = Marshal.StringToHGlobalAnsi(myhost);
586 IntPtr myport_cstr = Marshal.StringToHGlobalAnsi(myport);
587 MkErrorE errVal = Mq.MqConfigSetIoTcp(mkrt, hdl, host_cstr, port_cstr, myhost_cstr, myport_cstr);
588 Marshal.FreeHGlobal(host_cstr);
589 Marshal.FreeHGlobal(port_cstr);
590 Marshal.FreeHGlobal(myhost_cstr);
591 Marshal.FreeHGlobal(myport_cstr);
592 MkErrorC.Check(hdl, errVal);
593 }

◆ ConfigSetIoUds()

void csmqmsgque.MqContextC.ConfigSetIoUds ( string file)
inline

C#: ctx.ConfigSetIoUds(string file) C-API
configure a context to use a uds-client-server-link

Definition at line 603 of file MqContextC.cs.

603 {
604 IntPtr file_cstr = Marshal.StringToHGlobalAnsi(file);
605 MkErrorE errVal = Mq.MqConfigSetIoUds(mkrt, hdl, file_cstr);
606 Marshal.FreeHGlobal(file_cstr);
607 MkErrorC.Check(hdl, errVal);
608 }

◆ ConfigSetIsServer()

void csmqmsgque.MqContextC.ConfigSetIsServer ( bool data)
inline

C#: ctx.ConfigSetIsServer(bool data) C-API
set the MqSetupS.isServer value

Definition at line 611 of file MqContextC.cs.

611 {
612 Mq.MqConfigSetIsServer(hdl, data);
613 }

◆ ConfigSetIsString()

void csmqmsgque.MqContextC.ConfigSetIsString ( bool data)
inline

C#: ctx.ConfigSetIsString(bool data) C-API
set the MqConfigS.native value 'S'string or 'L'owEndian or 'B'igEndian

Definition at line 616 of file MqContextC.cs.

616 {
617 Mq.MqConfigSetIsString(hdl, data);
618 }

◆ ConfigSetName()

void csmqmsgque.MqContextC.ConfigSetName ( string data)
inline

C#: ctx.ConfigSetName(string data) C-API
set the MqConfigS.dispName value and cleanup old value

Definition at line 621 of file MqContextC.cs.

621 {
622 IntPtr data_cstr = Marshal.StringToHGlobalAnsi(data);
623 Mq.MqConfigSetName(mkrt, hdl, data_cstr);
624 Marshal.FreeHGlobal(data_cstr);
625 }

◆ ConfigSetPkgsize()

void csmqmsgque.MqContextC.ConfigSetPkgsize ( int data)
inline

C#: ctx.ConfigSetPkgsize(int data) C-API
set the MqIoConfigS.pkgsize value

Definition at line 628 of file MqContextC.cs.

628 {
629 Mq.MqConfigSetPkgsize(hdl, data);
630 }

◆ ConfigSetPostfix()

void csmqmsgque.MqContextC.ConfigSetPostfix ( string data)
inline

C#: ctx.ConfigSetPostfix(string data) C-API
set the client-part (2) of the application-identifer MqConfigS.dispName

Definition at line 633 of file MqContextC.cs.

633 {
634 IntPtr data_cstr = Marshal.StringToHGlobalAnsi(data);
635 Mq.MqConfigSetPostfix(mkrt, hdl, data_cstr);
636 Marshal.FreeHGlobal(data_cstr);
637 }

◆ ConfigSetPrefix()

void csmqmsgque.MqContextC.ConfigSetPrefix ( string data)
inline

C#: ctx.ConfigSetPrefix(string data) C-API
set the server-part (1) of the application-identifer MqConfigS.dispName

Definition at line 640 of file MqContextC.cs.

640 {
641 IntPtr data_cstr = Marshal.StringToHGlobalAnsi(data);
642 Mq.MqConfigSetPrefix(mkrt, hdl, data_cstr);
643 Marshal.FreeHGlobal(data_cstr);
644 }

◆ ConfigSetStartAs()

void csmqmsgque.MqContextC.ConfigSetStartAs ( MqStartE data)
inline

C#: ctx.ConfigSetStartAs(MqStartE data) C-API
set the MqConfigS.startAs value

Definition at line 647 of file MqContextC.cs.

647 {
648 MkErrorE errVal = Mq.MqConfigSetStartAs(hdl, data);
649 MkErrorC.Check(hdl, errVal);
650 }

◆ ConfigSetStartAsString()

void csmqmsgque.MqContextC.ConfigSetStartAsString ( string data)
inline

C#: ctx.ConfigSetStartAsString(string data) C-API
set the MqConfigS.startAs value using string default, thread, fork or spawn

Definition at line 653 of file MqContextC.cs.

653 {
654 IntPtr data_cstr = Marshal.StringToHGlobalAnsi(data);
655 MkErrorE errVal = Mq.MqConfigSetStartAsString(hdl, data_cstr);
656 Marshal.FreeHGlobal(data_cstr);
657 MkErrorC.Check(hdl, errVal);
658 }

◆ ConfigSetStorage()

void csmqmsgque.MqContextC.ConfigSetStorage ( string data)
inline

C#: ctx.ConfigSetStorage(string data) C-API
set the Storage value and cleanup old value

Definition at line 661 of file MqContextC.cs.

661 {
662 IntPtr data_cstr = Marshal.StringToHGlobalAnsi(data);
663 Mq.MqConfigSetStorage(mkrt, hdl, data_cstr);
664 Marshal.FreeHGlobal(data_cstr);
665 }

◆ ConfigSetTimeout()

void csmqmsgque.MqContextC.ConfigSetTimeout ( long data)
inline

C#: ctx.ConfigSetTimeout(long data) C-API
set the MqIoConfigS.timeout value

Definition at line 668 of file MqContextC.cs.

668 {
669 Mq.MqConfigSetTimeout(hdl, data);
670 }