theLink 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - rb - jv - cc
Loading...
Searching...
No Matches
MqMsgque_Enum_C_API

MqMsgque PACKAGE - enum definition … More...

+ Collaboration diagram for MqMsgque_Enum_C_API:

MqHandShakeE

enum  MqHandShakeE { MQ_HANDSHAKE_START = 'S' , MQ_HANDSHAKE_OK = 'O' , MQ_HANDSHAKE_ERROR = 'E' }
 the hand-shake of a service-callMore...
 
MQ_EXTERN MK_STRN MqHandShakeE_ToString (enum MqHandShakeE value)
 return the MqHandShakeE as string …
 
MK_I32 MqHandShakeE_ToInt (enum MqHandShakeE value)
 return the MqHandShakeE as integer …
 
MQ_EXTERN enum MkErrorE MqHandShakeE_FromInt (MK_I32 const value, enum MqHandShakeE *value_out)
 return the MqHandShakeE from integer …
 

MqTransTypeE

enum  MqTransTypeE {
  MQ_TRANS_TYPE_WAIT = 'W' , MQ_TRANS_TYPE_SUB = 'S' , MQ_TRANS_TYPE_CB = 'C' , MQ_TRANS_TYPE_TRANS = 'T' ,
  MQ_TRANS_TYPE_NO = 'N'
}
 the type of the transaction … More...
 
MQ_EXTERN MK_STRN MqTransTypeE_ToString (enum MqTransTypeE value)
 return the MqTransTypeE as string …
 
MK_I32 MqTransTypeE_ToInt (enum MqTransTypeE value)
 return the MqTransTypeE as integer …
 
MQ_EXTERN enum MkErrorE MqTransTypeE_FromInt (MK_I32 const value, enum MqTransTypeE *value_out)
 return the MqTransTypeE from integer …
 

MqIdentE

enum  MqIdentE { MQ_IDENT_PREFIX = 0 , MQ_IDENT_FACTORY = 1 }
 identify the application using prefix (default) or factoryMore...
 
MQ_EXTERN MK_STRN MqIdentE_ToString (enum MqIdentE value)
 return the MqIdentE as string …
 
MK_I32 MqIdentE_ToInt (enum MqIdentE value)
 return the MqIdentE as integer …
 
MQ_EXTERN enum MkErrorE MqIdentE_FromInt (MK_I32 const value, enum MqIdentE *value_out)
 return the MqIdentE from integer …
 

MqStartE

enum  MqStartE { MQ_START_DEFAULT = 0 , MQ_START_FORK = 1 , MQ_START_THREAD = 2 , MQ_START_SPAWN = 3 }
 User preferences on HOWTO start a new entity. More...
 
MQ_EXTERN MK_STRN MqStartE_ToString (enum MqStartE value)
 return the MqStartE as string …
 
MK_I32 MqStartE_ToInt (enum MqStartE value)
 return the MqStartE as integer …
 
MQ_EXTERN enum MkErrorE MqStartE_FromInt (MK_I32 const value, enum MqStartE *value_out)
 return the MqStartE from integer …
 

MqStatusIsEF

enum  MqStatusIsEF {
  MQ_STATUS_IS_INITIAL = 0 , MQ_STATUS_IS_DUP = 1<<0 , MQ_STATUS_IS_THREAD = 1<<1 , MQ_STATUS_IS_FORK = 1<<2 ,
  MQ_STATUS_IS_SPAWN = 1<<3
}
 Information about how the context was created. More...
 
MQ_EXTERN MK_STRN MqStatusIsEF_ToString (enum MqStatusIsEF value)
 return the MqStatusIsEF as string …
 
MK_I32 MqStatusIsEF_ToInt (enum MqStatusIsEF value)
 return the MqStatusIsEF as integer …
 
MQ_EXTERN enum MkErrorE MqStatusIsEF_FromInt (MK_I32 const value, enum MqStatusIsEF *value_out)
 return the MqStatusIsEF from integer …
 

MqFactoryE

enum  MqFactoryE {
  MQ_FACTORY_NEW_INIT = 1<<0 , MQ_FACTORY_NEW_CHILD = 1<<1 , MQ_FACTORY_NEW_SLAVE = 1<<2 , MQ_FACTORY_NEW_FORK = 1<<3 ,
  MQ_FACTORY_NEW_THREAD = 1<<4 , MQ_FACTORY_NEW_FILTER = 1<<5
}
 the factory is called to create an object for ... More...
 
MQ_EXTERN MK_STRN MqFactoryE_ToString (enum MqFactoryE value)
 return the MqFactoryE as string …
 
MK_I32 MqFactoryE_ToInt (enum MqFactoryE value)
 return the MqFactoryE as integer …
 
MQ_EXTERN enum MkErrorE MqFactoryE_FromInt (MK_I32 const value, enum MqFactoryE *value_out)
 return the MqFactoryE from integer …
 

MqIoComE

enum  MqIoComE {
  MQ_IO_PIPE = 0 , MQ_IO_UDS = 1 , MQ_IO_TCP = 2 , MQ_IO_INIT = 3 ,
  MQ_IO_LOOP = 4
}
 what kind of socket interface to use? … More...
 
MQ_EXTERN MK_STRN MqIoComE_ToString (enum MqIoComE value)
 return the MqIoComE as string …
 
MK_I32 MqIoComE_ToInt (enum MqIoComE value)
 return the MqIoComE as integer …
 
MQ_EXTERN enum MkErrorE MqIoComE_FromInt (MK_I32 const value, enum MqIoComE *value_out)
 return the MqIoComE from integer …
 

MqWaitOnEventE

enum  MqWaitOnEventE { MQ_WAIT_NO = 0 , MQ_WAIT_ONCE = 1 , MQ_WAIT_OWN = 2 , MQ_WAIT_FOREVER = 3 }
 wait for an event? … More...
 
MQ_EXTERN MK_STRN MqWaitOnEventE_ToString (enum MqWaitOnEventE value)
 return the MqWaitOnEventE as string …
 
MK_I32 MqWaitOnEventE_ToInt (enum MqWaitOnEventE value)
 return the MqWaitOnEventE as integer …
 
MQ_EXTERN enum MkErrorE MqWaitOnEventE_FromInt (MK_I32 const value, enum MqWaitOnEventE *value_out)
 return the MqWaitOnEventE from integer …
 

MqSlaveE

enum  MqSlaveE {
  MQ_SLAVE_LOOPBACK = 0 , MQ_SLAVE_FILTER = 1 , MQ_SLAVE_MASTER = 1 , MQ_SLAVE_OTHER = 1 ,
  MQ_SLAVE_USER = 10 , MQ_SLAVE_MAX = 1024
}
 predefined slave-id for well known slaves … More...
 
MQ_EXTERN MK_STRN MqSlaveE_ToString (enum MqSlaveE value)
 return the MqSlaveE as string …
 
MK_I32 MqSlaveE_ToInt (enum MqSlaveE value)
 return the MqSlaveE as integer …
 
MQ_EXTERN enum MkErrorE MqSlaveE_FromInt (MK_I32 const value, enum MqSlaveE *value_out)
 return the MqSlaveE from integer …
 

MqMsgque - MqMsgque_Enum_C_API - function

MQ_EXTERN MK_I32 MqIdentE_ToIntP (enum MqIdentE value)
 Non-inline replacement for MqIdentE_ToInt
 
MQ_EXTERN MK_I32 MqSlaveE_ToIntP (enum MqSlaveE value)
 Non-inline replacement for MqSlaveE_ToInt
 
MQ_EXTERN MK_I32 MqStartE_ToIntP (enum MqStartE value)
 Non-inline replacement for MqStartE_ToInt
 
MQ_EXTERN MK_I32 MqStatusIsEF_ToIntP (enum MqStatusIsEF value)
 Non-inline replacement for MqStatusIsEF_ToInt
 
MQ_EXTERN MK_I32 MqWaitOnEventE_ToIntP (enum MqWaitOnEventE value)
 Non-inline replacement for MqWaitOnEventE_ToInt
 

MqMsgque - MqMsgque_Enum_C_API - overload

#define MqFactoryE_FromInt_E(...)
 
#define MqFactoryE_FromInt_C(...)
 
#define MqFactoryE_FromInt_e(...)
 
#define MqHandShakeE_FromInt_E(...)
 
#define MqHandShakeE_FromInt_C(...)
 
#define MqHandShakeE_FromInt_e(...)
 
#define MqIdentE_FromInt_E(...)
 
#define MqIdentE_FromInt_C(...)
 
#define MqIdentE_FromInt_e(...)
 
#define MqIoComE_FromInt_E(...)
 
#define MqIoComE_FromInt_C(...)
 
#define MqIoComE_FromInt_e(...)
 
#define MqSlaveE_FromInt_E(...)
 
#define MqSlaveE_FromInt_C(...)
 
#define MqSlaveE_FromInt_e(...)
 
#define MqStartE_FromInt_E(...)
 
#define MqStartE_FromInt_C(...)
 
#define MqStartE_FromInt_e(...)
 
#define MqStatusIsEF_FromInt_E(...)
 
#define MqStatusIsEF_FromInt_C(...)
 
#define MqStatusIsEF_FromInt_e(...)
 
#define MqTransTypeE_FromInt_E(...)
 
#define MqTransTypeE_FromInt_C(...)
 
#define MqTransTypeE_FromInt_e(...)
 
#define MqWaitOnEventE_FromInt_E(...)
 
#define MqWaitOnEventE_FromInt_C(...)
 
#define MqWaitOnEventE_FromInt_e(...)
 

Detailed Description

MqMsgque PACKAGE - enum definition …

read more at: MkKernel_Enum_C_API

Macro Definition Documentation

◆ MqFactoryE_FromInt_C

#define MqFactoryE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqFactoryE_FromInt(__VA_ARGS__)))
MQ_EXTERN enum MkErrorE MqFactoryE_FromInt(MK_I32 const value, enum MqFactoryE *value_out)
return the MqFactoryE from integer …

Definition at line 1066 of file msgque_overload_mq.h.

◆ MqFactoryE_FromInt_E

#define MqFactoryE_FromInt_E ( ...)
Value:
MkErrorCheck(MqFactoryE_FromInt(__VA_ARGS__))

Definition at line 1065 of file msgque_overload_mq.h.

◆ MqFactoryE_FromInt_e

#define MqFactoryE_FromInt_e ( ...)
Value:
#define MK_EMBEDDED(type, call,...)
MqFactoryE
the factory is called to create an object for ...

Definition at line 1067 of file msgque_overload_mq.h.

◆ MqHandShakeE_FromInt_C

#define MqHandShakeE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqHandShakeE_FromInt(__VA_ARGS__)))
MQ_EXTERN enum MkErrorE MqHandShakeE_FromInt(MK_I32 const value, enum MqHandShakeE *value_out)
return the MqHandShakeE from integer …

Definition at line 1069 of file msgque_overload_mq.h.

◆ MqHandShakeE_FromInt_E

#define MqHandShakeE_FromInt_E ( ...)
Value:
MkErrorCheck(MqHandShakeE_FromInt(__VA_ARGS__))

Definition at line 1068 of file msgque_overload_mq.h.

◆ MqHandShakeE_FromInt_e

#define MqHandShakeE_FromInt_e ( ...)
Value:
MqHandShakeE
the hand-shake of a service-call …

Definition at line 1070 of file msgque_overload_mq.h.

◆ MqIdentE_FromInt_C

#define MqIdentE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqIdentE_FromInt(__VA_ARGS__)))
MQ_EXTERN enum MkErrorE MqIdentE_FromInt(MK_I32 const value, enum MqIdentE *value_out)
return the MqIdentE from integer …

Definition at line 1072 of file msgque_overload_mq.h.

◆ MqIdentE_FromInt_E

#define MqIdentE_FromInt_E ( ...)
Value:
MkErrorCheck(MqIdentE_FromInt(__VA_ARGS__))

Definition at line 1071 of file msgque_overload_mq.h.

◆ MqIdentE_FromInt_e

#define MqIdentE_FromInt_e ( ...)
Value:
MqIdentE
identify the application using prefix (default) or factory …

Definition at line 1073 of file msgque_overload_mq.h.

◆ MqIoComE_FromInt_C

#define MqIoComE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqIoComE_FromInt(__VA_ARGS__)))
MQ_EXTERN enum MkErrorE MqIoComE_FromInt(MK_I32 const value, enum MqIoComE *value_out)
return the MqIoComE from integer …

Definition at line 1075 of file msgque_overload_mq.h.

◆ MqIoComE_FromInt_E

#define MqIoComE_FromInt_E ( ...)
Value:
MkErrorCheck(MqIoComE_FromInt(__VA_ARGS__))

Definition at line 1074 of file msgque_overload_mq.h.

◆ MqIoComE_FromInt_e

#define MqIoComE_FromInt_e ( ...)
Value:
MqIoComE
what kind of socket interface to use? …

Definition at line 1076 of file msgque_overload_mq.h.

◆ MqSlaveE_FromInt_C

#define MqSlaveE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqSlaveE_FromInt(__VA_ARGS__)))
MQ_EXTERN enum MkErrorE MqSlaveE_FromInt(MK_I32 const value, enum MqSlaveE *value_out)
return the MqSlaveE from integer …

Definition at line 1078 of file msgque_overload_mq.h.

◆ MqSlaveE_FromInt_E

#define MqSlaveE_FromInt_E ( ...)
Value:
MkErrorCheck(MqSlaveE_FromInt(__VA_ARGS__))

Definition at line 1077 of file msgque_overload_mq.h.

◆ MqSlaveE_FromInt_e

#define MqSlaveE_FromInt_e ( ...)
Value:
MqSlaveE
predefined slave-id for well known slaves …

Definition at line 1079 of file msgque_overload_mq.h.

◆ MqStartE_FromInt_C

#define MqStartE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqStartE_FromInt(__VA_ARGS__)))
MQ_EXTERN enum MkErrorE MqStartE_FromInt(MK_I32 const value, enum MqStartE *value_out)
return the MqStartE from integer …

Definition at line 1081 of file msgque_overload_mq.h.

◆ MqStartE_FromInt_E

#define MqStartE_FromInt_E ( ...)
Value:
MkErrorCheck(MqStartE_FromInt(__VA_ARGS__))

Definition at line 1080 of file msgque_overload_mq.h.

◆ MqStartE_FromInt_e

#define MqStartE_FromInt_e ( ...)
Value:
MqStartE
User preferences on HOWTO start a new entity.

Definition at line 1082 of file msgque_overload_mq.h.

◆ MqStatusIsEF_FromInt_C

#define MqStatusIsEF_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqStatusIsEF_FromInt(__VA_ARGS__)))
MQ_EXTERN enum MkErrorE MqStatusIsEF_FromInt(MK_I32 const value, enum MqStatusIsEF *value_out)
return the MqStatusIsEF from integer …

Definition at line 1084 of file msgque_overload_mq.h.

◆ MqStatusIsEF_FromInt_E

#define MqStatusIsEF_FromInt_E ( ...)
Value:
MkErrorCheck(MqStatusIsEF_FromInt(__VA_ARGS__))

Definition at line 1083 of file msgque_overload_mq.h.

◆ MqStatusIsEF_FromInt_e

#define MqStatusIsEF_FromInt_e ( ...)
Value:
MqStatusIsEF
Information about how the context was created.

Definition at line 1085 of file msgque_overload_mq.h.

◆ MqTransTypeE_FromInt_C

#define MqTransTypeE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqTransTypeE_FromInt(__VA_ARGS__)))
MQ_EXTERN enum MkErrorE MqTransTypeE_FromInt(MK_I32 const value, enum MqTransTypeE *value_out)
return the MqTransTypeE from integer …

Definition at line 1087 of file msgque_overload_mq.h.

◆ MqTransTypeE_FromInt_E

#define MqTransTypeE_FromInt_E ( ...)
Value:
MkErrorCheck(MqTransTypeE_FromInt(__VA_ARGS__))

Definition at line 1086 of file msgque_overload_mq.h.

◆ MqTransTypeE_FromInt_e

#define MqTransTypeE_FromInt_e ( ...)
Value:
MqTransTypeE
the type of the transaction …

Definition at line 1088 of file msgque_overload_mq.h.

◆ MqWaitOnEventE_FromInt_C

#define MqWaitOnEventE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqWaitOnEventE_FromInt(__VA_ARGS__)))
MQ_EXTERN enum MkErrorE MqWaitOnEventE_FromInt(MK_I32 const value, enum MqWaitOnEventE *value_out)
return the MqWaitOnEventE from integer …

Definition at line 1090 of file msgque_overload_mq.h.

◆ MqWaitOnEventE_FromInt_E

#define MqWaitOnEventE_FromInt_E ( ...)
Value:
MkErrorCheck(MqWaitOnEventE_FromInt(__VA_ARGS__))

Definition at line 1089 of file msgque_overload_mq.h.

◆ MqWaitOnEventE_FromInt_e

#define MqWaitOnEventE_FromInt_e ( ...)
Value:
MqWaitOnEventE
wait for an event? …

Definition at line 1091 of file msgque_overload_mq.h.

Enumeration Type Documentation

◆ MqFactoryE

enum MqFactoryE

the factory is called to create an object for ...

Enumerator
MQ_FACTORY_NEW_INIT 

initial object, nothing else is known

MQ_FACTORY_NEW_CHILD 

create object as a child of an other object

MQ_FACTORY_NEW_SLAVE 

create object as a slave of an other object

MQ_FACTORY_NEW_FORK 

create object as a fork process

MQ_FACTORY_NEW_THREAD 

create object as a thread

MQ_FACTORY_NEW_FILTER 

create object as a filter

Definition at line 1453 of file LibMqMsgque_mq.h.

1453 {
1454 MQ_FACTORY_NEW_INIT = 1<<0,
1455 MQ_FACTORY_NEW_CHILD = 1<<1,
1456 MQ_FACTORY_NEW_SLAVE = 1<<2,
1457 MQ_FACTORY_NEW_FORK = 1<<3,
1458 MQ_FACTORY_NEW_THREAD = 1<<4,
1459 MQ_FACTORY_NEW_FILTER = 1<<5
1460};
@ MQ_FACTORY_NEW_FILTER
create object as a filter
@ MQ_FACTORY_NEW_FORK
create object as a fork process
@ MQ_FACTORY_NEW_THREAD
create object as a thread
@ MQ_FACTORY_NEW_INIT
initial object, nothing else is known
@ MQ_FACTORY_NEW_SLAVE
create object as a slave of an other object
@ MQ_FACTORY_NEW_CHILD
create object as a child of an other object

◆ MqHandShakeE

the hand-shake of a service-call

Enumerator
MQ_HANDSHAKE_START 

direction: client -> server

'S' = start

MQ_HANDSHAKE_OK 

direction: server -> client

'O' = ok

MQ_HANDSHAKE_ERROR 

direction: server -> client

'E' = error

Definition at line 619 of file LibMqMsgque_mq.h.

619 {
621 MQ_HANDSHAKE_START = 'S',
623 MQ_HANDSHAKE_OK = 'O',
625 MQ_HANDSHAKE_ERROR = 'E',
626};
@ MQ_HANDSHAKE_OK
direction: server -> client
@ MQ_HANDSHAKE_START
direction: client -> server
@ MQ_HANDSHAKE_ERROR
direction: server -> client

◆ MqIdentE

enum MqIdentE

identify the application using prefix (default) or factory

See also
MqConfigGetIdentFrom, MqConfigSetIdentFrom, MqIdentE_ToString
Enumerator
MQ_IDENT_PREFIX 

value from MqConfigS::prefix

MQ_IDENT_FACTORY 

value from MqFactoryS::originalIdent

Definition at line 700 of file LibMqMsgque_mq.h.

700 {
701 MQ_IDENT_PREFIX = 0 ,
703};
@ MQ_IDENT_FACTORY
value from MqFactoryS::originalIdent
@ MQ_IDENT_PREFIX
value from MqConfigS::prefix

◆ MqIoComE

enum MqIoComE

what kind of socket interface to use? …

Enumerator
MQ_IO_PIPE 

using a pipe socket (most internal usage)

MQ_IO_UDS 

using a uds socket

MQ_IO_TCP 

using a tcp socket

MQ_IO_INIT 

using stdin and stdout

MQ_IO_LOOP 

using pipe socket as stdin and stdout

Definition at line 1492 of file LibMqMsgque_mq.h.

1492 {
1493 MQ_IO_PIPE = 0,
1494 MQ_IO_UDS = 1,
1495 MQ_IO_TCP = 2,
1496 MQ_IO_INIT = 3,
1497 MQ_IO_LOOP = 4,
1498};
@ MQ_IO_UDS
using a uds socket
@ MQ_IO_LOOP
using pipe socket as stdin and stdout
@ MQ_IO_PIPE
using a pipe socket (most internal usage)
@ MQ_IO_INIT
using stdin and stdout
@ MQ_IO_TCP
using a tcp socket

◆ MqSlaveE

enum MqSlaveE

predefined slave-id for well known slaves …

__parser__(enum-accept-integer=int32)
enum MqSlaveE {
MQ_SLAVE_MAX = 1024,
};
See also
MqServiceProxy, MqSlaveWorker, MqSlaveCreate, MqSlaveDelete, MqSlaveCheck, MqSlaveGet, MqSlaveGetProxy
Enumerator
MQ_SLAVE_LOOPBACK 

internal: the loopback-slave-id, (call my own services)

MQ_SLAVE_FILTER 

internal: the filter-slave-id, (on a master get the filter-slave)

MQ_SLAVE_MASTER 

internal: the master-slave-id, (on a slave get the master)

MQ_SLAVE_OTHER 

internal: on the master-ctx get the slave-ctx and on the slave-ctx get the master-ctx

MQ_SLAVE_USER 

internal: start of user-defined-slave-id

MQ_SLAVE_MAX 

internal: the maximum slave-id

Attention
this number can be changed but libmqmsgque have to be recompiled after

Definition at line 1604 of file LibMqMsgque_mq.h.

1604 {
1605 MQ_SLAVE_LOOPBACK = 0,
1606 MQ_SLAVE_FILTER = 1,
1607 MQ_SLAVE_MASTER = 1,
1608 MQ_SLAVE_OTHER = 1,
1609 MQ_SLAVE_USER = 10,
1610
1613 MQ_SLAVE_MAX = 1024,
1614};
@ MQ_SLAVE_OTHER
internal: on the master-ctx get the slave-ctx and on the slave-ctx get the master-ctx
@ MQ_SLAVE_FILTER
internal: the filter-slave-id, (on a master get the filter-slave)
@ MQ_SLAVE_USER
internal: start of user-defined-slave-id
@ MQ_SLAVE_MASTER
internal: the master-slave-id, (on a slave get the master)
@ MQ_SLAVE_LOOPBACK
internal: the loopback-slave-id, (call my own services)
@ MQ_SLAVE_MAX
internal: the maximum slave-id …

◆ MqStartE

enum MqStartE

User preferences on HOWTO start a new entity.

See also
MqConfigSetStartAs, MqConfigCheckStartAs, MqConfigGetStartAs, MqStartE_ToString
Enumerator
MQ_START_DEFAULT 

use application-context default entity creation

MQ_START_FORK 

create entity as fork

MQ_START_THREAD 

create entity as thread

MQ_START_SPAWN 

create entity as spawn process

Definition at line 1372 of file LibMqMsgque_mq.h.

1372 {
1373 MQ_START_DEFAULT = 0,
1374 MQ_START_FORK = 1,
1375 MQ_START_THREAD = 2,
1376 MQ_START_SPAWN = 3,
1377};
@ MQ_START_SPAWN
create entity as spawn process
@ MQ_START_DEFAULT
use application-context default entity creation
@ MQ_START_THREAD
create entity as thread
@ MQ_START_FORK
create entity as fork

◆ MqStatusIsEF

Information about how the context was created.

See also
MqConfigGetStatusIs, MqStatusIsEF_ToString
Enumerator
MQ_STATUS_IS_INITIAL 

context is the first context

MQ_STATUS_IS_DUP 

context is created as a duplicate of an other context

MQ_STATUS_IS_THREAD 

context is created as a thread

MQ_STATUS_IS_FORK 

context is created as a fork

MQ_STATUS_IS_SPAWN 

context is created as a spawn

Definition at line 1414 of file LibMqMsgque_mq.h.

1414 {
1416 MQ_STATUS_IS_DUP = 1<<0,
1417 MQ_STATUS_IS_THREAD = 1<<1,
1418 MQ_STATUS_IS_FORK = 1<<2,
1419 MQ_STATUS_IS_SPAWN = 1<<3,
1420};
@ MQ_STATUS_IS_FORK
context is created as a fork
@ MQ_STATUS_IS_DUP
context is created as a duplicate of an other context
@ MQ_STATUS_IS_THREAD
context is created as a thread
@ MQ_STATUS_IS_INITIAL
context is the first context
@ MQ_STATUS_IS_SPAWN
context is created as a spawn

◆ MqTransTypeE

the type of the transaction …

Enumerator
MQ_TRANS_TYPE_WAIT 

'W' = MqSendEND_AND_WAIT

MQ_TRANS_TYPE_SUB 

'S' = MqSendEND_AND_SUB

MQ_TRANS_TYPE_CB 

'C' = MqSendEND_AND_CALLBACK

MQ_TRANS_TYPE_TRANS 

'T' = MqSendEND_AND_TRANSACTION

MQ_TRANS_TYPE_NO 

'N' = MqSendEND

Definition at line 658 of file LibMqMsgque_mq.h.

658 {
659 MQ_TRANS_TYPE_WAIT = 'W' ,
660 MQ_TRANS_TYPE_SUB = 'S' ,
661 MQ_TRANS_TYPE_CB = 'C' ,
662 MQ_TRANS_TYPE_TRANS = 'T' ,
663 MQ_TRANS_TYPE_NO = 'N' ,
664};
@ MQ_TRANS_TYPE_WAIT
'W' = MqSendEND_AND_WAIT
@ MQ_TRANS_TYPE_SUB
'S' = MqSendEND_AND_SUB
@ MQ_TRANS_TYPE_CB
'C' = MqSendEND_AND_CALLBACK
@ MQ_TRANS_TYPE_NO
'N' = MqSendEND
@ MQ_TRANS_TYPE_TRANS
'T' = MqSendEND_AND_TRANSACTION

◆ MqWaitOnEventE

wait for an event? …

See also
MqProcessEvent
Enumerator
MQ_WAIT_NO 

Check for one event but do not wait …

If an event is available process the event, but only one. If no event is available return with MK_CONTINUE. This is the default.

MQ_WAIT_ONCE 

Wait maximum timeout seconds for one new event, doesn't matter which context the event belongs to or raise an timeout-error


attention: During serving an event and this event uses the MqContextC SEND API or an other MqProcessEvent … an additional event could be served as well.


error: An asynchronous error (_ERR) always belong to the parent-context of the socket connection

MQ_WAIT_OWN 

Wait maximum timeout seconds for one new event that belongs to the current context or raise an timeout-error


error: An asynchronous error (_ERR) always belong to the parent-context of the socket connection

MQ_WAIT_FOREVER 

Wait maximum timeout seconds for an event or raise an timeout-error

  • If an event was found process the event.
  • If an event was not found, raise a timeout-error. After the event was processed continue to listen for a the new event.

This function will only come back on error or on exit.

Definition at line 1534 of file LibMqMsgque_mq.h.

1534 {
1539 MQ_WAIT_NO = 0,
1549 MQ_WAIT_ONCE = 1,
1556 MQ_WAIT_OWN = 2,
1564 MQ_WAIT_FOREVER = 3,
1565};
@ MQ_WAIT_ONCE
Wait maximum timeout seconds for one new event, doesn't matter which context the event belongs to or ...
@ MQ_WAIT_OWN
Wait maximum timeout seconds for one new event that belongs to the current context or raise an timeou...
@ MQ_WAIT_NO
Check for one event but do not wait …
@ MQ_WAIT_FOREVER
Wait maximum timeout seconds for an event or raise an timeout-error …

Function Documentation

◆ MqFactoryE_FromInt()

MQ_EXTERN enum MkErrorE MqFactoryE_FromInt ( MK_I32 const value,
enum MqFactoryE * value_out )

return the MqFactoryE from integer …

◆ MqFactoryE_ToInt()

MK_I32 MqFactoryE_ToInt ( enum MqFactoryE value)
inline

return the MqFactoryE as integer …

Definition at line 1473 of file LibMqMsgque_mq.h.

1473 {
1474 return (MK_I32) value;
1475}
signed int MK_I32

◆ MqFactoryE_ToString()

MQ_EXTERN MK_STRN MqFactoryE_ToString ( enum MqFactoryE value)

return the MqFactoryE as string …

◆ MqHandShakeE_FromInt()

MQ_EXTERN enum MkErrorE MqHandShakeE_FromInt ( MK_I32 const value,
enum MqHandShakeE * value_out )

return the MqHandShakeE from integer …

◆ MqHandShakeE_ToInt()

MK_I32 MqHandShakeE_ToInt ( enum MqHandShakeE value)
inline

return the MqHandShakeE as integer …

Definition at line 639 of file LibMqMsgque_mq.h.

639 {
640 return (MK_I32) value;
641}

◆ MqHandShakeE_ToString()

MQ_EXTERN MK_STRN MqHandShakeE_ToString ( enum MqHandShakeE value)

return the MqHandShakeE as string …

◆ MqIdentE_FromInt()

MQ_EXTERN enum MkErrorE MqIdentE_FromInt ( MK_I32 const value,
enum MqIdentE * value_out )

return the MqIdentE from integer …

◆ MqIdentE_ToInt()

MK_I32 MqIdentE_ToInt ( enum MqIdentE value)
inline

return the MqIdentE as integer …

Definition at line 717 of file LibMqMsgque_mq.h.

717 {
718 return (MK_I32) value;
719}

◆ MqIdentE_ToIntP()

MQ_EXTERN MK_I32 MqIdentE_ToIntP ( enum MqIdentE value)

Non-inline replacement for MqIdentE_ToInt

◆ MqIdentE_ToString()

MQ_EXTERN MK_STRN MqIdentE_ToString ( enum MqIdentE value)

return the MqIdentE as string …

◆ MqIoComE_FromInt()

MQ_EXTERN enum MkErrorE MqIoComE_FromInt ( MK_I32 const value,
enum MqIoComE * value_out )

return the MqIoComE from integer …

◆ MqIoComE_ToInt()

MK_I32 MqIoComE_ToInt ( enum MqIoComE value)
inline

return the MqIoComE as integer …

Definition at line 1511 of file LibMqMsgque_mq.h.

1511 {
1512 return (MK_I32) value;
1513}

◆ MqIoComE_ToString()

MQ_EXTERN MK_STRN MqIoComE_ToString ( enum MqIoComE value)

return the MqIoComE as string …

◆ MqSlaveE_FromInt()

MQ_EXTERN enum MkErrorE MqSlaveE_FromInt ( MK_I32 const value,
enum MqSlaveE * value_out )

return the MqSlaveE from integer …

◆ MqSlaveE_ToInt()

MK_I32 MqSlaveE_ToInt ( enum MqSlaveE value)
inline

return the MqSlaveE as integer …

Definition at line 1628 of file LibMqMsgque_mq.h.

1628 {
1629 return (MK_I32) value;
1630}

◆ MqSlaveE_ToIntP()

MQ_EXTERN MK_I32 MqSlaveE_ToIntP ( enum MqSlaveE value)

Non-inline replacement for MqSlaveE_ToInt

◆ MqSlaveE_ToString()

MQ_EXTERN MK_STRN MqSlaveE_ToString ( enum MqSlaveE value)

return the MqSlaveE as string …

◆ MqStartE_FromInt()

MQ_EXTERN enum MkErrorE MqStartE_FromInt ( MK_I32 const value,
enum MqStartE * value_out )

return the MqStartE from integer …

◆ MqStartE_ToInt()

MK_I32 MqStartE_ToInt ( enum MqStartE value)
inline

return the MqStartE as integer …

Definition at line 1391 of file LibMqMsgque_mq.h.

1391 {
1392 return (MK_I32) value;
1393}

◆ MqStartE_ToIntP()

MQ_EXTERN MK_I32 MqStartE_ToIntP ( enum MqStartE value)

Non-inline replacement for MqStartE_ToInt

◆ MqStartE_ToString()

MQ_EXTERN MK_STRN MqStartE_ToString ( enum MqStartE value)

return the MqStartE as string …

◆ MqStatusIsEF_FromInt()

MQ_EXTERN enum MkErrorE MqStatusIsEF_FromInt ( MK_I32 const value,
enum MqStatusIsEF * value_out )

return the MqStatusIsEF from integer …

◆ MqStatusIsEF_ToInt()

MK_I32 MqStatusIsEF_ToInt ( enum MqStatusIsEF value)
inline

return the MqStatusIsEF as integer …

Definition at line 1434 of file LibMqMsgque_mq.h.

1434 {
1435 return (MK_I32) value;
1436}

◆ MqStatusIsEF_ToIntP()

MQ_EXTERN MK_I32 MqStatusIsEF_ToIntP ( enum MqStatusIsEF value)

Non-inline replacement for MqStatusIsEF_ToInt

◆ MqStatusIsEF_ToString()

MQ_EXTERN MK_STRN MqStatusIsEF_ToString ( enum MqStatusIsEF value)

return the MqStatusIsEF as string …

◆ MqTransTypeE_FromInt()

MQ_EXTERN enum MkErrorE MqTransTypeE_FromInt ( MK_I32 const value,
enum MqTransTypeE * value_out )

return the MqTransTypeE from integer …

◆ MqTransTypeE_ToInt()

MK_I32 MqTransTypeE_ToInt ( enum MqTransTypeE value)
inline

return the MqTransTypeE as integer …

Definition at line 677 of file LibMqMsgque_mq.h.

677 {
678 return (MK_I32) value;
679}

◆ MqTransTypeE_ToString()

MQ_EXTERN MK_STRN MqTransTypeE_ToString ( enum MqTransTypeE value)

return the MqTransTypeE as string …

◆ MqWaitOnEventE_FromInt()

MQ_EXTERN enum MkErrorE MqWaitOnEventE_FromInt ( MK_I32 const value,
enum MqWaitOnEventE * value_out )

return the MqWaitOnEventE from integer …

◆ MqWaitOnEventE_ToInt()

MK_I32 MqWaitOnEventE_ToInt ( enum MqWaitOnEventE value)
inline

return the MqWaitOnEventE as integer …

Definition at line 1579 of file LibMqMsgque_mq.h.

1579 {
1580 return (MK_I32) value;
1581}

◆ MqWaitOnEventE_ToIntP()

MQ_EXTERN MK_I32 MqWaitOnEventE_ToIntP ( enum MqWaitOnEventE value)

Non-inline replacement for MqWaitOnEventE_ToInt

◆ MqWaitOnEventE_ToString()

MQ_EXTERN MK_STRN MqWaitOnEventE_ToString ( enum MqWaitOnEventE value)

return the MqWaitOnEventE as string …