theLink 10.0
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::dispPostfix
 
MK_STRN ccmqmsgque::MqContextC::ConfigGetPrefix () const
  C++: MK_STRN ctx.ConfigGetPrefix() C-API
get the libmqmsgque::MqConfigS::dispPrefix
 
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 179 of file MqContextC_inline_cc.hh.

179 {
180 MK_UNUSED auto ctx = getCTXN();
181 MK_I32 __retVal__L = MqConfigGetBuffersize(ctx);
182 return __retVal__L;
183 }
#define MK_UNUSED
signed int MK_I32
MQ_CTXN getCTXN() const
(const) return the LibMsgqueObject from current MqContextC instance
static 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 186 of file MqContextC_inline_cc.hh.

186 {
187 MK_UNUSED auto ctx = getCTX();
188 enum MqIdentE __retVal__L = MqConfigGetIdentFrom(ctx);
189 return __retVal__L;
190 }
MQ_CTX getCTX() const
return the LibMsgqueObject from current MqContextC instance
static 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 193 of file MqContextC_inline_cc.hh.

193 {
194 MK_UNUSED auto ctx = getCTX();
195 MQ_SOCK_HDL __retVal__L = MqConfigGetIoPipe(ctx);
196 return __retVal__L;
197 }
static 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 301 of file MqContextC_inline_cc.hh.

301 {
302 MK_UNUSED auto ctx = getCTX();
303 MK_STRN host_out;
304 MK_STRN port_out;
305 MK_STRN myhost_out;
306 MK_STRN myport_out;
307 enum MkErrorE errVal = MqConfigGetIoTcp(ctx, &host_out, &port_out, &myhost_out, &myport_out);
308 MkErrorC_Check(ctx, errVal);
309 std::tuple<MK_STRN,MK_STRN,MK_STRN,MK_STRN> __retVal__L = {host_out,port_out,myhost_out,myport_out};
310 return __retVal__L;
311 }
const MK_STRB * MK_STRN
enum MkErrorE 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 …

◆ 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 168 of file MqContextC_inline_cc.hh.

168 {
169 MK_UNUSED auto ctx = getCTX();
170 MK_BFL vals_out;
171 enum MkErrorE errVal = MqConfigGetIoTcpL(ctx, &vals_out);
172 MkErrorC_Check(ctx, errVal);
174 }
static MkBufferListC * MkBufferListC_ObjNew(MK_RT_ARGS MK_BFL hdl)
struct MkBufferListS * MK_BFL
#define MK_RT_CALL
#define MqConfigGetIoTcpL(...)

◆ ConfigGetIoUds()

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

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

Definition at line 200 of file MqContextC_inline_cc.hh.

200 {
201 MK_UNUSED auto ctx = getCTXN();
202 MK_STRN __retVal__L = MqConfigGetIoUds(ctx);
203 return __retVal__L;
204 }
static 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 207 of file MqContextC_inline_cc.hh.

207 {
208 MK_UNUSED auto ctx = getCTX();
209 MK_BOOL __retVal__L = MqConfigGetIsParent(ctx);
210 return __retVal__L;
211 }
static 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 214 of file MqContextC_inline_cc.hh.

214 {
215 MK_UNUSED auto ctx = getCTX();
216 MK_BOOL __retVal__L = MqConfigGetIsServer(ctx);
217 return __retVal__L;
218 }
static 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 221 of file MqContextC_inline_cc.hh.

221 {
222 MK_UNUSED auto ctx = getCTX();
223 MK_BOOL __retVal__L = MqConfigGetIsString(ctx);
224 return __retVal__L;
225 }
static 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 228 of file MqContextC_inline_cc.hh.

228 {
229 MK_UNUSED auto ctx = getCTXN();
230 MK_STRN __retVal__L = MqConfigGetName(ctx);
231 return __retVal__L;
232 }
static 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 235 of file MqContextC_inline_cc.hh.

235 {
236 MK_UNUSED auto ctx = getCTXN();
237 MK_I32 __retVal__L = MqConfigGetPkgsize(ctx);
238 return __retVal__L;
239 }
static 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::dispPostfix

Definition at line 242 of file MqContextC_inline_cc.hh.

242 {
243 MK_UNUSED auto ctx = getCTXN();
244 MK_STRN __retVal__L = MqConfigGetPostfix(ctx);
245 return __retVal__L;
246 }
static MK_STRN MqConfigGetPostfix(MQ_CTXN const ctx)
get the libmqmsgque::MqConfigS::dispPostfix

◆ ConfigGetPrefix()

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

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

Definition at line 249 of file MqContextC_inline_cc.hh.

249 {
250 MK_UNUSED auto ctx = getCTXN();
251 MK_STRN __retVal__L = MqConfigGetPrefix(ctx);
252 return __retVal__L;
253 }
static MK_STRN MqConfigGetPrefix(MQ_CTXN const ctx)
get the libmqmsgque::MqConfigS::dispPrefix
+ 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 256 of file MqContextC_inline_cc.hh.

256 {
257 MK_UNUSED auto ctx = getCTX();
258 enum MqStartE __retVal__L = MqConfigGetStartAs(ctx);
259 return __retVal__L;
260 }
static 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 263 of file MqContextC_inline_cc.hh.

263 {
264 MK_UNUSED auto ctx = getCTX();
265 enum MqStatusIsEF __retVal__L = MqConfigGetStatusIs(ctx);
266 return __retVal__L;
267 }
static 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 270 of file MqContextC_inline_cc.hh.

270 {
271 MK_UNUSED auto ctx = getCTXN();
272 MK_STRN __retVal__L = MqConfigGetStorage(ctx);
273 return __retVal__L;
274 }
static 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 277 of file MqContextC_inline_cc.hh.

277 {
278 MK_UNUSED auto ctx = getCTXN();
279 MK_TIME_T __retVal__L = MqConfigGetTimeout(ctx);
280 return __retVal__L;
281 }
time_t MK_TIME_T
static 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 291 of file MqContextC_inline_cc.hh.

291 {
292 MK_UNUSED auto ctx = getCTX();
293 const MK_STRN filename_hdl = filename.c_str();
294 enum MkErrorE errVal = MqConfigSetConfigFile(ctx, filename_hdl);
295 MkErrorC_Check(ctx, errVal);
296 }
#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 284 of file MqContextC_inline_cc.hh.

284 {
285 MK_UNUSED auto ctx = getCTX();
286 enum MkErrorE errVal = MqConfigSetConfigFile(ctx, filename);
287 MkErrorC_Check(ctx, errVal);
288 }