10#define META_FILE_NAME "MqDumpC_jv.c"
12#include "jni_h/jvmqmsgque_MqDumpC.h"
13#include "LibMqMsgque_private_jv.h"
27 JNIEnv *env = (JNIEnv*) envP;
28 return (*env)->NewObject(env, NS(Class_MqDumpC), NS(MID_MqDumpC_INIT), (jlong) obj, JNI_TRUE);
49 jobject __retVal__S = MQ(MqDumpC_ObjNew)(
MK_RT_CALL env,__retVal__L);
72 jobject __retVal__S = MQ(MqDumpC_ObjNew)(
MK_RT_CALL env,__retVal__L);
84 jobject __retVal__S = MQ(MqDumpC_ObjNew)(
MK_RT_CALL env,__retVal__L);
96 jobject __retVal__S = MQ(MqDumpC_ObjNew)(
MK_RT_CALL env,__retVal__L);
113 jobject __retVal__S = MQ(MqDumpC_ObjNew)(
MK_RT_CALL env,__retVal__L);
134 jlong __retVal__S = __retVal__L;
146 jstring __retVal__S = JC2O(env,__retVal__L);
164 MQ_CTX ctx_hdl = (
MQ_CTX)pObj2Hdl(env,
"MqContextC",ctx);
166 MQ_DMP dumpP_inout_hdl = (
MQ_DMP)pObj2Hdl__null_allow(env,dumpP_inout);
169 MkErrorC_Check(NULL, errVal)
170 jlong __retVal__S = (jlong)dumpP_inout_hdl;
179 MQ_CTX error_hdl = (
MQ_CTX)pObj2Hdl(env,
"MqContextC",error);
181 MQ_DMP dumpP_inout_hdl = (
MQ_DMP)pObj2Hdl__null_allow(env,dumpP_inout);
184 MkErrorC_Check(NULL, errVal)
185 jobject __retVal__S = MQ(MqDumpC_ObjCreate)(
MK_RT_CALL env,dumpP_inout_hdl);
194 MQ_CTX ctx_hdl = (
MQ_CTX)pObj2Hdl(env,
"MqContextC",ctx);
196 MQ_DMP dumpP_inout_hdl = (
MQ_DMP)pObj2Hdl__null_allow(env,dumpP_inout);
199 MkErrorC_Check(NULL, errVal)
200 jobject __retVal__S = MQ(MqDumpC_ObjCreate)(
MK_RT_CALL env,dumpP_inout_hdl);
212 MK_BINN data_data = (
MK_BINN) (*env)->GetByteArrayElements(env, data, NULL);
218 MkErrorC_Check(NULL, errVal)
219 jobject __retVal__S = MQ(MqDumpC_ObjCreate)(
MK_RT_CALL env,dmp_out);
220 (*env)->ReleaseByteArrayElements(env, data, (jbyte*)data_data, JNI_ABORT);
234 jbyteArray __retVal__S = (*env)->NewByteArray(env, (jsize) __retVal__L.
size);
236 (*env)->SetByteArrayRegion(env,__retVal__S,0,(jsize) __retVal__L.
size,(jbyte*)__retVal__L.
data);
248 MQ_CTX ctx_hdl = (
MQ_CTX)pObj2Hdl(env,
"MqContextC",ctx);
251 MkErrorC_Check(hdl, errVal)
266 MqDumpC_TT->selfCreate = NS(MqDumpC_selfCreate);
static MkBinaryR MkBinaryCreate(MK_SIZE size, MK_BINN data)
struct MqContextS * MQ_CTX
class-shortcut for struct MqContextS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MqDumpHandleResolve(...)
const struct MqDumpS * MQ_DMPN
class-shortcut for const struct MqDumpS *, all const shortcut using the XX_YYYC syntax (only for publ...
static MQ_DMP MqDumpGetNull(void)
Null-Slot - return a MqDumpC typed NULL instance …
#define MqDumpInstances()
static MQ_DMP MqDumpNext(MQ_DMP const dmp)
get next instance from linked-list of MqDumpS type
static MQ_DMP MqDumpPrev(MQ_DMP const dmp)
get previous instance from linked-list of MqDumpS type
struct MqDumpS * MQ_DMP
class-shortcut for struct MqDumpS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MqDumpC_TT
class as MkTypeS-class-type, useable in a class-macro as: class##_TT …
JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqDumpC_GetNull(JNIEnv *env, jclass class)
Java: [static] MqDumpC MqDumpC.GetNull() → C-API Null-Slot - return a MqDumpC typed NULL instanc...
JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqDumpC_HandleResolve(JNIEnv *env, jclass class, jint netHdl)
Java: [static] MqDumpC MqDumpC.HandleResolve(int netHdl) → C-API Handle-Resolve-Slot - return a ...
JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqDumpC_Instances(JNIEnv *env, jclass class)
Java: [static] MqDumpC MqDumpC.Instances() → C-API get head-instance from linked-list of MqDumpS...
JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqDumpC_Next(JNIEnv *env, jobject self)
Java: MqDumpC dmp.Next() → C-API get next instance from linked-list of MqDumpS type
JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqDumpC_Prev(JNIEnv *env, jobject self)
Java: MqDumpC dmp.Prev() → C-API get previous instance from linked-list of MqDumpS type
MK_STRN MqDumpTokenGet(MQ_DMPN const dump)
return the MqContextC_ServiceApi_Identifer …
MK_SIZE MqDumpSizeGet(MQ_DMPN const dump)
report the binary data size from an MqDumpS object
JNIEXPORT jstring JNICALL Java_jvmqmsgque_MqDumpC_TokenGet(JNIEnv *env, jobject self)
Java: String dump.TokenGet() → C-API return the MqContextC_ServiceApi_Identifer …
JNIEXPORT jlong JNICALL Java_jvmqmsgque_MqDumpC_SizeGet(JNIEnv *env, jobject self)
Java: long dump.SizeGet() → C-API report the binary data size from an MqDumpS object
#define MqDumpExport(...)
#define MqDumpBinSet(...)
#define MqDumpImport(...)
MkBinaryR MqDumpBinGet(MQ_DMPN const dump)
export the binary data from an MqDumpS object
JNIEXPORT jbyteArray JNICALL Java_jvmqmsgque_MqDumpC_BinGet(JNIEnv *env, jobject self)
Java: byte[] dump.BinGet() → C-API export the binary data from an MqDumpS object
JNIEXPORT void JNICALL Java_jvmqmsgque_MqDumpC_Import(JNIEnv *env, jobject self, jobject ctx)
Java: dump.Import(MqContextC ctx) → C-API import the dump-package into the ctx-read-data-packag...
JNIEXPORT jlong JNICALL Java_jvmqmsgque_MqDumpC_CTOR(JNIEnv *env, jclass class, jobject ctx, jobject dumpP_inout)
Java: [constructor,static] MqDumpC MqDumpC.Export(MqContextC ctx, ?MqDumpC dumpP_inout = null?...
JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqDumpC_Export(JNIEnv *env, jclass class, jobject ctx, jobject dumpP_inout)
Java: [constructor,static] MqDumpC MqDumpC.Export(MqContextC ctx, ?MqDumpC dumpP_inout = null?...
JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqDumpC_BinSet(JNIEnv *env, jclass class, jbyteArray data)
Java: [constructor,static] MqDumpC MqDumpC.BinSet(byte[] data) → C-API create an MqDumpS object ...
JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqDumpC_Error(JNIEnv *env, jclass class, jobject error, jobject dumpP_inout)
Java: [constructor,static] MqDumpC MqDumpC.Error(MqContextC error, ?MqDumpC dumpP_inout = null?...
PUBLIC data structure for the jvmqmsgque-specific-data
MqDumpC - the class known as dmp or dump is used to export a jvmqmsgque data package as binary …