theLink 10.0
Loading...
Searching...
No Matches
csmqmsgque.MqDumpC Class Reference

MqDumpC - the class known as dmp or dump is used to export a csmqmsgque data package as binaryMore...

+ Inheritance diagram for csmqmsgque.MqDumpC:
+ Collaboration diagram for csmqmsgque.MqDumpC:

Public Member Functions

new MqDumpC Next ()
  C#: MqDumpC dmp.Next() C-API
get next instance from linked-list of MqDumpS type
 
new MqDumpC Prev ()
  C#: MqDumpC dmp.Prev() C-API
get previous instance from linked-list of MqDumpS type
 
long SizeGet ()
  C#: long dump.SizeGet() C-API
report the binary data size from an MqDumpS object
 
string TokenGet ()
  C#: string dump.TokenGet() C-API
return the MqContextC_ServiceApi_Identifer
 
 MqDumpC (MqContextC ctx, MqDumpC dumpP_inout=null)
 CONSTRUCTOR.
 
byte[] BinGet ()
  C#: byte[] dump.BinGet() C-API
export the binary data from an MqDumpS object
 
void Import (MqContextC ctx)
  C#: dump.Import(MqContextC ctx) C-API
import the dump-package into the ctx-read-data-package
 
- Public Member Functions inherited from csmkkernel::MkObjectC
delegate void MkObjectDeleteSCB (string typeName, int typeHdl, int objHdl)
 
void ErrorCheck (MkErrorE err)
 
bool Check ()
 
string ToNameOfClass ()
 
void HandleDelete ()
 
bool HandleExists ()
 
Int32 HandleGet ()
 
Int32 HandleGetOfType ()
 
Int32 HandleGetOr0 ()
 
MkObjectC Next ()
 
MkObjectC Prev ()
 
void DbgDump (string message="var",[CallerMemberName]string callfunc=null)
 
void DbgL (string message, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void DbgLogC ([CallerMemberName]string callfunc=null)
 
void DbgO ([CallerMemberName]string callfunc=null)
 
void DbgSTACK (int skip=0, int num=-1,[CallerMemberName]string callfunc=null)
 
void LogC (string message, int debug=0,[CallerMemberName]string callfunc=null)
 
void LogHEX (string callfunc, byte[] data)
 
void Log (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void LogLong (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void LogShort (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void LogType (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
MkErrorC ErrorCatch (Exception exception=null,[CallerMemberName]string callfunc=null)
 
MkErrorC ToError ()
 
bool IsNull ()
 
string ToName ()
 
string ToNameOfType ()
 
override string ToString ()
 
int RefGet ()
 
void SysKill (int pid, int signal)
 
int SysGetPid ()
 
void Dispose ()
 
void Delete ()
 

Static Public Member Functions

static MqDumpC MqDumpC_ObjNew (IntPtr hdl)
 
new static MqDumpC HandleResolve (Int32 netHdl)
  C#: [static] MqDumpC MqDumpC.HandleResolve(Int32 netHdl) C-API
Handle-Resolve-Slot - return a MqDumpC from netHdl or null if invalid…
 
new static MqDumpC Instances ()
  C#: [static] MqDumpC MqDumpC.Instances() C-API
get head-instance from linked-list of MqDumpS type …
 
new static MqDumpC GetNull ()
  C#: [static] MqDumpC MqDumpC.GetNull() C-API
Null-Slot - return a MqDumpC typed NULL instance …
 
static MqDumpC Error (MqContextC error, MqDumpC dumpP_inout=null)
  C#: [constructor,static] MqDumpC MqDumpC.Error(MqContextC error, MqDumpC dumpP_inout = null) C-API
export the context->error into the dump-package
 
static MqDumpC Export (MqContextC ctx, MqDumpC dumpP_inout=null)
  C#: [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 BinSet (byte[] data)
  C#: [constructor,static] MqDumpC MqDumpC.BinSet(byte[] data) C-API
create an MqDumpS object from binary data
 
- Static Public Member Functions inherited from csmkkernel::MkObjectC
static MkObjectC MkObjectC_ObjNew (IntPtr hdl)
 
static IntPtr getOBJ (string cls, MkObjectC obj)
 
static IntPtr getOBJ_null_allow (MkObjectC obj)
 
static MkObjectC HandleResolve (Int32 netHdl)
 
static void HandleDeleteByNetHdl (Int32 netHdl)
 
static MkObjectC Instances ()
 
static MkObjectC GetNull ()
 
static void DbgM (string message, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
static int SysHashI32 (string key, int length=-1)
 
static string SysHashSTR (string key, int length=-1)
 
static void DeleteCallbackCleanup (string ident)
 
static void DeleteCallbackSetup (string ident, MkObjectDeleteSCB callback=null, string filter=null)
 
static int getPId ()
 
static int getTId ()
 
static string getStackTrace (int level=2)
 
static string getCallerProc (int level=2)
 
static int getCallerLine (int level=2)
 
static string getCallerFile (int level=2)
 

Static Protected Member Functions

static IntPtr CTOR (MqContextC ctx, MqDumpC dumpP_inout=null)
  C#: [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 Protected Member Functions inherited from csmkkernel::MkObjectC
static object atomObjNew (Type type, ConstructorInfo ctor, IntPtr obj)
 
static object atomObjCreate (Type type, ConstructorInfo ctor, IntPtr obj)
 
static IntPtr atomSelfCreate (ConstructorInfo ctor, IntPtr obj, IntPtr env)
 
static object atomSelfNull (ConstructorInfo ctor)
 
static void atomSelfUnlink (IntPtr self, IntPtr env)
 
static ConstructorInfo getCtor (Type type)
 
static string Name (IntPtr mkrt, IntPtr obj)
 

Additional Inherited Members

- Protected Member Functions inherited from csmkkernel::MkObjectC
 MkObjectC (IntPtr obj)
 
 MkObjectC ()
 
virtual void Dispose (bool disposing)
 
- Protected Attributes inherited from csmkkernel::MkObjectC
IntPtr pmkrt
 
- Properties inherited from csmkkernel::MkObjectC
IntPtr hdl
 
IntPtr hdl_null_allow
 
IntPtr mkrt
 

Detailed Description

MqDumpC - the class known as dmp or dump is used to export a csmqmsgque data package as binary

The dump is used to exchange data with external counterparts such as a database or a user-specific infrastructure.

There are 3 different function that deal with a dump:

  1. The MqDumpExport export the read-data-package from the calling context to a dump.
  2. The MqDumpImport imports the dump into the read-data-package of the calling context. All MqContextC READ API functions can be used to read the data from the read-data-package.
  3. The MqProxyForward imports the dump into the send-data-package of the calling context. All MqContextC SEND API functions can be used to write the data into the send-data-package
See also
MqContextC PROXY API

Definition at line 175 of file MqDumpC.cs.

Member Function Documentation

◆ MqDumpC_ObjNew()

static MqDumpC csmqmsgque.MqDumpC.MqDumpC_ObjNew ( IntPtr hdl)
inlinestatic

Definition at line 39 of file MqDumpC.cs.

39 {
40 return hdl != IntPtr.Zero ? (MqDumpC) atomObjNew(typeof(MqDumpC), ctor, hdl) : MK_NULL.Value;
41 }
static object atomObjNew(Type type, ConstructorInfo ctor, IntPtr obj)
+ Here is the caller graph for this function:

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