theKernel 10.0
Loading...
Searching...
No Matches
jvmkkernel.MkObjectC Class Reference

MkObjectC - class known as obj or object is used as base-class type for a Programming-Language-Micro-Kernel (PLMK) class … More...

+ Inheritance diagram for jvmkkernel.MkObjectC:
+ Collaboration diagram for jvmkkernel.MkObjectC:

Public Member Functions

void close ()
 
String toString ()
 
native void HandleDelete ()
  Java: netObj.HandleDelete() C-API
Handle-Delete-Slot - delete a netObj from handle-storage …
 
native boolean HandleExists ()
  Java: boolean obj.HandleExists() C-API
check if obj has already a handle defined…
 
native int HandleGet ()
  Java: int obj.HandleGet() C-API
Handle-Get-Slot - returns a export-hdl to the MkObjectC useable for external storage
 
native int HandleGetOfType ()
  Java: int obj.HandleGetOfType() C-API
Export-Slot - returns typeHdl of the obj .
 
native int HandleGetOr0 ()
  Java: int obj.HandleGetOr0() C-API
return export-hdl or 0 in not created…
 
native MkObjectC Next ()
  Java: MkObjectC obj.Next() C-API
get next instance from linked-list of MkObjectS type
 
native MkObjectC Prev ()
  Java: MkObjectC obj.Prev() C-API
get previous instance from linked-list of MkObjectS type
 
native void DbgDump (String message, String callfunc)
  Java: obj.DbgDump(?String message = "var"?, ?String callfunc = null?) C-API
debug: Dump a instance to stderr with LNG and MQ internal data…
 
void DbgDump ()
  Java: obj.DbgDump(?String message = "var"?, ?String callfunc = null?) C-API
debug: Dump a instance to stderr with LNG and MQ internal data…
 
void DbgDump (String message)
  Java: obj.DbgDump(?String message = "var"?, ?String callfunc = null?) C-API
debug: Dump a instance to stderr with LNG and MQ internal data…
 
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?) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
void DbgL (String message)
  Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
void DbgL (String message, int debug)
  Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
void DbgL (String message, int debug, String callfunc)
  Java: fmtobj.DbgL(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
native void DbgLogC (String callfunc)
  Java: obj.DbgLogC(?String callfunc = null?) C-API
debug: write a short-obj-summary to MkLogFileC (default: stderr) …
 
void DbgLogC ()
  Java: obj.DbgLogC(?String callfunc = null?) C-API
debug: write a short-obj-summary to MkLogFileC (default: stderr) …
 
native void DbgO (String callfunc)
  Java: obj.DbgO(?String callfunc = null?) C-API
debug: write the object-details to MkLogFileC (default: stderr) …
 
void DbgO ()
  Java: obj.DbgO(?String callfunc = null?) C-API
debug: write the object-details to MkLogFileC (default: stderr) …
 
native void DbgSTACK (int skip, int num, String callfunc)
  Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
void DbgSTACK ()
  Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
void DbgSTACK (int skip)
  Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
void DbgSTACK (int skip, int num)
  Java: fmtobj.DbgSTACK(?int skip = 0?, ?int num = -1?, ?String callfunc = null?) C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
native void LogC (String message, int debug, String callfunc)
  Java: fmtobj.LogC(String message, ?int debug = 0?, ?String callfunc = null?) C-API
write a logging-message to MkLogFileC (default: stderr) using the internal format …
 
void LogC (String message)
  Java: fmtobj.LogC(String message, ?int debug = 0?, ?String callfunc = null?) C-API
write a logging-message to MkLogFileC (default: stderr) using the internal format …
 
void LogC (String message, int debug)
  Java: fmtobj.LogC(String message, ?int debug = 0?, ?String callfunc = null?) C-API
write a logging-message to MkLogFileC (default: stderr) using the internal format …
 
native void LogHEX (String callfunc, byte[] data)
  Java: fmtobj.LogHEX(?String callfunc = null?, byte[] data) C-API
log binaray data as HEX into the MkLogFileC (default: stderr) …
 
native void Log (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
native void LogLong (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
void LogLong ()
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
void LogLong (MkObjectC fmtobj)
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
void LogLong (MkObjectC fmtobj, int debug)
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
void LogLong (MkObjectC fmtobj, int debug, String callfunc)
  Java: obj.LogLong(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS verbose into the MkLogFileC (default: stderr) …
 
native void LogShort (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogShort ()
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogShort (MkObjectC fmtobj)
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogShort (MkObjectC fmtobj, int debug)
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogShort (MkObjectC fmtobj, int debug, String callfunc)
  Java: obj.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MkObjectS into the MkLogFileC (default: stderr) …
 
native void LogType (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogType ()
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogType (MkObjectC fmtobj)
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogType (MkObjectC fmtobj, int debug)
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void LogType (MkObjectC fmtobj, int debug, String callfunc)
  Java: obj.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) …
 
void Log ()
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
void Log (MkObjectC fmtobj)
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
void Log (MkObjectC fmtobj, int debug)
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
void Log (MkObjectC fmtobj, int debug, String callfunc)
  Java: obj.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target …
 
native MkErrorC ErrorCatch (Throwable exception, String callfunc)
  Java: MkErrorC obj.ErrorCatch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …
 
MkErrorC ErrorCatch ()
  Java: MkErrorC obj.ErrorCatch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …
 
MkErrorC ErrorCatch (Throwable exception)
  Java: MkErrorC obj.ErrorCatch(?Throwable exception = null?, ?String callfunc = null?) C-API
convert a programming-language-error into an jvmkkernel error …
 
native MkErrorC ToError ()
  Java: MkErrorC obj.ToError() C-API
Error-Slot - return an error-object pre initialized with obj data.
 
native boolean IsNull ()
  Java: boolean obj.IsNull() C-API
ckeck if the object is null
 
native String ToName ()
  Java: String obj.ToName() C-API
Info-Slot - returns brief information about the obj as a string
 
native String ToNameOfClass ()
  Java: String obj.ToNameOfClass() C-API
Class-Slot - returns the Java-Class-Name of the obj as string
 
native String ToNameOfType ()
  Java: String obj.ToNameOfType() C-API
Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string
 
native String ToString ()
  Java: String inst.ToString() C-API
String-Slot - returns the string representation of the inst
 
native int RefGet ()
 MkRefGet
 
native void SysKill (int pid, int signal)
 MkSysKill
 
native int SysGetPid ()
 MkSysGetPid
 
native void Dispose ()
  Java: [destructor] obj.Dispose() C-API
Dispose-Slot - untie the connection between the Native-Java-Instance and the jvmkkernel-Instance.
 
native void Delete ()
  Java: [destructor] obj.Delete() C-API
Delete-Slot - delete an instance.
 
void printP ()
 
void L0 ()
 
void L1 ()
 
void L2 ()
 
void L3 ()
 
void L4 ()
 
void L5 ()
 
void L6 ()
 
void L7 ()
 
void L8 ()
 
void L9 ()
 
void LA ()
 
void LB ()
 
void LE ()
 
void printL (String name, Object val)
 

Static Public Member Functions

static native MkObjectC HandleResolve (int netHdl)
  Java: [static] MkObjectC MkObjectC.HandleResolve(int netHdl) C-API
Handle-Resolve-Slot - return a MkObjectC from netHdl or null if invalid…
 
static native void HandleDeleteByNetHdl (int netHdl)
  Java: [static] MkObjectC.HandleDeleteByNetHdl(int netHdl) C-API
Handle-Delete-Slot - delete a netHdl from handle-storage …
 
static native MkObjectC Instances ()
  Java: [static] MkObjectC MkObjectC.Instances() C-API
get head-instance from linked-list of MkObjectS type …
 
static native MkObjectC GetNull ()
  Java: [static] MkObjectC MkObjectC.GetNull() C-API
Null-Slot - return a MkObjectC typed NULL instance …
 
static native void DbgM (String message, int debug, String callfunc, int lvl)
  Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 
static void DbgM (String message)
  Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 
static void DbgM (String message, int debug)
  Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 
static void DbgM (String message, int debug, String callfunc)
  Java: [static] MkObjectC.DbgM(String message, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 
static native int SysHashI32 (String key, int length)
 MkSysHashI32
 
static int SysHashI32 (String key)
 MkSysHashI32
 
static native String SysHashSTR (String key, int length)
 MkSysHashSTR
 
static String SysHashSTR (String key)
 MkSysHashSTR
 
static native void DeleteCallbackCleanup (String ident)
  Java: [static] MkObjectC.DeleteCallbackCleanup(String ident) C-API
cleanup the DeleteCallback installed with MkObjectDeleteCallbackSetup
 
static native void DeleteCallbackSetup (String ident, MkObjectDeleteIF callback, String filter)
  Java: [static] MkObjectC.DeleteCallbackSetup(String ident, ?MkObjectDeleteIF callback = null?, ?String filter = null?) C-API
Create/Delete the instance-delete-callback
 
static void DeleteCallbackSetup (String ident)
  Java: [static] MkObjectC.DeleteCallbackSetup(String ident, ?MkObjectDeleteIF callback = null?, ?String filter = null?) C-API
Create/Delete the instance-delete-callback
 
static void DeleteCallbackSetup (String ident, MkObjectDeleteIF callback)
  Java: [static] MkObjectC.DeleteCallbackSetup(String ident, ?MkObjectDeleteIF callback = null?, ?String filter = null?) C-API
Create/Delete the instance-delete-callback
 
static int getPId ()
 
static long getTId ()
 
static String getCallerProc (int level)
 
static String getCallerProc ()
 
static String getStackTrace (int level)
 
static String getStackTrace ()
 
static int getCallerLine (int level)
 
static int getCallerLine ()
 
static String getCallerFile (int level)
 
static String getCallerFile ()
 
static void SF (String msg, String name, int framelvl)
 
static void SF (String msg)
 
static void SF (String msg, String name)
 
static void printP (long ptr, String name, int framelvl)
 
static void printO (byte byt, String name, int framelvl)
 
static void printBool (boolean bol, String name, int framelvl)
 
static void printObj (Object id, String caller, int framelvl)
 
static void printObj (Object id, String caller)
 
static void printObj (Object id)
 
static void printC (String id, String name, int framelvl)
 
static void printC (String id)
 
static void printTyp (MkObjectC id, String name, int framelvl)
 
static void printStack (String name, int framelvl)
 
static void M0 ()
 
static void M1 ()
 
static void M2 ()
 
static void M3 ()
 
static void M4 ()
 
static void M5 ()
 
static void M6 ()
 
static void M7 ()
 
static void M8 ()
 
static void M9 ()
 
static void MA ()
 
static void MB ()
 
static void MC ()
 
static void MD ()
 
static void ME ()
 

Protected Member Functions

 MkObjectC (long mng, boolean dummy)
 This contructor is used internal to create an java-object for an already existing libmqmsgque-object.
 
void Dispose (boolean disposing)
 

Detailed Description

MkObjectC - class known as obj or object is used as base-class type for a Programming-Language-Micro-Kernel (PLMK) class …

jvmkkernel is also called as Programming-Language-Micro-Kernel (PLMK). jvmkkernel is like a programming-language without syntax but using the Target-Programming-Language (in our case Java) of the Micro-Kernel as runtime environment.

Integration
To operate as a Micro-Kernel a maximum integration into the Target-Programming-Language is available.

This integration is done using the managed-object-technology.

Managed-Object
A managed-object is a piece of C-Code able to act as a native datatype in all Target-Programming-Languages supported.

The managed object supports low level integration features descripted in MkObjectS :

  • object identification based on signatures
  • reference counting
  • management of the self object pointer for the target-language
  • object-type specific features provided with MkTypeS

In the implementation-layer of jvmkkernel only the public-features of the MkObjectC are visible to the programmer.

See also
For the full documentation read: Managed-Object

Definition at line 16 of file MkObjectC.java.

Constructor & Destructor Documentation

◆ MkObjectC()

jvmkkernel.MkObjectC.MkObjectC ( long mng,
boolean dummy )
protected

This contructor is used internal to create an java-object for an already existing libmqmsgque-object.

In LibMsgque an object is created by a user-request or by a application-request. If the application create an object the libmsgque-object exist but the java-object not. The purpose of this internal constructor is to create an java-object without creating a libmqmsgque-object . The reason behind the "dummy" argument is the inabillity of java to transport a pointer using a pointer-object. C# has ab IntPtr object for this purpose but Java provide only a long. The problem is that the internal-constructor with long as argument hide the default-constructor of the MkBufferC. The dummy argument just make this internal-constructor unique.

Definition at line 34 of file MkObjectC.java.

34 {
35 hdl = (mng == 0L && dummy == false ? 0L : atomCreate(mng,this));
36 }

Member Function Documentation

◆ close()

void jvmkkernel.MkObjectC.close ( )

Definition at line 69 of file MkObjectC.java.

69 {
70 Dispose(true);
71 }
native void Dispose()
Java: [destructor] obj.Dispose() → C-API Dispose-Slot - untie the connection between the Native-...
+ Here is the caller graph for this function:

◆ Dispose()

void jvmkkernel.MkObjectC.Dispose ( boolean disposing)
protected

Definition at line 45 of file MkObjectC.java.

45 {
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 }

◆ getCallerFile() [1/2]

static String jvmkkernel.MkObjectC.getCallerFile ( )
static

Definition at line 540 of file MkObjectC.java.

540 {
541 return getCallerFile(2);
542 }
static String getCallerFile()
+ Here is the caller graph for this function:

◆ getCallerFile() [2/2]

static String jvmkkernel.MkObjectC.getCallerFile ( int level)
static

Definition at line 534 of file MkObjectC.java.

534 {
535 level += 2;
536 StackTraceElement[] steA = Thread.currentThread().getStackTrace();
537 if (level >= steA.length) level=steA.length-1;
538 return steA[level].getFileName();
539 }

◆ getCallerLine() [1/2]

static int jvmkkernel.MkObjectC.getCallerLine ( )
static

Definition at line 530 of file MkObjectC.java.

530 {
531 return getCallerLine(2);
532 }
static int getCallerLine()
+ Here is the caller graph for this function:

◆ getCallerLine() [2/2]

static int jvmkkernel.MkObjectC.getCallerLine ( int level)
static

Definition at line 524 of file MkObjectC.java.

524 {
525 level += 2;
526 StackTraceElement[] steA = Thread.currentThread().getStackTrace();
527 if (level >= steA.length) level=steA.length-1;
528 return steA[level].getLineNumber();
529 }

◆ getCallerProc() [1/2]

static String jvmkkernel.MkObjectC.getCallerProc ( )
static

Definition at line 513 of file MkObjectC.java.

513 {
514 return getCallerProc(2);
515 }
static String getCallerProc()
+ Here is the caller graph for this function:

◆ getCallerProc() [2/2]

static String jvmkkernel.MkObjectC.getCallerProc ( int level)
static

Definition at line 506 of file MkObjectC.java.

506 {
507 level += 2;
508 StackTraceElement[] steA = Thread.currentThread().getStackTrace();
509 if (level >= steA.length) level=steA.length-1;
510 return steA[level].getMethodName();
511 }

◆ getPId()

static int jvmkkernel.MkObjectC.getPId ( )
static

Definition at line 497 of file MkObjectC.java.

497 {
498 return 999;
499 }
+ Here is the caller graph for this function:

◆ getStackTrace() [1/2]

static String jvmkkernel.MkObjectC.getStackTrace ( )
static

Definition at line 520 of file MkObjectC.java.

520 {
521 return getStackTrace(2);
522 }
static String getStackTrace()
+ Here is the caller graph for this function:

◆ getStackTrace() [2/2]

static String jvmkkernel.MkObjectC.getStackTrace ( int level)
static

Definition at line 517 of file MkObjectC.java.

517 {
518 return Thread.currentThread().getStackTrace().toString();
519 }

◆ getTId()

static long jvmkkernel.MkObjectC.getTId ( )
static

Definition at line 502 of file MkObjectC.java.

502 {
503 return Thread.currentThread().getId();
504 }
+ Here is the caller graph for this function:

◆ L0()

void jvmkkernel.MkObjectC.L0 ( )

Definition at line 633 of file MkObjectC.java.

633{ SL("0000000000000",1); }

◆ L1()

void jvmkkernel.MkObjectC.L1 ( )

Definition at line 634 of file MkObjectC.java.

634{ SL("1111111111111",1); }

◆ L2()

void jvmkkernel.MkObjectC.L2 ( )

Definition at line 635 of file MkObjectC.java.

635{ SL("2222222222222",1); }

◆ L3()

void jvmkkernel.MkObjectC.L3 ( )

Definition at line 636 of file MkObjectC.java.

636{ SL("3333333333333",1); }

◆ L4()

void jvmkkernel.MkObjectC.L4 ( )

Definition at line 637 of file MkObjectC.java.

637{ SL("4444444444444",1); }

◆ L5()

void jvmkkernel.MkObjectC.L5 ( )

Definition at line 638 of file MkObjectC.java.

638{ SL("5555555555555",1); }

◆ L6()

void jvmkkernel.MkObjectC.L6 ( )

Definition at line 639 of file MkObjectC.java.

639{ SL("6666666666666",1); }

◆ L7()

void jvmkkernel.MkObjectC.L7 ( )

Definition at line 640 of file MkObjectC.java.

640{ SL("7777777777777",1); }

◆ L8()

void jvmkkernel.MkObjectC.L8 ( )

Definition at line 641 of file MkObjectC.java.

641{ SL("8888888888888",1); }

◆ L9()

void jvmkkernel.MkObjectC.L9 ( )

Definition at line 642 of file MkObjectC.java.

642{ SL("9999999999999",1); }

◆ LA()

void jvmkkernel.MkObjectC.LA ( )

Definition at line 643 of file MkObjectC.java.

643{ SL("AAAAAAAAAAAAA",1); }

◆ LB()

void jvmkkernel.MkObjectC.LB ( )

Definition at line 644 of file MkObjectC.java.

644{ SL("BBBBBBBBBBBBB",1); }

◆ LE()

void jvmkkernel.MkObjectC.LE ( )

Definition at line 645 of file MkObjectC.java.

645{ SL("EEEEEEEEEEEEE",1); }

◆ M0()

static void jvmkkernel.MkObjectC.M0 ( )
static

Definition at line 613 of file MkObjectC.java.

613{ SF("M0000000000000",null,1); }
static void SF(String msg, String name, int framelvl)

◆ M1()

static void jvmkkernel.MkObjectC.M1 ( )
static

Definition at line 614 of file MkObjectC.java.

614{ SF("M1111111111111",null,1); }

◆ M2()

static void jvmkkernel.MkObjectC.M2 ( )
static

Definition at line 615 of file MkObjectC.java.

615{ SF("M2222222222222",null,1); }

◆ M3()

static void jvmkkernel.MkObjectC.M3 ( )
static

Definition at line 616 of file MkObjectC.java.

616{ SF("M3333333333333",null,1); }

◆ M4()

static void jvmkkernel.MkObjectC.M4 ( )
static

Definition at line 617 of file MkObjectC.java.

617{ SF("M4444444444444",null,1); }

◆ M5()

static void jvmkkernel.MkObjectC.M5 ( )
static

Definition at line 618 of file MkObjectC.java.

618{ SF("M5555555555555",null,1); }

◆ M6()

static void jvmkkernel.MkObjectC.M6 ( )
static

Definition at line 619 of file MkObjectC.java.

619{ SF("M6666666666666",null,1); }

◆ M7()

static void jvmkkernel.MkObjectC.M7 ( )
static

Definition at line 620 of file MkObjectC.java.

620{ SF("M7777777777777",null,1); }

◆ M8()

static void jvmkkernel.MkObjectC.M8 ( )
static

Definition at line 621 of file MkObjectC.java.

621{ SF("M8888888888888",null,1); }

◆ M9()

static void jvmkkernel.MkObjectC.M9 ( )
static

Definition at line 622 of file MkObjectC.java.

622{ SF("M9999999999999",null,1); }

◆ MA()

static void jvmkkernel.MkObjectC.MA ( )
static

Definition at line 623 of file MkObjectC.java.

623{ SF("MAAAAAAAAAAAAA",null,1); }

◆ MB()

static void jvmkkernel.MkObjectC.MB ( )
static

Definition at line 624 of file MkObjectC.java.

624{ SF("MBBBBBBBBBBBBB",null,1); }

◆ MC()

static void jvmkkernel.MkObjectC.MC ( )
static

Definition at line 625 of file MkObjectC.java.

625{ SF("MCCCCCCCCCCCCC",null,1); }

◆ MD()

static void jvmkkernel.MkObjectC.MD ( )
static

Definition at line 626 of file MkObjectC.java.

626{ SF("MDDDDDDDDDDDDD",null,1); }

◆ ME()

static void jvmkkernel.MkObjectC.ME ( )
static

Definition at line 627 of file MkObjectC.java.

627{ SF("MEEEEEEEEEEEEE",null,1); }

◆ printBool()

static void jvmkkernel.MkObjectC.printBool ( boolean bol,
String name,
int framelvl )
static

Definition at line 570 of file MkObjectC.java.

570 {
571 if (name == null) { name = getCallerProc(); }
572 SF(Boolean.toString(bol), name, framelvl+1);
573 }

◆ printC() [1/2]

static void jvmkkernel.MkObjectC.printC ( String id)
static

Definition at line 591 of file MkObjectC.java.

591 {
592 printC(id,null,1);
593 }
static void printC(String id, String name, int framelvl)

◆ printC() [2/2]

static void jvmkkernel.MkObjectC.printC ( String id,
String name,
int framelvl )
static

Definition at line 587 of file MkObjectC.java.

587 {
588 if (name == null) { name = getCallerProc(); }
589 SF(id.toString(), name, framelvl+1);
590 }
+ Here is the caller graph for this function:

◆ printL()

void jvmkkernel.MkObjectC.printL ( String name,
Object val )

Definition at line 647 of file MkObjectC.java.

647{ SL("["+name + ":" + val + "]", 1); }

◆ printO()

static void jvmkkernel.MkObjectC.printO ( byte byt,
String name,
int framelvl )
static

Definition at line 566 of file MkObjectC.java.

566 {
567 if (name == null) { name = getCallerProc(); }
568 SF(Byte.toString(byt), name, framelvl+1);
569 }

◆ printObj() [1/3]

static void jvmkkernel.MkObjectC.printObj ( Object id)
static

Definition at line 584 of file MkObjectC.java.

584 {
585 printObj(id,getCallerProc(),1);
586 }
static void printObj(Object id, String caller, int framelvl)

◆ printObj() [2/3]

static void jvmkkernel.MkObjectC.printObj ( Object id,
String caller )
static

Definition at line 581 of file MkObjectC.java.

581 {
582 printObj(id,caller,1);
583 }

◆ printObj() [3/3]

static void jvmkkernel.MkObjectC.printObj ( Object id,
String caller,
int framelvl )
static

Definition at line 574 of file MkObjectC.java.

574 {
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 }
+ Here is the caller graph for this function:

◆ printP() [1/2]

void jvmkkernel.MkObjectC.printP ( )

Definition at line 563 of file MkObjectC.java.

563 {
564 printP(hdl,getCallerProc(),1);
565 }
+ Here is the caller graph for this function:

◆ printP() [2/2]

static void jvmkkernel.MkObjectC.printP ( long ptr,
String name,
int framelvl )
static

Definition at line 555 of file MkObjectC.java.

555 {
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 }

◆ printStack()

static void jvmkkernel.MkObjectC.printStack ( String name,
int framelvl )
static

Definition at line 603 of file MkObjectC.java.

603 {
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 }

◆ printTyp()

static void jvmkkernel.MkObjectC.printTyp ( MkObjectC id,
String name,
int framelvl )
static

Definition at line 594 of file MkObjectC.java.

594 {
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 }
native String ToName()
Java: String obj.ToName() → C-API Info-Slot - returns brief information about the obj as a stri...

◆ SF() [1/3]

static void jvmkkernel.MkObjectC.SF ( String msg)
static

Definition at line 549 of file MkObjectC.java.

549 {
550 SF(msg,null,1);
551 }

◆ SF() [2/3]

static void jvmkkernel.MkObjectC.SF ( String msg,
String name )
static

Definition at line 552 of file MkObjectC.java.

552 {
553 SF(msg,name,1);
554 }

◆ SF() [3/3]

static void jvmkkernel.MkObjectC.SF ( String msg,
String name,
int framelvl )
static

Definition at line 544 of file MkObjectC.java.

544 {
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 }
static int getPId()
static long getTId()
+ Here is the caller graph for this function:

◆ toString()

String jvmkkernel.MkObjectC.toString ( )

Definition at line 83 of file MkObjectC.java.

83 {
84 return hdl == 0L ? "MK_NULL" : ToString();
85 }
native String ToString()
Java: String inst.ToString() → C-API String-Slot - returns the string representation of the ins...
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: