Loading...
Searching...
No Matches
MqContextC_ConfigApi_Get_CC_API

MqContextC - various function to 'get' the configuration-data from a contextMore...

+ Collaboration diagram for MqContextC_ConfigApi_Get_CC_API:

Functions

MkBufferListCccmqmsgque::MqContextC::ConfigGetIoTcpL ()
  C++: MkBufferListC* ctx.ConfigGetIoTcpL() C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC
 
MK_I32 ccmqmsgque::MqContextC::ConfigGetBuffersize () const
  C++: MK_I32 ctx.ConfigGetBuffersize() C-API
get the minimum of the read/send buffersize of the socket
 
MqIdentE ccmqmsgque::MqContextC::ConfigGetIdentFrom ()
  C++: MqIdentE ctx.ConfigGetIdentFrom() C-API
get the libmqmsgque::MqConfigS::identFrom
 
MQ_SOCK_HDL ccmqmsgque::MqContextC::ConfigGetIoPipe ()
  C++: MQ_SOCK_HDL ctx.ConfigGetIoPipe() C-API
return the libmqmsgque::MqIoPipeConfigS
 
MK_STRN ccmqmsgque::MqContextC::ConfigGetIoUds () const
  C++: MK_STRN ctx.ConfigGetIoUds() C-API
return the libmqmsgque::MqIoUdsConfigS
 
MK_BOOL ccmqmsgque::MqContextC::ConfigGetIsParent ()
  C++: MK_BOOL ctx.ConfigGetIsParent() C-API
does the context object is a parent ? An objext is a parent id the libmqmsgque::MqConfigS::parent attribute is MK_NULL
 
MK_BOOL ccmqmsgque::MqContextC::ConfigGetIsServer ()
  C++: MK_BOOL ctx.ConfigGetIsServer() C-API
does the context object is a server ?
 
MK_BOOL ccmqmsgque::MqContextC::ConfigGetIsString ()
  C++: MK_BOOL ctx.ConfigGetIsString() C-API
does the context object is using the string-mode ?
 
MK_STRN ccmqmsgque::MqContextC::ConfigGetName () const
  C++: MK_STRN ctx.ConfigGetName() C-API
get the name of the context object
 
MK_I32 ccmqmsgque::MqContextC::ConfigGetPkgsize () const
  C++: MK_I32 ctx.ConfigGetPkgsize() C-API
get the maximun size of a BDY package
 
MK_STRN ccmqmsgque::MqContextC::ConfigGetPostfix () const
  C++: MK_STRN ctx.ConfigGetPostfix() C-API
get the libmqmsgque::MqConfigS::postfix
 
MK_STRN ccmqmsgque::MqContextC::ConfigGetPrefix () const
  C++: MK_STRN ctx.ConfigGetPrefix() C-API
get the libmqmsgque::MqConfigS::prefix
 
MqStartE ccmqmsgque::MqContextC::ConfigGetStartAs ()
  C++: MqStartE ctx.ConfigGetStartAs() C-API
return the libmqmsgque::MqConfigS::startAs value
 
MqStatusIsEF ccmqmsgque::MqContextC::ConfigGetStatusIs ()
  C++: MqStatusIsEF ctx.ConfigGetStatusIs() C-API
return the libmqmsgque::MqContextS::statusIs value
 
MK_STRN ccmqmsgque::MqContextC::ConfigGetStorage () const
  C++: MK_STRN ctx.ConfigGetStorage() C-API
get the storage of the context object
 
MK_TIME_T ccmqmsgque::MqContextC::ConfigGetTimeout () const
  C++: MK_TIME_T ctx.ConfigGetTimeout() C-API
get the timeout value of the context object
 
void ccmqmsgque::MqContextC::ConfigSetConfigFile (MK_STRN filename)
  C++: ctx.ConfigSetConfigFile(MK_STRN filename) C-API
set the config-file and parse for well-known config-items
 
void ccmqmsgque::MqContextC::ConfigSetConfigFile (const std::string &filename)
  C++: ctx.ConfigSetConfigFile(MK_STRN filename) C-API
set the config-file and parse for well-known config-items
 
std::tuple< MK_STRN, MK_STRN, MK_STRN, MK_STRNccmqmsgque::MqContextC::ConfigGetIoTcp ()
  C++: {host:MK_STRN port:MK_STRN myhost:MK_STRN myport:MK_STRN} ctx.ConfigGetIoTcp() C-API
get the configuration-data of the tcp-client-server-link
 

Detailed Description

MqContextC - various function to 'get' the configuration-data from a context

Function Documentation

◆ ConfigGetBuffersize()

MK_I32 ccmqmsgque::MqContextC::ConfigGetBuffersize ( ) const
inline

C++: MK_I32 ctx.ConfigGetBuffersize() C-API
get the minimum of the read/send buffersize of the socket

Definition at line 190 of file MqContextC_inline_cc.hh.

190 {
191 MK_UNUSED auto ctx = getCTXN(MK_NULL_NO);
192 MkRtSetup_X(ctx);
193 MK_I32 __retVal__L = MqConfigGetBuffersize(ctx);
194 return __retVal__L;
195 }
#define MK_NULL_NO
#define MK_UNUSED
signed int MK_I32
#define MkRtSetup_X(x)
MQ_CTXN getCTXN(bool nullB=MK_NULL_NO) const
(const) return the LibMsgqueObject from current MqContextC instance
MK_ATTR_HDL MK_I32 MqConfigGetBuffersize(MQ_CTXN const ctx)
get the minimum of the read/send buffersize of the socket

◆ ConfigGetIdentFrom()

MqIdentE ccmqmsgque::MqContextC::ConfigGetIdentFrom ( )
inline

C++: MqIdentE ctx.ConfigGetIdentFrom() C-API
get the libmqmsgque::MqConfigS::identFrom

Definition at line 198 of file MqContextC_inline_cc.hh.

198 {
199 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
200 MkRtSetup_X(ctx);
201 enum MqIdentE __retVal__L = MqConfigGetIdentFrom(ctx);
202 return __retVal__L;
203 }
MQ_CTX getCTX(bool nullB=MK_NULL_NO) const
return the LibMsgqueObject from current MqContextC instance
MK_ATTR_HDL enum MqIdentE MqConfigGetIdentFrom(MQ_CTX const ctx)
get the libmqmsgque::MqConfigS::identFrom
MqIdentE
identify the application using prefix (default) or factory …

◆ ConfigGetIoPipe()

MQ_SOCK_HDL ccmqmsgque::MqContextC::ConfigGetIoPipe ( )
inline

C++: MQ_SOCK_HDL ctx.ConfigGetIoPipe() C-API
return the libmqmsgque::MqIoPipeConfigS

Definition at line 206 of file MqContextC_inline_cc.hh.

206 {
207 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
208 MkRtSetup_X(ctx);
209 MQ_SOCK_HDL __retVal__L = MqConfigGetIoPipe(ctx);
210 return __retVal__L;
211 }
MK_ATTR_HDL MQ_SOCK_HDL MqConfigGetIoPipe(MQ_CTX const ctx)
return the libmqmsgque::MqIoPipeConfigS

◆ ConfigGetIoTcp()

std::tuple< MK_STRN, MK_STRN, MK_STRN, MK_STRN > ccmqmsgque::MqContextC::ConfigGetIoTcp ( )
inline

C++: {host:MK_STRN port:MK_STRN myhost:MK_STRN myport:MK_STRN} ctx.ConfigGetIoTcp() C-API
get the configuration-data of the tcp-client-server-link

Definition at line 329 of file MqContextC_inline_cc.hh.

329 {
330 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
331 MkRtSetup_X(ctx);
332 MK_STRN host_out;
333 MK_STRN port_out;
334 MK_STRN myhost_out;
335 MK_STRN myport_out;
336 enum MkErrorE errVal = MqConfigGetIoTcp(ctx, &host_out, &port_out, &myhost_out, &myport_out);
337 MkErrorC_Check(ctx, errVal);
338 std::tuple<MK_STRN,MK_STRN,MK_STRN,MK_STRN> __retVal__L = {host_out,port_out,myhost_out,myport_out};
339 return __retVal__L;
340 }
const MK_STRB * MK_STRN
MQ_EXTERN enum MkErrorE MqConfigGetIoTcp(MQ_CTX const ctx, MK_STRN *host_out, MK_STRN *port_out, MK_STRN *myhost_out, MK_STRN *myport_out) MK_ATTR_HDL
get the configuration-data of the tcp-client-server-link …

◆ ConfigGetIoTcpL()

MkBufferListC * ccmqmsgque::MqContextC::ConfigGetIoTcpL ( )
inline

C++: MkBufferListC* ctx.ConfigGetIoTcpL() C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC

Definition at line 178 of file MqContextC_inline_cc.hh.

178 {
179 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
180 MkRtSetup_X(ctx);
181 MK_BFL vals_out;
182 enum MkErrorE errVal = MqConfigGetIoTcpL(ctx, &vals_out);
183 MkErrorC_Check(ctx, errVal);
185 }
static MkBufferListC * MkBufferListC_ObjNew(MK_RT const mkrt, MK_BFL hdl)
struct MkBufferListS * MK_BFL
#define MK_RT_CALL
MQ_EXTERN enum MkErrorE MqConfigGetIoTcpL(MQ_CTX const ctx, MK_BFL *vals_out) MK_ATTR_HDL
get the configuration-data of the tcp-client-server-link as MkBufferListC …

◆ ConfigGetIoUds()

MK_STRN ccmqmsgque::MqContextC::ConfigGetIoUds ( ) const
inline

C++: MK_STRN ctx.ConfigGetIoUds() C-API
return the libmqmsgque::MqIoUdsConfigS

Definition at line 214 of file MqContextC_inline_cc.hh.

214 {
215 MK_UNUSED auto ctx = getCTXN(MK_NULL_NO);
216 MkRtSetup_X(ctx);
217 MK_STRN __retVal__L = MqConfigGetIoUds(ctx);
218 return __retVal__L;
219 }
MK_ATTR_HDL MK_STRN MqConfigGetIoUds(MQ_CTXN const ctx)
return the libmqmsgque::MqIoUdsConfigS

◆ ConfigGetIsParent()

MK_BOOL ccmqmsgque::MqContextC::ConfigGetIsParent ( )
inline

C++: MK_BOOL ctx.ConfigGetIsParent() C-API
does the context object is a parent ? An objext is a parent id the libmqmsgque::MqConfigS::parent attribute is MK_NULL

Definition at line 222 of file MqContextC_inline_cc.hh.

222 {
223 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
224 MkRtSetup_X(ctx);
225 MK_BOOL __retVal__L = MqConfigGetIsParent(ctx);
226 return __retVal__L;
227 }
MK_ATTR_HDL bool MqConfigGetIsParent(MQ_CTX const ctx)
does the context object is a parent ? An objext is a parent id the libmqmsgque::MqConfigS::parent att...

◆ ConfigGetIsServer()

MK_BOOL ccmqmsgque::MqContextC::ConfigGetIsServer ( )
inline

C++: MK_BOOL ctx.ConfigGetIsServer() C-API
does the context object is a server ?

Definition at line 230 of file MqContextC_inline_cc.hh.

230 {
231 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
232 MkRtSetup_X(ctx);
233 MK_BOOL __retVal__L = MqConfigGetIsServer(ctx);
234 return __retVal__L;
235 }
MK_ATTR_HDL bool MqConfigGetIsServer(MQ_CTX const ctx)
does the context object is a server ?

