theLink 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
MqContextC_ConfigApi_Get_JV_API

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

+ Collaboration diagram for MqContextC_ConfigApi_Get_JV_API:

Functions

native MkBufferListC jvmqmsgque.MqContextC.ConfigGetIoTcpL ()
  Java: MkBufferListC ctx.ConfigGetIoTcpL() C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC
 
native int jvmqmsgque.MqContextC.ConfigGetBuffersize ()
  Java: int ctx.ConfigGetBuffersize() C-API
get the minimum of the read/send buffersize of the socket
 
native MqIdentE jvmqmsgque.MqContextC.ConfigGetIdentFrom ()
  Java: MqIdentE ctx.ConfigGetIdentFrom() C-API
get the MqConfigS.identFrom
 
native int jvmqmsgque.MqContextC.ConfigGetIoPipe ()
  Java: int ctx.ConfigGetIoPipe() C-API
return the MqIoPipeConfigS
 
native String jvmqmsgque.MqContextC.ConfigGetIoUds ()
  Java: String ctx.ConfigGetIoUds() C-API
return the MqIoUdsConfigS
 
native boolean jvmqmsgque.MqContextC.ConfigGetIsParent ()
  Java: boolean ctx.ConfigGetIsParent() C-API
does the context object is a parent ? An objext is a parent id the MqConfigS.parent attribute is null
 
native boolean jvmqmsgque.MqContextC.ConfigGetIsServer ()
  Java: boolean ctx.ConfigGetIsServer() C-API
does the context object is a server ?
 
native boolean jvmqmsgque.MqContextC.ConfigGetIsString ()
  Java: boolean ctx.ConfigGetIsString() C-API
does the context object is using the string-mode ?
 
native String jvmqmsgque.MqContextC.ConfigGetName ()
  Java: String ctx.ConfigGetName() C-API
get the name of the context object
 
native int jvmqmsgque.MqContextC.ConfigGetPkgsize ()
  Java: int ctx.ConfigGetPkgsize() C-API
get the maximun size of a BDY package
 
native String jvmqmsgque.MqContextC.ConfigGetPostfix ()
  Java: String ctx.ConfigGetPostfix() C-API
get the MqConfigS.dispPostfix
 
native String jvmqmsgque.MqContextC.ConfigGetPrefix ()
  Java: String ctx.ConfigGetPrefix() C-API
get the MqConfigS.dispPrefix
 
native MqStartE jvmqmsgque.MqContextC.ConfigGetStartAs ()
  Java: MqStartE ctx.ConfigGetStartAs() C-API
return the MqConfigS.startAs value
 
native MqStatusIsEF jvmqmsgque.MqContextC.ConfigGetStatusIs ()
  Java: MqStatusIsEF ctx.ConfigGetStatusIs() C-API
return the MqContextS.statusIs value
 
native String jvmqmsgque.MqContextC.ConfigGetStorage ()
  Java: String ctx.ConfigGetStorage() C-API
get the storage of the context object
 
native long jvmqmsgque.MqContextC.ConfigGetTimeout ()
  Java: long ctx.ConfigGetTimeout() C-API
get the timeout value of the context object
 
native void jvmqmsgque.MqContextC.ConfigSetConfigFile (String filename)
  Java: ctx.ConfigSetConfigFile(String filename) C-API
set the config-file and parse for well-known config-items
 
native String[] jvmqmsgque.MqContextC.ConfigGetIoTcp ()
  Java: {host:String port:String myhost:String myport:String} ctx.ConfigGetIoTcp() C-API
get the configuration-data of the tcp-client-server-link
 
JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIoTcpL (JNIEnv *env, jobject self)
  Java: MkBufferListC ctx.ConfigGetIoTcpL() C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC
 
JNIEXPORT jint JNICALL Java_jvmqmsgque_MqContextC_ConfigGetBuffersize (JNIEnv *env, jobject self)
  Java: int ctx.ConfigGetBuffersize() C-API
get the minimum of the read/send buffersize of the socket
 
JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIdentFrom (JNIEnv *env, jobject self)
  Java: MqIdentE ctx.ConfigGetIdentFrom() C-API
get the MqConfigS::identFrom
 
JNIEXPORT jint JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIoPipe (JNIEnv *env, jobject self)
  Java: int ctx.ConfigGetIoPipe() C-API
return the MqIoPipeConfigS
 
JNIEXPORT jstring JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIoUds (JNIEnv *env, jobject self)
  Java: String ctx.ConfigGetIoUds() C-API
return the MqIoUdsConfigS
 
JNIEXPORT jboolean JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIsParent (JNIEnv *env, jobject self)
  Java: boolean ctx.ConfigGetIsParent() C-API
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is null
 
JNIEXPORT jboolean JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIsServer (JNIEnv *env, jobject self)
  Java: boolean ctx.ConfigGetIsServer() C-API
does the context object is a server ?
 
JNIEXPORT jboolean JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIsString (JNIEnv *env, jobject self)
  Java: boolean ctx.ConfigGetIsString() C-API
does the context object is using the string-mode ?
 
JNIEXPORT jstring JNICALL Java_jvmqmsgque_MqContextC_ConfigGetName (JNIEnv *env, jobject self)
  Java: String ctx.ConfigGetName() C-API
get the name of the context object
 
JNIEXPORT jint JNICALL Java_jvmqmsgque_MqContextC_ConfigGetPkgsize (JNIEnv *env, jobject self)
  Java: int ctx.ConfigGetPkgsize() C-API
get the maximun size of a BDY package
 
JNIEXPORT jstring JNICALL Java_jvmqmsgque_MqContextC_ConfigGetPostfix (JNIEnv *env, jobject self)
  Java: String ctx.ConfigGetPostfix() C-API
get the MqConfigS::dispPostfix
 
JNIEXPORT jstring JNICALL Java_jvmqmsgque_MqContextC_ConfigGetPrefix (JNIEnv *env, jobject self)
  Java: String ctx.ConfigGetPrefix() C-API
get the MqConfigS::dispPrefix
 
JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqContextC_ConfigGetStartAs (JNIEnv *env, jobject self)
  Java: MqStartE ctx.ConfigGetStartAs() C-API
return the MqConfigS::startAs value
 
JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqContextC_ConfigGetStatusIs (JNIEnv *env, jobject self)
  Java: MqStatusIsEF ctx.ConfigGetStatusIs() C-API
return the MqContextS::statusIs value
 
JNIEXPORT jstring JNICALL Java_jvmqmsgque_MqContextC_ConfigGetStorage (JNIEnv *env, jobject self)
  Java: String ctx.ConfigGetStorage() C-API
get the storage of the context object
 
JNIEXPORT jlong JNICALL Java_jvmqmsgque_MqContextC_ConfigGetTimeout (JNIEnv *env, jobject self)
  Java: long ctx.ConfigGetTimeout() C-API
get the timeout value of the context object
 
JNIEXPORT void JNICALL Java_jvmqmsgque_MqContextC_ConfigSetConfigFile (JNIEnv *env, jobject self, jstring filename)
  Java: ctx.ConfigSetConfigFile(String filename) C-API
set the config-file and parse for well-known config-items
 
JNIEXPORT jobjectArray JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIoTcp (JNIEnv *env, jobject self)
  Java: {host:String port:String myhost:String myport:String} 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()

native int jvmqmsgque.MqContextC.ConfigGetBuffersize ( )

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

◆ ConfigGetIdentFrom()

native MqIdentE jvmqmsgque.MqContextC.ConfigGetIdentFrom ( )

◆ ConfigGetIoPipe()

native int jvmqmsgque.MqContextC.ConfigGetIoPipe ( )

◆ ConfigGetIoTcp()

native String[] jvmqmsgque.MqContextC.ConfigGetIoTcp ( )

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

◆ ConfigGetIoTcpL()

native MkBufferListC jvmqmsgque.MqContextC.ConfigGetIoTcpL ( )

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

◆ ConfigGetIoUds()

native String jvmqmsgque.MqContextC.ConfigGetIoUds ( )

◆ ConfigGetIsParent()

native boolean jvmqmsgque.MqContextC.ConfigGetIsParent ( )

Java: boolean ctx.ConfigGetIsParent() C-API
does the context object is a parent ? An objext is a parent id the MqConfigS.parent attribute is null

◆ ConfigGetIsServer()

native boolean jvmqmsgque.MqContextC.ConfigGetIsServer ( )

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

◆ ConfigGetIsString()

native boolean jvmqmsgque.MqContextC.ConfigGetIsString ( )

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

◆ ConfigGetName()

native String jvmqmsgque.MqContextC.ConfigGetName ( )

Java: String ctx.ConfigGetName() C-API
get the name of the context object

◆ ConfigGetPkgsize()

native int jvmqmsgque.MqContextC.ConfigGetPkgsize ( )

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

◆ ConfigGetPostfix()

native String jvmqmsgque.MqContextC.ConfigGetPostfix ( )

◆ ConfigGetPrefix()

native String jvmqmsgque.MqContextC.ConfigGetPrefix ( )

◆ ConfigGetStartAs()

native MqStartE jvmqmsgque.MqContextC.ConfigGetStartAs ( )

◆ ConfigGetStatusIs()

native MqStatusIsEF jvmqmsgque.MqContextC.ConfigGetStatusIs ( )

◆ ConfigGetStorage()

native String jvmqmsgque.MqContextC.ConfigGetStorage ( )

Java: String ctx.ConfigGetStorage() C-API
get the storage of the context object

◆ ConfigGetTimeout()

native long jvmqmsgque.MqContextC.ConfigGetTimeout ( )

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

◆ ConfigSetConfigFile()

native void jvmqmsgque.MqContextC.ConfigSetConfigFile ( String filename)

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

◆ Java_jvmqmsgque_MqContextC_ConfigGetBuffersize()

JNIEXPORT jint JNICALL Java_jvmqmsgque_MqContextC_ConfigGetBuffersize ( JNIEnv * env,
jobject self )

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

Definition at line 294 of file MqContextC_jv.c.

294 {
295 MQ_CTXN hdl = (MQ_CTXN)pObj2Hdl(env,"MqContextC",self);
296 JavaErrorCheck;
297 MkRtSetup_X(hdl);
298 MK_I32 __retVal__L = MqConfigGetBuffersize(hdl);
299 jint __retVal__S = __retVal__L;
300 return __retVal__S;
301error:
302 return 0;
303}
signed int MK_I32
#define MkRtSetup_X(x)
const struct MqContextS * MQ_CTXN
class-shortcut for const struct MqContextS *, all const shortcut using the XX_YYYC syntax (only for p...
static MK_I32 MqConfigGetBuffersize(MQ_CTXN const ctx)
get the minimum of the read/send buffersize of the socket
PUBLIC data structure for the jvmqmsgque-specific-data

◆ Java_jvmqmsgque_MqContextC_ConfigGetIdentFrom()

JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIdentFrom ( JNIEnv * env,
jobject self )

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

Definition at line 306 of file MqContextC_jv.c.

306 {
307 MQ_CTX hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",self);
308 JavaErrorCheck;
309 MkRtSetup_X(hdl);
310 enum MqIdentE __retVal__L = MqConfigGetIdentFrom(hdl);
311 jobject __retVal__S = MK(pGetEnumFromString)(env,MQ(Class_MqIdentE),"Ljvmqmsgque/MqIdentE;",MqIdentE_ToString(__retVal__L));
312 return __retVal__S;
313error:
314 return 0;
315}
struct MqContextS * MQ_CTX
class-shortcut for struct MqContextS *, all shortcut using the XX_YYY syntax (only for public API) …
static enum MqIdentE MqConfigGetIdentFrom(MQ_CTX const ctx)
get the MqConfigS::identFrom
MqIdentE
identify the application using prefix (default) or factory …
MK_STRN MqIdentE_ToString(enum MqIdentE value)
return the MqIdentE as string …

◆ Java_jvmqmsgque_MqContextC_ConfigGetIoPipe()

JNIEXPORT jint JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIoPipe ( JNIEnv * env,
jobject self )

Java: int ctx.ConfigGetIoPipe() C-API
return the MqIoPipeConfigS

Definition at line 318 of file MqContextC_jv.c.

318 {
319 MQ_CTX hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",self);
320 JavaErrorCheck;
321 MkRtSetup_X(hdl);
322 MQ_SOCK_HDL __retVal__L = MqConfigGetIoPipe(hdl);
323 jint __retVal__S = __retVal__L;
324 return __retVal__S;
325error:
326 return 0;
327}
static MQ_SOCK_HDL MqConfigGetIoPipe(MQ_CTX const ctx)
return the MqIoPipeConfigS
int MQ_SOCK_HDL

◆ Java_jvmqmsgque_MqContextC_ConfigGetIoTcp()

JNIEXPORT jobjectArray JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIoTcp ( JNIEnv * env,
jobject self )

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

Definition at line 490 of file MqContextC_jv.c.

490 {
491 MQ_CTX hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",self);
492 JavaErrorCheck;
493 MkRtSetup_X(hdl);
494 MK_STRN host_out;
495 MK_STRN port_out;
496 MK_STRN myhost_out;
497 MK_STRN myport_out;
498 enum MkErrorE errVal = MqConfigGetIoTcp(hdl, &host_out, &port_out, &myhost_out, &myport_out);
499 MkErrorC_Check(hdl, errVal)
500 jobjectArray __retVal__L = (jobjectArray)(*env)->NewObjectArray(env,4,MK(Class_String),NULL);
501 (*env)->SetObjectArrayElement(env,__retVal__L,0,(*env)->NewStringUTF(env,host_out));
502 (*env)->SetObjectArrayElement(env,__retVal__L,1,(*env)->NewStringUTF(env,port_out));
503 (*env)->SetObjectArrayElement(env,__retVal__L,2,(*env)->NewStringUTF(env,myhost_out));
504 (*env)->SetObjectArrayElement(env,__retVal__L,3,(*env)->NewStringUTF(env,myport_out));
505 jobjectArray __retVal__S = __retVal__L;
506 return __retVal__S;
507error:
508 return 0;
509}
MkErrorE
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 …

◆ Java_jvmqmsgque_MqContextC_ConfigGetIoTcpL()

JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIoTcpL ( JNIEnv * env,
jobject self )

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

Definition at line 278 of file MqContextC_jv.c.

278 {
279 MQ_CTX hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",self);
280 JavaErrorCheck;
281 MkRtSetup_X(hdl);
282 MK_BFL vals_out;
283 enum MkErrorE errVal = MqConfigGetIoTcpL(hdl, &vals_out);
284 MkErrorC_Check(hdl, errVal)
285 jobject __retVal__S = MK(MkBufferListC_ObjNew)(MK_RT_CALL env,vals_out);
286 return __retVal__S;
287error:
288 return 0;
289}
#define MK_RT_CALL
#define MqConfigGetIoTcpL(...)

◆ Java_jvmqmsgque_MqContextC_ConfigGetIoUds()

JNIEXPORT jstring JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIoUds ( JNIEnv * env,
jobject self )

Java: String ctx.ConfigGetIoUds() C-API
return the MqIoUdsConfigS

Definition at line 330 of file MqContextC_jv.c.

330 {
331 MQ_CTXN hdl = (MQ_CTXN)pObj2Hdl(env,"MqContextC",self);
332 JavaErrorCheck;
333 MkRtSetup_X(hdl);
334 MK_STRN __retVal__L = MqConfigGetIoUds(hdl);
335 jstring __retVal__S = JC2O(env,__retVal__L);
336 return __retVal__S;
337error:
338 return 0;
339}
static MK_STRN MqConfigGetIoUds(MQ_CTXN const ctx)
return the MqIoUdsConfigS

◆ Java_jvmqmsgque_MqContextC_ConfigGetIsParent()

JNIEXPORT jboolean JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIsParent ( JNIEnv * env,
jobject self )

Java: boolean ctx.ConfigGetIsParent() C-API
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is null

Definition at line 342 of file MqContextC_jv.c.

342 {
343 MQ_CTX hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",self);
344 JavaErrorCheck;
345 MkRtSetup_X(hdl);
346 MK_BOOL __retVal__L = MqConfigGetIsParent(hdl);
347 jboolean __retVal__S = __retVal__L;
348 return __retVal__S;
349error:
350 return 0;
351}
bool MK_BOOL
static bool MqConfigGetIsParent(MQ_CTX const ctx)
does the context object is a parent ? An objext is a parent id the MqConfigS::parent attribute is nul...

◆ Java_jvmqmsgque_MqContextC_ConfigGetIsServer()

JNIEXPORT jboolean JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIsServer ( JNIEnv * env,
jobject self )

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

Definition at line 354 of file MqContextC_jv.c.

354 {
355 MQ_CTX hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",self);
356 JavaErrorCheck;
357 MkRtSetup_X(hdl);
358 MK_BOOL __retVal__L = MqConfigGetIsServer(hdl);
359 jboolean __retVal__S = __retVal__L;
360 return __retVal__S;
361error:
362 return 0;
363}
static bool MqConfigGetIsServer(MQ_CTX const ctx)
does the context object is a server ?

◆ Java_jvmqmsgque_MqContextC_ConfigGetIsString()

JNIEXPORT jboolean JNICALL Java_jvmqmsgque_MqContextC_ConfigGetIsString ( JNIEnv * env,
jobject self )

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

Definition at line 366 of file MqContextC_jv.c.

366 {
367 MQ_CTX hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",self);
368 JavaErrorCheck;
369 MkRtSetup_X(hdl);
370 MK_BOOL __retVal__L = MqConfigGetIsString(hdl);
371 jboolean __retVal__S = __retVal__L;
372 return __retVal__S;
373error:
374 return 0;
375}
static bool MqConfigGetIsString(MQ_CTX const ctx)
does the context object is using the string-mode ?

◆ Java_jvmqmsgque_MqContextC_ConfigGetName()

JNIEXPORT jstring JNICALL Java_jvmqmsgque_MqContextC_ConfigGetName ( JNIEnv * env,
jobject self )

Java: String ctx.ConfigGetName() C-API
get the name of the context object

Definition at line 378 of file MqContextC_jv.c.

378 {
379 MQ_CTXN hdl = (MQ_CTXN)pObj2Hdl(env,"MqContextC",self);
380 JavaErrorCheck;
381 MkRtSetup_X(hdl);
382 MK_STRN __retVal__L = MqConfigGetName(hdl);
383 jstring __retVal__S = JC2O(env,__retVal__L);
384 return __retVal__S;
385error:
386 return 0;
387}
static MK_STRN MqConfigGetName(MQ_CTXN const ctx)
get the name of the context object

◆ Java_jvmqmsgque_MqContextC_ConfigGetPkgsize()

JNIEXPORT jint JNICALL Java_jvmqmsgque_MqContextC_ConfigGetPkgsize ( JNIEnv * env,
jobject self )

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

Definition at line 390 of file MqContextC_jv.c.

390 {
391 MQ_CTXN hdl = (MQ_CTXN)pObj2Hdl(env,"MqContextC",self);
392 JavaErrorCheck;
393 MkRtSetup_X(hdl);
394 MK_I32 __retVal__L = MqConfigGetPkgsize(hdl);
395 jint __retVal__S = __retVal__L;
396 return __retVal__S;
397error:
398 return 0;
399}
static MK_I32 MqConfigGetPkgsize(MQ_CTXN const ctx)
get the maximun size of a BDY package

◆ Java_jvmqmsgque_MqContextC_ConfigGetPostfix()

JNIEXPORT jstring JNICALL Java_jvmqmsgque_MqContextC_ConfigGetPostfix ( JNIEnv * env,
jobject self )

Java: String ctx.ConfigGetPostfix() C-API
get the MqConfigS::dispPostfix

Definition at line 402 of file MqContextC_jv.c.

402 {
403 MQ_CTXN hdl = (MQ_CTXN)pObj2Hdl(env,"MqContextC",self);
404 JavaErrorCheck;
405 MkRtSetup_X(hdl);
406 MK_STRN __retVal__L = MqConfigGetPostfix(hdl);
407 jstring __retVal__S = JC2O(env,__retVal__L);
408 return __retVal__S;
409error:
410 return 0;
411}
static MK_STRN MqConfigGetPostfix(MQ_CTXN const ctx)
get the MqConfigS::dispPostfix

◆ Java_jvmqmsgque_MqContextC_ConfigGetPrefix()

JNIEXPORT jstring JNICALL Java_jvmqmsgque_MqContextC_ConfigGetPrefix ( JNIEnv * env,
jobject self )

Java: String ctx.ConfigGetPrefix() C-API
get the MqConfigS::dispPrefix

Definition at line 414 of file MqContextC_jv.c.

414 {
415 MQ_CTXN hdl = (MQ_CTXN)pObj2Hdl(env,"MqContextC",self);
416 JavaErrorCheck;
417 MkRtSetup_X(hdl);
418 MK_STRN __retVal__L = MqConfigGetPrefix(hdl);
419 jstring __retVal__S = JC2O(env,__retVal__L);
420 return __retVal__S;
421error:
422 return 0;
423}
static MK_STRN MqConfigGetPrefix(MQ_CTXN const ctx)
get the MqConfigS::dispPrefix

◆ Java_jvmqmsgque_MqContextC_ConfigGetStartAs()

JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqContextC_ConfigGetStartAs ( JNIEnv * env,
jobject self )

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

Definition at line 426 of file MqContextC_jv.c.

426 {
427 MQ_CTX hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",self);
428 JavaErrorCheck;
429 MkRtSetup_X(hdl);
430 enum MqStartE __retVal__L = MqConfigGetStartAs(hdl);
431 jobject __retVal__S = MK(pGetEnumFromString)(env,MQ(Class_MqStartE),"Ljvmqmsgque/MqStartE;",MqStartE_ToString(__retVal__L));
432 return __retVal__S;
433error:
434 return 0;
435}
static enum MqStartE MqConfigGetStartAs(MQ_CTX const ctx)
return the MqConfigS::startAs value
MqStartE
User preferences on HOWTO start a new entity.
MK_STRN MqStartE_ToString(enum MqStartE value)
return the MqStartE as string …

◆ Java_jvmqmsgque_MqContextC_ConfigGetStatusIs()

JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqContextC_ConfigGetStatusIs ( JNIEnv * env,
jobject self )

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

Definition at line 438 of file MqContextC_jv.c.

438 {
439 MQ_CTX hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",self);
440 JavaErrorCheck;
441 MkRtSetup_X(hdl);
442 enum MqStatusIsEF __retVal__L = MqConfigGetStatusIs(hdl);
443 jobject __retVal__S = MK(pGetEnumFlagFromInt)(env,MQ(Class_MqStatusIsEF),__retVal__L);
444 return __retVal__S;
445error:
446 return 0;
447}
static enum MqStatusIsEF MqConfigGetStatusIs(MQ_CTX const ctx)
return the MqContextS::statusIs value
MqStatusIsEF
Information about how the context was created.

◆ Java_jvmqmsgque_MqContextC_ConfigGetStorage()

JNIEXPORT jstring JNICALL Java_jvmqmsgque_MqContextC_ConfigGetStorage ( JNIEnv * env,
jobject self )

Java: String ctx.ConfigGetStorage() C-API
get the storage of the context object

Definition at line 450 of file MqContextC_jv.c.

450 {
451 MQ_CTXN hdl = (MQ_CTXN)pObj2Hdl(env,"MqContextC",self);
452 JavaErrorCheck;
453 MkRtSetup_X(hdl);
454 MK_STRN __retVal__L = MqConfigGetStorage(hdl);
455 jstring __retVal__S = JC2O(env,__retVal__L);
456 return __retVal__S;
457error:
458 return 0;
459}
static MK_STRN MqConfigGetStorage(MQ_CTXN const ctx)
get the storage of the context object

◆ Java_jvmqmsgque_MqContextC_ConfigGetTimeout()

JNIEXPORT jlong JNICALL Java_jvmqmsgque_MqContextC_ConfigGetTimeout ( JNIEnv * env,
jobject self )

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

Definition at line 462 of file MqContextC_jv.c.

462 {
463 MQ_CTXN hdl = (MQ_CTXN)pObj2Hdl(env,"MqContextC",self);
464 JavaErrorCheck;
465 MkRtSetup_X(hdl);
466 MK_TIME_T __retVal__L = MqConfigGetTimeout(hdl);
467 jlong __retVal__S = __retVal__L;
468 return __retVal__S;
469error:
470 return 0;
471}
time_t MK_TIME_T
static MK_TIME_T MqConfigGetTimeout(MQ_CTXN const ctx)
get the timeout value of the context object

◆ Java_jvmqmsgque_MqContextC_ConfigSetConfigFile()

JNIEXPORT void JNICALL Java_jvmqmsgque_MqContextC_ConfigSetConfigFile ( JNIEnv * env,
jobject self,
jstring filename )

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

Definition at line 474 of file MqContextC_jv.c.

474 {
475 MQ_CTX hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",self);
476 JavaErrorCheck;
477 MkRtSetup_X(hdl);
478 MK_STRN filename_ptr = (filename?(*env)->GetStringUTFChars(env,filename,NULL):NULL);
479 JavaErrorCheck;
480 enum MkErrorE errVal = MqConfigSetConfigFile(hdl, filename_ptr);
481 MkErrorC_Check(hdl, errVal)
482 if (filename_ptr) (*env)->ReleaseStringUTFChars(env,filename,filename_ptr);
483error:
484 return;
485}
#define MqConfigSetConfigFile(...)