MqContextC - various function to 'get' the configuration-data from a context … More...
MqContextC - MqContextC_ConfigApi_Get_C_API - overload | |
#define | MqConfigGetIoTcpL_E(...) |
#define | MqConfigGetIoTcpL_C(...) |
#define | MqConfigGetIoTcpL_e(...) |
#define | MqConfigSetConfigFile_NULL(...) |
#define | MqConfigSetConfigFile(...) |
#define | MqConfigSetConfigFile_E(...) |
#define | MqConfigSetConfigFile_C(...) |
#define | MqConfigGetIoTcp_E(...) |
#define | MqConfigGetIoTcp_C(...) |
MqContextC - various function to 'get' the configuration-data from a context …
#define MQ_GET_MASTER | ( | ctx | ) |
Definition at line 2402 of file LibMqMsgque_mq.h.
#define MQ_GET_PARENT | ( | ctx | ) |
Definition at line 2401 of file LibMqMsgque_mq.h.
#define MQ_IS_CHILD | ( | ctx | ) |
Definition at line 2395 of file LibMqMsgque_mq.h.
#define MQ_IS_CLIENT | ( | ctx | ) |
Definition at line 2393 of file LibMqMsgque_mq.h.
#define MQ_IS_CLIENT_PARENT | ( | ctx | ) |
Definition at line 2394 of file LibMqMsgque_mq.h.
#define MQ_IS_LOOPBACK | ( | ctx | ) |
Definition at line 2399 of file LibMqMsgque_mq.h.
#define MQ_IS_MASTER | ( | ctx | ) |
Definition at line 2398 of file LibMqMsgque_mq.h.
#define MQ_IS_PARENT | ( | ctx | ) |
Definition at line 2396 of file LibMqMsgque_mq.h.
#define MQ_IS_SERVER | ( | ctx | ) |
extract boolean information from context
Definition at line 2391 of file LibMqMsgque_mq.h.
#define MQ_IS_SERVER_PARENT | ( | ctx | ) |
Definition at line 2392 of file LibMqMsgque_mq.h.
#define MQ_IS_SLAVE | ( | ctx | ) |
Definition at line 2397 of file LibMqMsgque_mq.h.
#define MqConfigGetIoTcp_C | ( | ... | ) |
Definition at line 77 of file msgque_overload_mq.h.
#define MqConfigGetIoTcp_E | ( | ... | ) |
Definition at line 76 of file msgque_overload_mq.h.
#define MqConfigGetIoTcpL_C | ( | ... | ) |
Definition at line 66 of file msgque_overload_mq.h.
#define MqConfigGetIoTcpL_E | ( | ... | ) |
Definition at line 65 of file msgque_overload_mq.h.
#define MqConfigGetIoTcpL_e | ( | ... | ) |
Definition at line 67 of file msgque_overload_mq.h.
#define MqConfigSetConfigFile | ( | ... | ) |
Definition at line 71 of file msgque_overload_mq.h.
#define MqConfigSetConfigFile_C | ( | ... | ) |
Definition at line 73 of file msgque_overload_mq.h.
#define MqConfigSetConfigFile_E | ( | ... | ) |
Definition at line 72 of file msgque_overload_mq.h.
#define MqConfigSetConfigFile_NULL | ( | ... | ) |
Definition at line 70 of file msgque_overload_mq.h.
|
inline |
get the minimum of the read/send buffersize of the socket
[in] | ctx | the MqContextS instance to work on |
context.config.buffersize
(R/S) value Definition at line 8315 of file LibMqMsgque_mq.h.
get the config-file handle used for libconfig API funtions
[in] | ctx | the MqContextS instance to work on |
MK_NULL
if no config-file is available. MQ_EXTERN config_setting_t * libmqmsgque::MqConfigGetConfigRoot | ( | MQ_CTX const | ctx | ) |
get the config-root handle used for libconfig API funtions
The root is the place in the config-file which belongs to the MqClassIdentGet application name.
[in] | ctx | the MqContextS instance to work on |
MK_NULL
if no config-root is available.
|
inline |
get the libmqmsgque::MqConfigS::identFrom
[in] | ctx | the MqContextS instance to work on |
prefix
or factory Definition at line 8235 of file LibMqMsgque_mq.h.
|
inline |
return the libmqmsgque::MqIoPipeConfigS
[in] | ctx | the MqContextS instance to work on |
Definition at line 8414 of file LibMqMsgque_mq.h.
MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigGetIoTcp | ( | MQ_CTX const | ctx, |
MK_STRN * | host_out, | ||
MK_STRN * | port_out, | ||
MK_STRN * | myhost_out, | ||
MK_STRN * | myport_out ) |
get the configuration-data of the tcp-client-server-link …
[in] | ctx | the MqContextS instance to work on |
[out] | host_out | client: name of the remote interface (default: localhost) server: name of the local interface (default: listen on all interfaces) |
[out] | port_out | client: name of the remote port server: name of the local port |
[out] | myhost_out | client: name of the local interface |
[out] | myport_out | client: name of the local port |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
MK_NULL
MK_NULL
… nothing will be done get the configuration-data of the tcp-client-server-link as MkBufferListC …
host |
| ||||
port |
| ||||
myhost | name of the local interface | ||||
myport | name of the local port |
[in] | ctx | the MqContextS instance to work on |
[out] | vals_out | the contain host, port, myhost and myport data |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
|
inline |
return the libmqmsgque::MqIoUdsConfigS
[in] | ctx | the MqContextS instance to work on |
context.config.io.uds.file
value Definition at line 8349 of file LibMqMsgque_mq.h.
|
inline |
does the context object is a parent ? An objext is a parent id the libmqmsgque::MqConfigS::parent attribute is MK_NULL
[in] | ctx | the MqContextS instance to work on |
(ctx->config.parent == NULL)
value Definition at line 8246 of file LibMqMsgque_mq.h.
|
inline |
does the context object is a server ?
[in] | ctx | the MqContextS instance to work on |
(ctx->setup.isServer == true)
value Definition at line 8225 of file LibMqMsgque_mq.h.
|
inline |
does the context object is using the string-mode ?
[in] | ctx | the MqContextS instance to work on |
(ctx->config.native == 'S')
value Definition at line 8256 of file LibMqMsgque_mq.h.
|
inline |
get the name of the context object
[in] | ctx | the MqContextS instance to work on |
context.config.name
value Definition at line 8268 of file LibMqMsgque_mq.h.
|
inline |
get the maximun size of a BDY package
[in] | ctx | the MqContextS instance to work on |
context.config.pkgsize
(R/S) value Definition at line 8326 of file LibMqMsgque_mq.h.
|
inline |
get the libmqmsgque::MqConfigS::postfix
[in] | ctx | the MqContextS instance to work on |
Definition at line 8292 of file LibMqMsgque_mq.h.
|
inline |
get the libmqmsgque::MqConfigS::prefix
[in] | ctx | the MqContextS instance to work on |
Definition at line 8280 of file LibMqMsgque_mq.h.
|
inline |
return the libmqmsgque::MqConfigS::startAs value
Definition at line 8422 of file LibMqMsgque_mq.h.
|
inline |
return the libmqmsgque::MqContextS::statusIs value
Definition at line 8430 of file LibMqMsgque_mq.h.
|
inline |
get the storage of the context object
[in] | ctx | the MqContextS instance to work on |
context.config.storage
value Definition at line 8304 of file LibMqMsgque_mq.h.
|
inline |
get the timeout value of the context object
[in] | ctx | the MqContextS instance to work on |
context.config.timeout
value Definition at line 8337 of file LibMqMsgque_mq.h.
MQ_EXTERN enum MkErrorE libmqmsgque::MqConfigSetConfigFile_RT | ( | MK_RT const | mkrt, |
MQ_CTX const | ctx, | ||
MK_STRN const | filename ) |
set the config-file and parse for well-known config-items
Read more at libmqmsgque::MqConfigS::cfg
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | ctx | the MqContextS instance to work on |
[in] | filename | name of the config-file for input |
MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |