Loading...
Searching...
No Matches
MqMsgque_Enum_C_API

MqMsgque PACKAGE - enum definition … More...

+ Collaboration diagram for MqMsgque_Enum_C_API:

MqHandShakeE

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

MqTransTypeE

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

MqIdentE

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

MqStartE

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

MqStatusIsEF

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

MqFactoryE

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

MqIoComE

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

MqWaitOnEventE

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

MqSlaveE

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

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__)))

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:
MK_EMBEDDED(enum MqFactoryE,MqFactoryE_FromInt,__VA_ARGS__)
#define MK_EMBEDDED(type, call,...)

Definition at line 1067 of file msgque_overload_mq.h.

◆ MqHandShakeE_FromInt_C

#define MqHandShakeE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqHandShakeE_FromInt(__VA_ARGS__)))

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:
MK_EMBEDDED(enum MqHandShakeE,MqHandShakeE_FromInt,__VA_ARGS__)

Definition at line 1070 of file msgque_overload_mq.h.

◆ MqIdentE_FromInt_C

#define MqIdentE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqIdentE_FromInt(__VA_ARGS__)))

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:
MK_EMBEDDED(enum MqIdentE,MqIdentE_FromInt,__VA_ARGS__)

Definition at line 1073 of file msgque_overload_mq.h.

◆ MqIoComE_FromInt_C

#define MqIoComE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqIoComE_FromInt(__VA_ARGS__)))

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:
MK_EMBEDDED(enum MqIoComE,MqIoComE_FromInt,__VA_ARGS__)

Definition at line 1076 of file msgque_overload_mq.h.

◆ MqSlaveE_FromInt_C

#define MqSlaveE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqSlaveE_FromInt(__VA_ARGS__)))

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:
MK_EMBEDDED(enum MqSlaveE,MqSlaveE_FromInt,__VA_ARGS__)

Definition at line 1079 of file msgque_overload_mq.h.

◆ MqStartE_FromInt_C

#define MqStartE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqStartE_FromInt(__VA_ARGS__)))

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:
MK_EMBEDDED(enum MqStartE,MqStartE_FromInt,__VA_ARGS__)

Definition at line 1082 of file msgque_overload_mq.h.

◆ MqStatusIsEF_FromInt_C

#define MqStatusIsEF_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqStatusIsEF_FromInt(__VA_ARGS__)))

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:
MK_EMBEDDED(enum MqStatusIsEF,MqStatusIsEF_FromInt,__VA_ARGS__)

Definition at line 1085 of file msgque_overload_mq.h.

◆ MqTransTypeE_FromInt_C

#define MqTransTypeE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqTransTypeE_FromInt(__VA_ARGS__)))

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:
MK_EMBEDDED(enum MqTransTypeE,MqTransTypeE_FromInt,__VA_ARGS__)

Definition at line 1088 of file msgque_overload_mq.h.

◆ MqWaitOnEventE_FromInt_C

#define MqWaitOnEventE_FromInt_C ( ...)
Value:
if (MkErrorCheckI(MqWaitOnEventE_FromInt(__VA_ARGS__)))

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:
MK_EMBEDDED(enum MqWaitOnEventE,MqWaitOnEventE_FromInt,__VA_ARGS__)

Definition at line 1091 of file msgque_overload_mq.h.

Enumeration Type Documentation

◆ 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 1445 of file LibMqMsgque_mq.h.

1445 {
1446 MQ_FACTORY_NEW_INIT = 1<<0,
1447 MQ_FACTORY_NEW_CHILD = 1<<1,
1448 MQ_FACTORY_NEW_SLAVE = 1<<2,
1449 MQ_FACTORY_NEW_FORK = 1<<3,
1450 MQ_FACTORY_NEW_THREAD = 1<<4,
1451 MQ_FACTORY_NEW_FILTER = 1<<5
1452};
@ 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_FILTER
create object as a filter
@ 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

◆ 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 620 of file LibMqMsgque_mq.h.

620 {
622 MQ_HANDSHAKE_START = 'S',
624 MQ_HANDSHAKE_OK = 'O',
626 MQ_HANDSHAKE_ERROR = 'E',
627};
@ MQ_HANDSHAKE_START
direction: client -> server
@ MQ_HANDSHAKE_ERROR
direction: server -> client
@ MQ_HANDSHAKE_OK
direction: server -> client

◆ MqIdentE

identify the application using prefix (default) or factory

See also
MqConfigGetIdentFrom, MqConfigSetIdentFrom, MqIdentE_ToString
Enumerator
MQ_IDENT_PREFIX 

value from libmqmsgque::MqConfigS::prefix

