theKernel 10.0
Loading...
Searching...
No Matches
MkObjectC.java
Go to the documentation of this file.
1
9/* LABEL-NO */
10package jvmkkernel;
11
16public class MkObjectC implements AutoCloseable {
17
18 static {
20 }
21
34 protected MkObjectC (long mng, boolean dummy) {
35 hdl = (mng == 0L && dummy == false ? 0L : atomCreate(mng,this));
36 }
37
38 // INTERNAL
39
40 private long hdl = 0L;
41
42 private native static long atomCreate (long mng, Object self);
43 private native static long atomDelete (long mng);
44
45 protected void Dispose(boolean disposing) {
46
47 // Check to see if Dispose has already been called.
48 if(hdl != 0L)
49 {
50 // If disposing equals true, dispose all managed
51 // and unmanaged resources.
52 if(disposing)
53 {
54 // Dispose managed resources. (not used here)
55 // component.Dispose();
56 }
57
58 // Call the appropriate methods to clean up
59 // unmanaged resources here.
60 // If disposing is false,
61 // only the following code is executed.
62
63 // Note disposing has been done.
64 // hint: MkRefDecr->FactoryDelete->Dispose => double-invoke
65 hdl = atomDelete(hdl);
66 }
67 }
68
69 public void close() {
70 Dispose(true);
71 }
72
73 // PUBLIC
74
75/*
77 public void ErrorPrint (Throwable ex) {
78 ErrorCatch (ex);
79 ErrorPrint ();
80 }
81*/
82
83 public String toString() {
84 return hdl == 0L ? "MK_NULL" : ToString();
85 }
86
87 // BEGIN-MkObjectC - created by 'jv_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
88
92
93 // doc-key: MkObjectC,MkObjectC-Class-Export,sc_
94
96 public native static MkObjectC HandleResolve (int netHdl);
97
98 // doc-key: MkObjectC,MkObjectC-Class-Export,om_
99
101 public native void HandleDelete ();
102
104 public native boolean HandleExists ();
105
107 public native int HandleGet ();
108
110 public native int HandleGetOfType ();
111
113 public native int HandleGetOr0 ();
114
115 // doc-key: MkObjectC,MkObjectC-Class-Export,sm_
116
118 public native static void HandleDeleteByNetHdl (int netHdl);
119
121 // MkObjectC_Class_JV_API
122
126
127 // doc-key: MkObjectC,MkObjectC-Class-Introspection,oc_
128
130 public native MkObjectC Next ();
131
133 public native MkObjectC Prev ();
134
135 // doc-key: MkObjectC,MkObjectC-Class-Introspection,sc_
136
138 public native static MkObjectC Instances ();
139
141 // MkObjectC_Class_JV_API
142
146
147 // doc-key: MkObjectC,MkObjectC-Class-Misc,sc_
148
150 public native static MkObjectC GetNull ();
151
153 // MkObjectC_Class_JV_API
154
158
159 // doc-key: MkObjectC,MkObjectC-Dbg,om_
160
162 public native void DbgDump (String message, String callfunc);
163
165 public void DbgDump () {
166 DbgDump ("var", null);
167 }
168
170 public void DbgDump (String message) {
171 DbgDump (message, null);
172 }
173
175 public native void DbgL (String message, int debug, String callfunc, int lvl);
176
178 public void DbgL (String message) {
179 DbgL (message, 0, null, 0);
180 }
181
183 public void DbgL (String message, int debug) {
184 DbgL (message, debug, null, 0);
185 }
186
188 public void DbgL (String message, int debug, String callfunc) {
189 DbgL (message, debug, callfunc, 0);
190 }
191
193 public native void DbgLogC (String callfunc);
194
196 public void DbgLogC () {
197 DbgLogC (null);
198 }
199
201 public native void DbgO (String callfunc);
202
204 public void DbgO () {
205 DbgO (null);
206 }
207
209 public native void DbgSTACK (int skip, int num, String callfunc);
210
212 public void DbgSTACK () {
213 DbgSTACK (0, -1, null);
214 }
215
217 public void DbgSTACK (int skip) {
218 DbgSTACK (skip, -1, null);
219 }
220
222 public void DbgSTACK (int skip, int num) {
223 DbgSTACK (skip, num, null);
224 }
225
226 // doc-key: MkObjectC,MkObjectC-Dbg,sm_
227
229 public native static void DbgM (String message, int debug, String callfunc, int lvl);
230
232 public static void DbgM (String message) {
233 DbgM (message, 0, null, 0);
234 }
235
237 public static void DbgM (String message, int debug) {
238 DbgM (message, debug, null, 0);
239 }
240
242 public static void DbgM (String message, int debug, String callfunc) {
243 DbgM (message, debug, callfunc, 0);
244 }
245
247 // MkObjectC_Dbg_JV_API
248
252
253 // doc-key: MkObjectC,MkObjectC-Log,om_
254
256 public native void LogC (String message, int debug, String callfunc);
257
259 public void LogC (String message) {
260 LogC (message, 0, null);
261 }
262
264 public void LogC (String message, int debug) {
265 LogC (message, debug, null);
266 }
267
269 public native void LogHEX (String callfunc, byte[] data);
270
272 public native void Log (MkObjectC fmtobj, int debug, String callfunc, int lvl);
273
275 public native void LogLong (MkObjectC fmtobj, int debug, String callfunc, int lvl);
276
278 public void LogLong () {
279 LogLong ((MkObjectC) null, 0, null, 0);
280 }
281
283 public void LogLong (MkObjectC fmtobj) {
284 LogLong (fmtobj, 0, null, 0);
285 }
286
288 public void LogLong (MkObjectC fmtobj, int debug) {
289 LogLong (fmtobj, debug, null, 0);
290 }
291
293 public void LogLong (MkObjectC fmtobj, int debug, String callfunc) {
294 LogLong (fmtobj, debug, callfunc, 0);
295 }
296
298 public native void LogShort (MkObjectC fmtobj, int debug, String callfunc, int lvl);
299
301 public void LogShort () {
302 LogShort ((MkObjectC) null, 0, null, 0);
303 }
304
306 public void LogShort (MkObjectC fmtobj) {
307 LogShort (fmtobj, 0, null, 0);
308 }
309
311 public void LogShort (MkObjectC fmtobj, int debug) {
312 LogShort (fmtobj, debug, null, 0);
313 }
314
316 public void LogShort (MkObjectC fmtobj, int debug, String callfunc) {
317 LogShort (fmtobj, debug, callfunc, 0);
318 }
319
321 public native void LogType (MkObjectC fmtobj, int debug, String callfunc, int lvl);
322
324 public void LogType () {
325 LogType ((MkObjectC) null, 0, null, 0);
326 }
327
329 public void LogType (MkObjectC fmtobj) {
330 LogType (fmtobj, 0, null, 0);
331 }
332
334 public void LogType (MkObjectC fmtobj, int debug) {
335 LogType (fmtobj, debug, null, 0);
336 }
337
339 public void LogType (MkObjectC fmtobj, int debug, String callfunc) {
340 LogType (fmtobj, debug, callfunc, 0);
341 }
342
344 public void Log () {
345 Log ((MkObjectC) null, 0, null, 0);
346 }
347
349 public void Log (MkObjectC fmtobj) {
350 Log (fmtobj, 0, null, 0);
351 }
352
354 public void Log (MkObjectC fmtobj, int debug) {
355 Log (fmtobj, debug, null, 0);
356 }
357
359 public void Log (MkObjectC fmtobj, int debug, String callfunc) {
360 Log (fmtobj, debug, callfunc, 0);
361 }
362
364 // MkObjectC_Log_JV_API
365
369
370 // doc-key: MkObjectC,MkObjectC-Misc,oc_
371
373 public native MkErrorC ErrorCatch (Throwable exception, String callfunc);
374
377 return ErrorCatch (null, null);
378 }
379
381 public MkErrorC ErrorCatch (Throwable exception) {
382 return ErrorCatch (exception, null);
383 }
384
386 public native MkErrorC ToError ();
387
388 // doc-key: MkObjectC,MkObjectC-Misc,om_
389
391 public native boolean IsNull ();
392
394 public native String ToName ();
395
397 public native String ToNameOfClass ();
398
400 public native String ToNameOfType ();
401
403 public native String ToString ();
404
406 // MkObjectC_Misc_JV_API
407
411
412 // doc-key: MkObjectC,MkObjectC-Obj,om_
413
415 public native int RefGet ();
416
418 // MkObjectC_Obj_JV_API
419
423
424 // doc-key: MkObjectC,MkObjectC-Sys,om_
425
427 public native void SysKill (int pid, int signal);
428
429 // doc-key: MkObjectC,MkObjectC-Sys,omo
430
432 public native int SysGetPid ();
433
434 // doc-key: MkObjectC,MkObjectC-Sys,sm_
435
437 public native static int SysHashI32 (String key, int length);
438
440 public static int SysHashI32 (String key) {
441 return SysHashI32 (key, -1);
442 }
443
445 public native static String SysHashSTR (String key, int length);
446
448 public static String SysHashSTR (String key) {
449 return SysHashSTR (key, -1);
450 }
451
453 // MkObjectC_Sys_JV_API
454
458
459 // doc-key: MkObjectC,MkObjectC-TOR,od_
460
462 public native void Dispose ();
463
464 // doc-key: MkObjectC,MkObjectC-TOR,oD_
465
467 public native void Delete ();
468
469 // doc-key: MkObjectC,MkObjectC-TOR,sm_
470
472 public native static void DeleteCallbackCleanup (String ident);
473
475 public native static void DeleteCallbackSetup (String ident, MkObjectDeleteIF callback, String filter);
476
478 public static void DeleteCallbackSetup (String ident) {
479 DeleteCallbackSetup (ident, null, null);
480 }
481
483 public static void DeleteCallbackSetup (String ident, MkObjectDeleteIF callback) {
484 DeleteCallbackSetup (ident, callback, null);
485 }
486
488 // MkObjectC_TOR_JV_API
489
490 // END-MkObjectC - created by 'jv_MqS.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
491
492
493 /*
494 ++++ D E B U G G I N G ++++
495 */
496
497 public static int getPId() {
498 return 999;
499 }
500
501 @SuppressWarnings("deprecation")
502 public static long getTId() {
503 return Thread.currentThread().getId();
504 }
505
506 public static String getCallerProc(int level) {
507 level += 2;
508 StackTraceElement[] steA = Thread.currentThread().getStackTrace();
509 if (level >= steA.length) level=steA.length-1;
510 return steA[level].getMethodName();
511 }
512
513 public static String getCallerProc() {
514 return getCallerProc(2);
515 }
516
517 public static String getStackTrace(int level) {
518 return Thread.currentThread().getStackTrace().toString();
519 }
520 public static String getStackTrace() {
521 return getStackTrace(2);
522 }
523
524 public static int getCallerLine(int level) {
525 level += 2;
526 StackTraceElement[] steA = Thread.currentThread().getStackTrace();
527 if (level >= steA.length) level=steA.length-1;
528 return steA[level].getLineNumber();
529 }
530 public static int getCallerLine() {
531 return getCallerLine(2);
532 }
533
534 public static String getCallerFile(int level) {
535 level += 2;
536 StackTraceElement[] steA = Thread.currentThread().getStackTrace();
537 if (level >= steA.length) level=steA.length-1;
538 return steA[level].getFileName();
539 }
540 public static String getCallerFile() {
541 return getCallerFile(2);
542 }
543
544 public static void SF(String msg, String name, int framelvl) {
545 if (name == null) { name = "unknown"; }
546 System.err.println(String.format("[pid=%d,tid=%d,caller=%-25s] -> {%-15s} = %s",
547 getPId(),getTId(), getCallerProc(framelvl+1), name, msg));
548 }
549 public static void SF(String msg) {
550 SF(msg,null,1);
551 }
552 public static void SF(String msg, String name) {
553 SF(msg,name,1);
554 }
555 public static void printP(long ptr, String name, int framelvl) {
556 if (name == null) { name = getCallerProc(); }
557 if (ptr == 0L) {
558 SF("NULL", name, framelvl+1);
559 } else {
560 SF(String.format("0x%x",ptr), name, framelvl+1);
561 }
562 }
563 public void printP() {
564 printP(hdl,getCallerProc(),1);
565 }
566 public static void printO(byte byt, String name, int framelvl) {
567 if (name == null) { name = getCallerProc(); }
568 SF(Byte.toString(byt), name, framelvl+1);
569 }
570 public static void printBool(boolean bol, String name, int framelvl) {
571 if (name == null) { name = getCallerProc(); }
572 SF(Boolean.toString(bol), name, framelvl+1);
573 }
574 public static void printObj(Object id, String caller, int framelvl) {
575 if (id == null) {
576 SF("type=null, value=null", caller, framelvl+1);
577 } else {
578 SF("type=" + id.getClass() + ", value=" + id, caller, framelvl+1);
579 }
580 }
581 public static void printObj(Object id, String caller) {
582 printObj(id,caller,1);
583 }
584 public static void printObj(Object id) {
585 printObj(id,getCallerProc(),1);
586 }
587 public static void printC(String id, String name, int framelvl) {
588 if (name == null) { name = getCallerProc(); }
589 SF(id.toString(), name, framelvl+1);
590 }
591 public static void printC(String id) {
592 printC(id,null,1);
593 }
594 public static void printTyp(MkObjectC id, String name, int framelvl) {
595 if (name == null) { name = getCallerProc(); }
596 if (id == null) {
597 SF("NULL", name, framelvl+1);
598 } else {
599 SF(id.ToName(), name, framelvl+1);
600 //MqS.MqLogObjDetail(id,IntPtr.Zero,0,name,0);
601 }
602 }
603 public static void printStack(String name, int framelvl) {
604 if (name == null) { name = getCallerProc(); }
605 StackTraceElement[] st = Thread.currentThread().getStackTrace();
606 for(int i =framelvl; i< st.length; i++ )
607 {
608 // Note that at this level, there are four
609 // stack frames, one for each method invocation.
610 SF(String.format("[%d] %s",i ,st[i].getMethodName()), name, framelvl+1);
611 }
612 }
613 public static void M0() { SF("M0000000000000",null,1); }
614 public static void M1() { SF("M1111111111111",null,1); }
615 public static void M2() { SF("M2222222222222",null,1); }
616 public static void M3() { SF("M3333333333333",null,1); }
617 public static void M4() { SF("M4444444444444",null,1); }
618 public static void M5() { SF("M5555555555555",null,1); }
619 public static void M6() { SF("M6666666666666",null,1); }
620 public static void M7() { SF("M7777777777777",null,1); }
621 public static void M8() { SF("M8888888888888",null,1); }
622 public static void M9() { SF("M9999999999999",null,1); }
623 public static void MA() { SF("MAAAAAAAAAAAAA",null,1); }
624 public static void MB() { SF("MBBBBBBBBBBBBB",null,1); }
625 public static void MC() { SF("MCCCCCCCCCCCCC",null,1); }
626 public static void MD() { SF("MDDDDDDDDDDDDD",null,1); }
627 public static void ME() { SF("MEEEEEEEEEEEEE",null,1); }
628
629 private void SL(String txt, int framelvl) {
630 LogC(this + ":" + txt + "\n",0,getCallerProc(framelvl+1));
631 }
632
633 public void L0() { SL("0000000000000",1); }
634 public void L1() { SL("1111111111111",1); }
635 public void L2() { SL("2222222222222",1); }
636 public void L3() { SL("3333333333333",1); }
637 public void L4() { SL("4444444444444",1); }
638 public void L5() { SL("5555555555555",1); }
639 public void L6() { SL("6666666666666",1); }
640 public void L7() { SL("7777777777777",1); }
641 public void L8() { SL("8888888888888",1); }
642 public void L9() { SL("9999999999999",1); }
643 public void LA() { SL("AAAAAAAAAAAAA",1); }
644 public void LB() { SL("BBBBBBBBBBBBB",1); }
645 public void LE() { SL("EEEEEEEEEEEEE",1); }
646
647 public void printL(String name, Object val ) { SL("["+name + ":" + val + "]", 1); }
648
649}
650
MkErrorC - the class known as err or error is used to create and manage an error message …
Definition MkErrorC.java:18
MkKernel PACKAGE - The package is the toplevel structure of the Programming-Language-Micro-Kernel (PL...
MkObjectC - class known as obj or object is used as base-class type for a Programming-Language-Micro-...
static String getStackTrace(int level)
static String getCallerProc()
static void printObj(Object id, String caller)
static String getCallerFile(int level)
static void SF(String msg, String name)
static void printC(String id, String name, int framelvl)
static void SF(String msg, String name, int framelvl)
MkObjectC(long mng, boolean dummy)
This contructor is used internal to create an java-object for an already existing libmqmsgque-object.
static void printObj(Object id, String caller, int framelvl)
static int getCallerLine(int level)
static void SF(String msg)
static int getPId()
static long getTId()
static String getCallerFile()
static void printP(long ptr, String name, int framelvl)
static String getCallerProc(int level)
static void printC(String id)
void printL(String name, Object val)
static void printStack(String name, int framelvl)
static int getCallerLine()
static void printO(byte byt, String name, int framelvl)
static void printObj(Object id)
static void printTyp(MkObjectC id, String name, int framelvl)
static String getStackTrace()
static void printBool(boolean bol, String name, int framelvl)
void Dispose(boolean disposing)
static void Setup()
Java: [static] Setup() → C-API setup jvmkkernel internal memory …
native int HandleGetOr0()
Java: int obj.HandleGetOr0() → C-API return export-hdl or 0 in not created…
native boolean HandleExists()
Java: boolean obj.HandleExists() → C-API check if obj has already a handle defined…
native int HandleGetOfType()
Java: int obj.HandleGetOfType() → C-API Export-Slot - returns typeHdl of the obj .
native void HandleDelete()
Java: netObj.HandleDelete() → C-API Handle-Delete-Slot - delete a netObj from handle-storage …
static native MkObjectC GetNull()
Java: [static] MkObjectC MkObjectC.GetNull() → C-API Null-Slot - return a MkObjectC typed NULL i...
native MkObjectC Prev()
Java: MkObjectC obj.Prev() → C-API get previous instance from linked-list of MkObjectS type
static native void HandleDeleteByNetHdl(int netHdl)
Java: [static] MkObjectC.HandleDeleteByNetHdl(int netHdl) → C-API Handle-Delete-Slot - delete a ...
static native MkObjectC Instances()
Java: [static] MkObjectC MkObjectC.Instances() → C-API get head-instance from linked-list of MkO...
native MkObjectC Next()
Java: MkObjectC obj.Next() → C-API get next instance from linked-list of MkObjectS type
static native MkObjectC HandleResolve(int netHdl)
Java: [static] MkObjectC MkObjectC.HandleResolve(int netHdl) → C-API Handle-Resolve-Slot - retur...
native int HandleGet()
Java: int obj.HandleGet() → C-API Handle-Get-Slot - returns a export-hdl to the MkObjectC useab...
static native void DbgM(String message, int debug, String callfunc, int lvl)
Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?...
void DbgL(String message, int debug)
Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?...
void DbgSTACK(int skip)
Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) → C-API debug: ...
void DbgDump()
Java: obj.DbgDump(?String message = "var"?, ?String callfunc = null?) → C-API debug: Dump a ins...
native void DbgL(String message, int debug, String callfunc, int lvl)
Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?...
native void DbgDump(String message, String callfunc)
Java: obj.DbgDump(?String message = "var"?, ?String callfunc = null?) → C-API debug: Dump a ins...
static void DbgM(String message, int debug)
Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?...
static void DbgM(String message)
Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?...
void DbgSTACK(int skip, int num)
Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) → C-API debug: ...
native void DbgLogC(String callfunc)
Java: obj.DbgLogC(?String callfunc = null?) → C-API debug: write a short-obj-summary to MkLogFi...
static void DbgM(String message, int debug, String callfunc)
Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?...
void DbgL(String message, int debug, String callfunc)
Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?...
void DbgL(String message)
Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?...
native void DbgSTACK(int skip, int num, String callfunc)
Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) → C-API debug: ...
void DbgDump(String message)
Java: obj.DbgDump(?String message = "var"?, ?String callfunc = null?) → C-API debug: Dump a ins...
native void DbgO(String callfunc)
Java: obj.DbgO(?String callfunc = null?) → C-API debug: write the object-details to MkLogFileC ...
void DbgLogC()
Java: obj.DbgLogC(?String callfunc = null?) → C-API debug: write a short-obj-summary to MkLogFi...
void DbgSTACK()
Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) → C-API debug: ...
void DbgO()
Java: obj.DbgO(?String callfunc = null?) → C-API debug: write the object-details to MkLogFileC ...
void LogLong()
Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void Log(MkObjectC fmtobj)
Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native void LogShort(MkObjectC fmtobj, int debug, String callfunc, int lvl)
Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void LogType(MkObjectC fmtobj, int debug, String callfunc)
Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native void LogType(MkObjectC fmtobj, int debug, String callfunc, int lvl)
Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native void LogLong(MkObjectC fmtobj, int debug, String callfunc, int lvl)
Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void LogLong(MkObjectC fmtobj)
Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void LogShort(MkObjectC fmtobj, int debug, String callfunc)
Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void LogLong(MkObjectC fmtobj, int debug)
Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void Log(MkObjectC fmtobj, int debug, String callfunc)
Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native void LogC(String message, int debug, String callfunc)
Java: fmtobj.LogC(String message, ?int debug = 0?, ?String callfunc = null?) → C-API write a lo...
void Log()
Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void LogType(MkObjectC fmtobj, int debug)
Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void LogShort()
Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void LogShort(MkObjectC fmtobj, int debug)
Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void LogLong(MkObjectC fmtobj, int debug, String callfunc)
Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void LogType(MkObjectC fmtobj)
Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void LogC(String message, int debug)
Java: fmtobj.LogC(String message, ?int debug = 0?, ?String callfunc = null?) → C-API write a lo...
native void LogHEX(String callfunc, byte[] data)
Java: fmtobj.LogHEX(?String callfunc = null?, byte[] data) → C-API log binaray data as HEX into...
void Log(MkObjectC fmtobj, int debug)
Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void LogShort(MkObjectC fmtobj)
Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void LogType()
Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void LogC(String message)
Java: fmtobj.LogC(String message, ?int debug = 0?, ?String callfunc = null?) → C-API write a lo...
native void Log(MkObjectC fmtobj, int debug, String callfunc, int lvl)
Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native MkErrorC ErrorCatch(Throwable exception, String callfunc)
Java: MkErrorC obj.ErrorCatch(?Throwable exception = null?, ?String callfunc = null?...
native String ToNameOfClass()
Java: String obj.ToNameOfClass() → C-API Class-Slot - returns the Java-Class-Name of the obj as...
MkErrorC ErrorCatch()
Java: MkErrorC obj.ErrorCatch(?Throwable exception = null?, ?String callfunc = null?...
native String ToName()
Java: String obj.ToName() → C-API Info-Slot - returns brief information about the obj as a stri...
native String ToNameOfType()
Java: String obj.ToNameOfType() → C-API Type-Slot - returns the LibMkKernel-Type-Name of the ob...
MkErrorC ErrorCatch(Throwable exception)
Java: MkErrorC obj.ErrorCatch(?Throwable exception = null?, ?String callfunc = null?...
native MkErrorC ToError()
Java: MkErrorC obj.ToError() → C-API Error-Slot - return an error-object pre initialized with o...
native String ToString()
Java: String inst.ToString() → C-API String-Slot - returns the string representation of the ins...
native boolean IsNull()
Java: boolean obj.IsNull() → C-API ckeck if the object is null
native int RefGet()
MkRefGet
static int SysHashI32(String key)
MkSysHashI32
static native String SysHashSTR(String key, int length)
MkSysHashSTR
native void SysKill(int pid, int signal)
MkSysKill
static String SysHashSTR(String key)
MkSysHashSTR
static native int SysHashI32(String key, int length)
MkSysHashI32
native int SysGetPid()
MkSysGetPid
static void DeleteCallbackSetup(String ident)
Java: [static] MkObjectC.DeleteCallbackSetup(String ident, ?MkObjectDeleteIF callback = null?...
native void Dispose()
Java: [destructor] obj.Dispose() → C-API Dispose-Slot - untie the connection between the Native-...
static void DeleteCallbackSetup(String ident, MkObjectDeleteIF callback)
Java: [static] MkObjectC.DeleteCallbackSetup(String ident, ?MkObjectDeleteIF callback = null?...
static native void DeleteCallbackCleanup(String ident)
Java: [static] MkObjectC.DeleteCallbackCleanup(String ident) → C-API cleanup the DeleteCallback ...
native void Delete()
Java: [destructor] obj.Delete() → C-API Delete-Slot - delete an instance.
static native void DeleteCallbackSetup(String ident, MkObjectDeleteIF callback, String filter)
Java: [static] MkObjectC.DeleteCallbackSetup(String ident, ?MkObjectDeleteIF callback = null?...
→ C-API: MkObjectDeleteCallbackSetup