◆ ConfigGetIsString()

MK_BOOL ccmqmsgque::MqContextC::ConfigGetIsString ( )
inline

C++: MK_BOOL ctx.ConfigGetIsString() C-API
does the context object is using the string-mode ?

Definition at line 238 of file MqContextC_inline_cc.hh.

238 {
239 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
240 MkRtSetup_X(ctx);
241 MK_BOOL __retVal__L = MqConfigGetIsString(ctx);
242 return __retVal__L;
243 }
MK_ATTR_HDL bool MqConfigGetIsString(MQ_CTX const ctx)
does the context object is using the string-mode ?

◆ ConfigGetName()

MK_STRN ccmqmsgque::MqContextC::ConfigGetName ( ) const
inline

C++: MK_STRN ctx.ConfigGetName() C-API
get the name of the context object

Definition at line 246 of file MqContextC_inline_cc.hh.

246 {
247 MK_UNUSED auto ctx = getCTXN(MK_NULL_NO);
248 MkRtSetup_X(ctx);
249 MK_STRN __retVal__L = MqConfigGetName(ctx);
250 return __retVal__L;
251 }
MK_ATTR_HDL MK_STRN MqConfigGetName(MQ_CTXN const ctx)
get the name of the context object
+ Here is the caller graph for this function:

◆ ConfigGetPkgsize()

MK_I32 ccmqmsgque::MqContextC::ConfigGetPkgsize ( ) const
inline

C++: MK_I32 ctx.ConfigGetPkgsize() C-API
get the maximun size of a BDY package

Definition at line 254 of file MqContextC_inline_cc.hh.

254 {
255 MK_UNUSED auto ctx = getCTXN(MK_NULL_NO);
256 MkRtSetup_X(ctx);
257 MK_I32 __retVal__L = MqConfigGetPkgsize(ctx);
258 return __retVal__L;
259 }
MK_ATTR_HDL MK_I32 MqConfigGetPkgsize(MQ_CTXN const ctx)
get the maximun size of a BDY package

◆ ConfigGetPostfix()

MK_STRN ccmqmsgque::MqContextC::ConfigGetPostfix ( ) const
inline

C++: MK_STRN ctx.ConfigGetPostfix() C-API
get the libmqmsgque::MqConfigS::postfix

Definition at line 262 of file MqContextC_inline_cc.hh.

262 {
263 MK_UNUSED auto ctx = getCTXN(MK_NULL_NO);
264 MkRtSetup_X(ctx);
265 MK_STRN __retVal__L = MqConfigGetPostfix(ctx);
266 return __retVal__L;
267 }
MK_ATTR_HDL MK_STRN MqConfigGetPostfix(MQ_CTXN const ctx)
get the libmqmsgque::MqConfigS::postfix

◆ ConfigGetPrefix()

MK_STRN ccmqmsgque::MqContextC::ConfigGetPrefix ( ) const
inline

C++: MK_STRN ctx.ConfigGetPrefix() C-API
get the libmqmsgque::MqConfigS::prefix

Definition at line 270 of file MqContextC_inline_cc.hh.

270 {
271 MK_UNUSED auto ctx = getCTXN(MK_NULL_NO);
272 MkRtSetup_X(ctx);
273 MK_STRN __retVal__L = MqConfigGetPrefix(ctx);
274 return __retVal__L;
275 }
MK_ATTR_HDL MK_STRN MqConfigGetPrefix(MQ_CTXN const ctx)
get the libmqmsgque::MqConfigS::prefix
+ Here is the caller graph for this function:

◆ ConfigGetStartAs()

MqStartE ccmqmsgque::MqContextC::ConfigGetStartAs ( )
inline

C++: MqStartE ctx.ConfigGetStartAs() C-API
return the libmqmsgque::MqConfigS::startAs value

Definition at line 278 of file MqContextC_inline_cc.hh.

278 {
279 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
280 MkRtSetup_X(ctx);
281 enum MqStartE __retVal__L = MqConfigGetStartAs(ctx);
282 return __retVal__L;
283 }
MK_ATTR_HDL enum MqStartE MqConfigGetStartAs(MQ_CTX const ctx)
return the libmqmsgque::MqConfigS::startAs value
MqStartE
User preferences on HOWTO start a new entity.

◆ ConfigGetStatusIs()

MqStatusIsEF ccmqmsgque::MqContextC::ConfigGetStatusIs ( )
inline

C++: MqStatusIsEF ctx.ConfigGetStatusIs() C-API
return the libmqmsgque::MqContextS::statusIs value

Definition at line 286 of file MqContextC_inline_cc.hh.

286 {
287 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
288 MkRtSetup_X(ctx);
289 enum MqStatusIsEF __retVal__L = MqConfigGetStatusIs(ctx);
290 return __retVal__L;
291 }
MK_ATTR_HDL enum MqStatusIsEF MqConfigGetStatusIs(MQ_CTX const ctx)
return the libmqmsgque::MqContextS::statusIs value
MqStatusIsEF
Information about how the context was created.

◆ ConfigGetStorage()

MK_STRN ccmqmsgque::MqContextC::ConfigGetStorage ( ) const
inline

C++: MK_STRN ctx.ConfigGetStorage() C-API
get the storage of the context object

Definition at line 294 of file MqContextC_inline_cc.hh.

294 {
295 MK_UNUSED auto ctx = getCTXN(MK_NULL_NO);
296 MkRtSetup_X(ctx);
297 MK_STRN __retVal__L = MqConfigGetStorage(ctx);
298 return __retVal__L;
299 }
MK_ATTR_HDL MK_STRN MqConfigGetStorage(MQ_CTXN const ctx)
get the storage of the context object

◆ ConfigGetTimeout()

MK_TIME_T ccmqmsgque::MqContextC::ConfigGetTimeout ( ) const
inline

C++: MK_TIME_T ctx.ConfigGetTimeout() C-API
get the timeout value of the context object

Definition at line 302 of file MqContextC_inline_cc.hh.

302 {
303 MK_UNUSED auto ctx = getCTXN(MK_NULL_NO);
304 MkRtSetup_X(ctx);
305 MK_TIME_T __retVal__L = MqConfigGetTimeout(ctx);
306 return __retVal__L;
307 }
time_t MK_TIME_T
MK_ATTR_HDL MK_TIME_T MqConfigGetTimeout(MQ_CTXN const ctx)
get the timeout value of the context object

◆ ConfigSetConfigFile() [1/2]

void ccmqmsgque::MqContextC::ConfigSetConfigFile ( const std::string & filename)
inline

C++: ctx.ConfigSetConfigFile(MK_STRN filename) C-API
set the config-file and parse for well-known config-items

Definition at line 318 of file MqContextC_inline_cc.hh.

318 {
319 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
320 MkRtSetup_X(ctx);
321 const MK_STRN filename_hdl = filename.c_str();
322 enum MkErrorE errVal = MqConfigSetConfigFile(ctx, filename_hdl);
323 MkErrorC_Check(ctx, errVal);
324 }
#define MqConfigSetConfigFile(...)

◆ ConfigSetConfigFile() [2/2]

void ccmqmsgque::MqContextC::ConfigSetConfigFile ( MK_STRN filename)
inline

C++: ctx.ConfigSetConfigFile(MK_STRN filename) C-API
set the config-file and parse for well-known config-items

Definition at line 310 of file MqContextC_inline_cc.hh.

310 {
311 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
312 MkRtSetup_X(ctx);
313 enum MkErrorE errVal = MqConfigSetConfigFile(ctx, filename);
314 MkErrorC_Check(ctx, errVal);
315 }