MQ_IDENT_FACTORY 

value from libmqmsgque::MqFactoryS::originalIdent

Definition at line 699 of file LibMqMsgque_mq.h.

699 {
700 MQ_IDENT_PREFIX = 0 ,
702};
@ MQ_IDENT_FACTORY
value from libmqmsgque::MqFactoryS::originalIdent
@ MQ_IDENT_PREFIX
value from libmqmsgque::MqConfigS::prefix

◆ 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 1483 of file LibMqMsgque_mq.h.

1483 {
1484 MQ_IO_PIPE = 0,
1485 MQ_IO_UDS = 1,
1486 MQ_IO_TCP = 2,
1487 MQ_IO_INIT = 3,
1488 MQ_IO_LOOP = 4,
1489};
@ MQ_IO_LOOP
using pipe socket as stdin and stdout
@ MQ_IO_INIT
using stdin and stdout
@ MQ_IO_PIPE
using a pipe socket (most internal usage)
@ MQ_IO_UDS
using a uds socket
@ MQ_IO_TCP
using a tcp socket

◆ 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 ccmqmsgque have to be recompiled after

Definition at line 1593 of file LibMqMsgque_mq.h.

1593 {
1594 MQ_SLAVE_LOOPBACK = 0,
1595 MQ_SLAVE_FILTER = 1,
1596 MQ_SLAVE_MASTER = 1,
1597 MQ_SLAVE_OTHER = 1,
1598 MQ_SLAVE_USER = 10,
1599
1602 MQ_SLAVE_MAX = 1024,
1603};
@ 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_LOOPBACK
internal: the loopback-slave-id, (call my own services)
@ MQ_SLAVE_MASTER
internal: the master-slave-id, (on a slave get the master)
@ MQ_SLAVE_MAX
internal: the maximum slave-id …
@ MQ_SLAVE_OTHER
internal: on the master-ctx get the slave-ctx and on the slave-ctx get the master-ctx

◆ MqStartE

User preferences on HOWTO start a new entity.

enum MqStartE {
};
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 1366 of file LibMqMsgque_mq.h.

1366 {
1367 MQ_START_DEFAULT = 0,
1368 MQ_START_FORK = 1,
1369 MQ_START_THREAD = 2,
1370 MQ_START_SPAWN = 3,
1371};
@ MQ_START_SPAWN
create entity as spawn process
@ MQ_START_THREAD
create entity as thread
@ MQ_START_FORK
create entity as fork
@ MQ_START_DEFAULT
use application-context default entity creation

◆ 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 1407 of file LibMqMsgque_mq.h.

1407 {
1409 MQ_STATUS_IS_DUP = 1<<0,
1410 MQ_STATUS_IS_THREAD = 1<<1,
1411 MQ_STATUS_IS_FORK = 1<<2,
1412 MQ_STATUS_IS_SPAWN = 1<<3,
1413};
@ 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_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_TRANS
'T' = MqSendEND_AND_TRANSACTION
@ MQ_TRANS_TYPE_NO
'N' = MqSendEND
@ MQ_TRANS_TYPE_SUB
'S' = MqSendEND_AND_SUB
@ MQ_TRANS_TYPE_WAIT
'W' = MqSendEND_AND_WAIT
@ MQ_TRANS_TYPE_CB
'C' = MqSendEND_AND_CALLBACK

◆ 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 libmkkernel::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 1524 of file LibMqMsgque_mq.h.

1524 {
1529 MQ_WAIT_NO = 0,
1539 MQ_WAIT_ONCE = 1,
1546 MQ_WAIT_OWN = 2,
1554 MQ_WAIT_FOREVER = 3,
1555};
@ 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 …
@ 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...

Function Documentation

◆ MqFactoryE_FromInt()

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

return the MqFactoryE from integer …

◆ MqFactoryE_ToInt()

MK_I32 libmqmsgque::MqFactoryE_ToInt ( enum MqFactoryE value)
inline

return the MqFactoryE as integer …

Definition at line 1464 of file LibMqMsgque_mq.h.

1464 {
1465 return (MK_I32) value;
1466}

◆ MqFactoryE_ToString()

MQ_EXTERN MK_STRN libmqmsgque::MqFactoryE_ToString ( enum MqFactoryE value)

return the MqFactoryE as string …

◆ MqHandShakeE_FromInt()

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

return the MqHandShakeE from integer …

◆ MqHandShakeE_ToInt()

MK_I32 libmqmsgque::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 libmqmsgque::MqHandShakeE_ToString ( enum MqHandShakeE value)

return the MqHandShakeE as string …

◆ MqIdentE_FromInt()

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

return the MqIdentE from integer …

+ Here is the caller graph for this function:

◆ MqIdentE_ToInt()

MK_I32 libmqmsgque::MqIdentE_ToInt ( enum MqIdentE value)
inline

return the MqIdentE as integer …

Definition at line 715 of file LibMqMsgque_mq.h.

715 {
716 return (MK_I32) value;
717}
+ Here is the caller graph for this function:

◆ MqIdentE_ToString()

MQ_EXTERN MK_STRN libmqmsgque::MqIdentE_ToString ( enum MqIdentE value)

return the MqIdentE as string …

+ Here is the caller graph for this function:

◆ MqIoComE_FromInt()

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

return the MqIoComE from integer …

◆ MqIoComE_ToInt()

MK_I32 libmqmsgque::MqIoComE_ToInt ( enum MqIoComE value)
inline

return the MqIoComE as integer …

Definition at line 1501 of file LibMqMsgque_mq.h.

1501 {
1502 return (MK_I32) value;
1503}

◆ MqIoComE_ToString()

MQ_EXTERN MK_STRN libmqmsgque::MqIoComE_ToString ( enum MqIoComE value)

return the MqIoComE as string …

◆ MqSlaveE_FromInt()

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

return the MqSlaveE from integer …

+ Here is the caller graph for this function:

◆ MqSlaveE_ToInt()

MK_I32 libmqmsgque::MqSlaveE_ToInt ( enum MqSlaveE value)
inline

return the MqSlaveE as integer …

Definition at line 1616 of file LibMqMsgque_mq.h.

1616 {
1617 return (MK_I32) value;
1618}
+ Here is the caller graph for this function:

◆ MqSlaveE_ToString()

MQ_EXTERN MK_STRN libmqmsgque::MqSlaveE_ToString ( enum MqSlaveE value)

return the MqSlaveE as string …

+ Here is the caller graph for this function:

◆ MqStartE_FromInt()

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

return the MqStartE from integer …

+ Here is the caller graph for this function:

◆ MqStartE_ToInt()

MK_I32 libmqmsgque::MqStartE_ToInt ( enum MqStartE value)
inline

return the MqStartE as integer …

Definition at line 1384 of file LibMqMsgque_mq.h.

1384 {
1385 return (MK_I32) value;
1386}
+ Here is the caller graph for this function:

◆ MqStartE_ToString()

MQ_EXTERN MK_STRN libmqmsgque::MqStartE_ToString ( enum MqStartE value)

return the MqStartE as string …

+ Here is the caller graph for this function:

◆ MqStatusIsEF_FromInt()

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

return the MqStatusIsEF from integer …

+ Here is the caller graph for this function:

◆ MqStatusIsEF_ToInt()

MK_I32 libmqmsgque::MqStatusIsEF_ToInt ( enum MqStatusIsEF value)
inline

return the MqStatusIsEF as integer …

Definition at line 1426 of file LibMqMsgque_mq.h.

1426 {
1427 return (MK_I32) value;
1428}
+ Here is the caller graph for this function:

◆ MqStatusIsEF_ToString()

MQ_EXTERN MK_STRN libmqmsgque::MqStatusIsEF_ToString ( enum MqStatusIsEF value)

return the MqStatusIsEF as string …

+ Here is the caller graph for this function:

◆ MqTransTypeE_FromInt()

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

return the MqTransTypeE from integer …

◆ MqTransTypeE_ToInt()

MK_I32 libmqmsgque::MqTransTypeE_ToInt ( enum MqTransTypeE value)
inline

return the MqTransTypeE as integer …

Definition at line 676 of file LibMqMsgque_mq.h.

676 {
677 return (MK_I32) value;
678}

◆ MqTransTypeE_ToString()

MQ_EXTERN MK_STRN libmqmsgque::MqTransTypeE_ToString ( enum MqTransTypeE value)

return the MqTransTypeE as string …

◆ MqWaitOnEventE_FromInt()

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

return the MqWaitOnEventE from integer …

+ Here is the caller graph for this function:

◆ MqWaitOnEventE_ToInt()

MK_I32 libmqmsgque::MqWaitOnEventE_ToInt ( enum MqWaitOnEventE value)
inline

return the MqWaitOnEventE as integer …

Definition at line 1568 of file LibMqMsgque_mq.h.

1568 {
1569 return (MK_I32) value;
1570}
+ Here is the caller graph for this function:

◆ MqWaitOnEventE_ToString()

MQ_EXTERN MK_STRN libmqmsgque::MqWaitOnEventE_ToString ( enum MqWaitOnEventE value)

return the MqWaitOnEventE as string …

+ Here is the caller graph for this function: