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

MK_I32 MqIdentE_ToIntP (enum MqIdentE value)
 Non-inline replacement for MqIdentE_ToInt
 
MK_I32 MqSlaveE_ToIntP (enum MqSlaveE value)
 Non-inline replacement for MqSlaveE_ToInt
 
MK_I32 MqStartE_ToIntP (enum MqStartE value)
 Non-inline replacement for MqStartE_ToInt
 
MK_I32 MqStatusIsEF_ToIntP (enum MqStatusIsEF value)
 Non-inline replacement for MqStatusIsEF_ToInt
 
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 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_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 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_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 699 of file LibMqMsgque_mq.h.

699 {
700 MQ_IDENT_PREFIX = 0 ,
702};
@ 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 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_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 pymqmsgque 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_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 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_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 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_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

  • if ctx.ConfigSetBgError(?callback:callable=None?) is set.. the current context returns MK_OK.
  • if ctx.ConfigSetBgError(?callback:callable=None?) is not set.. the current context the returns MK_ERROR and an error is raised.
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

  • if ctx.ConfigSetBgError(?callback:callable=None?) is set.. the current context will not return and continue working.
  • if ctx.ConfigSetBgError(?callback:callable=None?) is not set.. the current context returns MK_ERROR and an error is raised.
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_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 1464 of file LibMqMsgque_mq.h.

1464 {
1465 return (MK_I32) value;
1466}
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 …

+ Here is the caller graph for this function:

◆ MqIdentE_ToInt()

MK_I32 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_ToIntP()

MK_I32 MqIdentE_ToIntP ( enum MqIdentE value)
extern

Non-inline replacement for MqIdentE_ToInt

◆ MqIdentE_ToString()

MQ_EXTERN MK_STRN MqIdentE_ToString ( enum MqIdentE value)

return the MqIdentE as string …

+ Here is the caller graph for this function:

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

1501 {
1502 return (MK_I32) value;
1503}

◆ 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 …

+ Here is the caller graph for this function:

◆ MqSlaveE_ToInt()

MK_I32 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_ToIntP()

MK_I32 MqSlaveE_ToIntP ( enum MqSlaveE value)
extern

Non-inline replacement for MqSlaveE_ToInt

◆ MqSlaveE_ToString()

MQ_EXTERN MK_STRN MqSlaveE_ToString ( enum MqSlaveE value)

return the MqSlaveE as string …

+ Here is the caller graph for this function:

◆ MqStartE_FromInt()

MQ_EXTERN enum MkErrorE 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 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_ToIntP()

MK_I32 MqStartE_ToIntP ( enum MqStartE value)
extern

Non-inline replacement for MqStartE_ToInt

◆ MqStartE_ToString()

MQ_EXTERN MK_STRN MqStartE_ToString ( enum MqStartE value)

return the MqStartE as string …

+ Here is the caller graph for this function:

◆ MqStatusIsEF_FromInt()

MQ_EXTERN enum MkErrorE 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 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_ToIntP()

MK_I32 MqStatusIsEF_ToIntP ( enum MqStatusIsEF value)
extern

Non-inline replacement for MqStatusIsEF_ToInt

◆ MqStatusIsEF_ToString()

MQ_EXTERN MK_STRN MqStatusIsEF_ToString ( enum MqStatusIsEF value)

return the MqStatusIsEF as string …

+ Here is the caller graph for this function:

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

676 {
677 return (MK_I32) value;
678}

◆ 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 …

+ Here is the caller graph for this function:

◆ MqWaitOnEventE_ToInt()

MK_I32 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_ToIntP()

MK_I32 MqWaitOnEventE_ToIntP ( enum MqWaitOnEventE value)
extern

Non-inline replacement for MqWaitOnEventE_ToInt

◆ MqWaitOnEventE_ToString()

MQ_EXTERN MK_STRN MqWaitOnEventE_ToString ( enum MqWaitOnEventE value)

return the MqWaitOnEventE as string …

+ Here is the caller graph for this function: