theLink 10.0
Loading...
Searching...
No Matches
MqDumpC_TOR_JV_API

MqDumpC - various functions to create, initialize and destroy a dumpMore...

+ Collaboration diagram for MqDumpC_TOR_JV_API:

Functions

static native MqDumpC jvmqmsgque.MqDumpC.Error (MqContextC error, MqDumpC dumpP_inout)
  Java: [constructor,static] MqDumpC MqDumpC.Error(MqContextC error, ?MqDumpC dumpP_inout = null?) C-API
export the context->error into the dump-package
 
static MqDumpC jvmqmsgque.MqDumpC.Error (MqContextC error)
  Java: [constructor,static] MqDumpC MqDumpC.Error(MqContextC error, ?MqDumpC dumpP_inout = null?) C-API
export the context->error into the dump-package
 
static native MqDumpC jvmqmsgque.MqDumpC.Export (MqContextC ctx, MqDumpC dumpP_inout)
  Java: [constructor,static] MqDumpC MqDumpC.Export(MqContextC ctx, ?MqDumpC dumpP_inout = null?) C-API
create a MqDumpC as export of the ctx-read-data-package
 
 jvmqmsgque.MqDumpC.MqDumpC (MqContextC ctx, MqDumpC dumpP_inout)
  Java: [constructor,static] MqDumpC MqDumpC.Export(MqContextC ctx, ?MqDumpC dumpP_inout = null?) C-API
create a MqDumpC as export of the ctx-read-data-package
 
static MqDumpC jvmqmsgque.MqDumpC.Export (MqContextC ctx)
  Java: [constructor,static] MqDumpC MqDumpC.Export(MqContextC ctx, ?MqDumpC dumpP_inout = null?) C-API
create a MqDumpC as export of the ctx-read-data-package
 
 jvmqmsgque.MqDumpC.MqDumpC (MqContextC ctx)
  Java: [constructor,static] MqDumpC MqDumpC.Export(MqContextC ctx, ?MqDumpC dumpP_inout = null?) C-API
create a MqDumpC as export of the ctx-read-data-package
 
static native MqDumpC jvmqmsgque.MqDumpC.BinSet (byte[] data)
  Java: [constructor,static] MqDumpC MqDumpC.BinSet(byte[] data) C-API
create an MqDumpS object from binary data
 
native byte[] jvmqmsgque.MqDumpC.BinGet ()
  Java: byte[] dump.BinGet() C-API
export the binary data from an MqDumpS object
 
native void jvmqmsgque.MqDumpC.Import (MqContextC ctx)
  Java: dump.Import(MqContextC ctx) C-API
import the dump-package into the ctx-read-data-package
 
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?) C-API
create a MqDumpC as export of the ctx-read-data-package
 
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?) C-API
export the context->error into the dump-package
 
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?) C-API
create a MqDumpC as export of the ctx-read-data-package
 
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 from binary data
 
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-package
 

Detailed Description

MqDumpC - various functions to create, initialize and destroy a dump

Function Documentation

◆ BinGet()

native byte[] jvmqmsgque.MqDumpC.BinGet ( )

Java: byte[] dump.BinGet() C-API
export the binary data from an MqDumpS object

◆ BinSet()

static native MqDumpC jvmqmsgque.MqDumpC.BinSet ( byte[] data)
static

Java: [constructor,static] MqDumpC MqDumpC.BinSet(byte[] data) C-API
create an MqDumpS object from binary data

◆ Error() [1/2]

static MqDumpC jvmqmsgque.MqDumpC.Error ( MqContextC error)
static

Java: [constructor,static] MqDumpC MqDumpC.Error(MqContextC error, ?MqDumpC dumpP_inout = null?) C-API
export the context->error into the dump-package

Definition at line 137 of file MqDumpC.java.

137 {
138 return Error (error, (MqDumpC) null);
139 }
static native MqDumpC Error(MqContextC error, MqDumpC dumpP_inout)
Java: [constructor,static] MqDumpC MqDumpC.Error(MqContextC error, ?MqDumpC dumpP_inout = null?...

◆ Error() [2/2]

static native MqDumpC jvmqmsgque.MqDumpC.Error ( MqContextC error,
MqDumpC dumpP_inout )
static

Java: [constructor,static] MqDumpC MqDumpC.Error(MqContextC error, ?MqDumpC dumpP_inout = null?) C-API
export the context->error into the dump-package

+ Here is the caller graph for this function:

◆ Export() [1/2]

static MqDumpC jvmqmsgque.MqDumpC.Export ( MqContextC ctx)
static

Java: [constructor,static] MqDumpC MqDumpC.Export(MqContextC ctx, ?MqDumpC dumpP_inout = null?) C-API
create a MqDumpC as export of the ctx-read-data-package

Definition at line 150 of file MqDumpC.java.

150 {
151 return Export (ctx, (MqDumpC) null);
152 }
static native MqDumpC Export(MqContextC ctx, MqDumpC dumpP_inout)
Java: [constructor,static] MqDumpC MqDumpC.Export(MqContextC ctx, ?MqDumpC dumpP_inout = null?...

◆ Export() [2/2]

static native MqDumpC jvmqmsgque.MqDumpC.Export ( MqContextC ctx,
MqDumpC dumpP_inout )
static

Java: [constructor,static] MqDumpC MqDumpC.Export(MqContextC ctx, ?MqDumpC dumpP_inout = null?) C-API
create a MqDumpC as export of the ctx-read-data-package

+ Here is the caller graph for this function:

◆ Import()

native void jvmqmsgque.MqDumpC.Import ( MqContextC ctx)

Java: dump.Import(MqContextC ctx) C-API
import the dump-package into the ctx-read-data-package

◆ Java_jvmqmsgque_MqDumpC_BinGet()

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

Definition at line 229 of file MqDumpC_jv.c.

229 {
230 MQ_DMPN hdl = (MQ_DMPN)pObj2Hdl(env,"MqDumpC",self);
231 JavaErrorCheck;
232 MkRtSetup_X(hdl);
233 MkBinaryR __retVal__L = MqDumpBinGet(hdl);
234 jbyteArray __retVal__S = (*env)->NewByteArray(env, (jsize) __retVal__L.size);
235 JavaErrorCheck;
236 (*env)->SetByteArrayRegion(env,__retVal__S,0,(jsize) __retVal__L.size,(jbyte*)__retVal__L.data);
237 JavaErrorCheck;
238 return __retVal__S;
239error:
240 return 0;
241}
#define MkRtSetup_X(x)
const struct MqDumpS * MQ_DMPN
class-shortcut for const struct MqDumpS *, all const shortcut using the XX_YYYC syntax (only for publ...
MkBinaryR MqDumpBinGet(MQ_DMPN const dump)
export the binary data from an MqDumpS object
MK_SIZE size
MK_BINN data
MqDumpC - the class known as dmp or dump is used to export a jvmqmsgque data package as binary …

◆ Java_jvmqmsgque_MqDumpC_BinSet()

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 from binary data

Definition at line 209 of file MqDumpC_jv.c.

209 {
211 MQ_DMP dmp_out;
212 MK_BINN data_data = (MK_BINN) (*env)->GetByteArrayElements(env, data, NULL);
213 JavaErrorCheck;
214 MK_SIZE data_size = (MK_SIZE) (*env)->GetArrayLength (env, data);
215 JavaErrorCheck;
216 MkBinaryR data_ref = MkBinaryCreate(data_size,data_data);
217 enum MkErrorE errVal = MqDumpBinSet(data_ref, &dmp_out);
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);
221 return __retVal__S;
222error:
223 return 0;
224}
static MkBinaryR MkBinaryCreate(MK_SIZE size, MK_BINN data)
MkErrorE
long MK_SIZE
MK_BINB const * MK_BINN
#define MK_RT_CALL
#define MkRtSetup_NULL
#define MqDumpBinSet(...)

◆ Java_jvmqmsgque_MqDumpC_CTOR()

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?) C-API
create a MqDumpC as export of the ctx-read-data-package

Definition at line 162 of file MqDumpC_jv.c.

162 {
164 MQ_CTX ctx_hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",ctx);
165 JavaErrorCheck;
166 MQ_DMP dumpP_inout_hdl = (MQ_DMP)pObj2Hdl__null_allow(env,dumpP_inout);
167 JavaErrorCheck;
168 enum MkErrorE errVal = MqDumpExport(ctx_hdl, &dumpP_inout_hdl);
169 MkErrorC_Check(NULL, errVal)
170 jlong __retVal__S = (jlong)dumpP_inout_hdl;
171 return __retVal__S;
172error:
173 return 0;
174}
struct MqContextS * MQ_CTX
class-shortcut for struct MqContextS *, all shortcut using the XX_YYY syntax (only for public API) …
struct MqDumpS * MQ_DMP
class-shortcut for struct MqDumpS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MqDumpExport(...)
PUBLIC data structure for the jvmqmsgque-specific-data

◆ Java_jvmqmsgque_MqDumpC_Error()

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?) C-API
export the context->error into the dump-package

Definition at line 177 of file MqDumpC_jv.c.

177 {
179 MQ_CTX error_hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",error);
180 JavaErrorCheck;
181 MQ_DMP dumpP_inout_hdl = (MQ_DMP)pObj2Hdl__null_allow(env,dumpP_inout);
182 JavaErrorCheck;
183 enum MkErrorE errVal = MqDumpError(error_hdl, &dumpP_inout_hdl);
184 MkErrorC_Check(NULL, errVal)
185 jobject __retVal__S = MQ(MqDumpC_ObjCreate)(MK_RT_CALL env,dumpP_inout_hdl);
186 return __retVal__S;
187error:
188 return 0;
189}
#define MqDumpError(...)

◆ Java_jvmqmsgque_MqDumpC_Export()

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?) C-API
create a MqDumpC as export of the ctx-read-data-package

Definition at line 192 of file MqDumpC_jv.c.

192 {
194 MQ_CTX ctx_hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",ctx);
195 JavaErrorCheck;
196 MQ_DMP dumpP_inout_hdl = (MQ_DMP)pObj2Hdl__null_allow(env,dumpP_inout);
197 JavaErrorCheck;
198 enum MkErrorE errVal = MqDumpExport(ctx_hdl, &dumpP_inout_hdl);
199 MkErrorC_Check(NULL, errVal)
200 jobject __retVal__S = MQ(MqDumpC_ObjCreate)(MK_RT_CALL env,dumpP_inout_hdl);
201 return __retVal__S;
202error:
203 return 0;
204}

◆ Java_jvmqmsgque_MqDumpC_Import()

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-package

Definition at line 244 of file MqDumpC_jv.c.

244 {
245 MQ_DMP hdl = (MQ_DMP)pObj2Hdl(env,"MqDumpC",self);
246 JavaErrorCheck;
247 MkRtSetup_X(hdl);
248 MQ_CTX ctx_hdl = (MQ_CTX)pObj2Hdl(env,"MqContextC",ctx);
249 JavaErrorCheck;
250 enum MkErrorE errVal = MqDumpImport(hdl, ctx_hdl);
251 MkErrorC_Check(hdl, errVal)
252error:
253 return;
254}
#define MqDumpImport(...)

◆ MqDumpC() [1/2]

jvmqmsgque.MqDumpC.MqDumpC ( MqContextC ctx)

Java: [constructor,static] MqDumpC MqDumpC.Export(MqContextC ctx, ?MqDumpC dumpP_inout = null?) C-API
create a MqDumpC as export of the ctx-read-data-package

Definition at line 155 of file MqDumpC.java.

155 {
156 this(CTOR(ctx, (MqDumpC) null), true);
157 }

◆ MqDumpC() [2/2]

jvmqmsgque.MqDumpC.MqDumpC ( MqContextC ctx,
MqDumpC dumpP_inout )

Java: [constructor,static] MqDumpC MqDumpC.Export(MqContextC ctx, ?MqDumpC dumpP_inout = null?) C-API
create a MqDumpC as export of the ctx-read-data-package

Definition at line 145 of file MqDumpC.java.

145 {
146 this(CTOR(ctx, dumpP_inout), true);
147 }