theLink 10.0
Loading...
Searching...
No Matches
jvmqmsgque.MqContextC Class Reference

MqContextC - the class known as ctx or context is the application-handle of the application-server and also the main data-handleMore...

+ Inheritance diagram for jvmqmsgque.MqContextC:
+ Collaboration diagram for jvmqmsgque.MqContextC:

Public Member Functions

native Object Send (String cstr, Object ... argv)
  Java: ctx.Send(String cstr, String... args) C-API
user friendly replacement for the MqContextC_SendApi_C_API
 
native MqContextC Next ()
  Java: MqContextC ctx.Next() C-API
get next instance from linked-list of MqContextS type
 
native MqContextC Prev ()
  Java: MqContextC ctx.Prev() C-API
get previous instance from linked-list of MqContextS type
 
native MqFactoryC ClassFactoryGet ()
  Java: MqFactoryC ctx.ClassFactoryGet() C-API
get the MqFactoryC used by the MqContextC
 
native void ClassFactorySet (MqFactoryC item)
  Java: ctx.ClassFactorySet(MqFactoryC item) C-API
link the MqContextC to a new MqFactoryC
 
native String ClassIdentGet ()
  Java: String ctx.ClassIdentGet() C-API
get the application-identification
 
native void ClassIdentSet (String ident)
  Java: ctx.ClassIdentSet(String ident) C-API
link the MqContextC to a new MqFactoryC identified by ident
 
native String ClassOriginalIdentGet ()
  Java: String ctx.ClassOriginalIdentGet() C-API
get the MqFactoryS.originalIdent from the MqContextC
 
native MkBufferListC ConfigGetIoTcpL ()
  Java: MkBufferListC ctx.ConfigGetIoTcpL() C-API
get the configuration-data of the tcp-client-server-link as MkBufferListC
 
native int ConfigGetBuffersize ()
  Java: int ctx.ConfigGetBuffersize() C-API
get the minimum of the read/send buffersize of the socket
 
native MqIdentE ConfigGetIdentFrom ()
  Java: MqIdentE ctx.ConfigGetIdentFrom() C-API
get the MqConfigS.identFrom
 
native int ConfigGetIoPipe ()
  Java: int ctx.ConfigGetIoPipe() C-API
return the MqIoPipeConfigS
 
native String ConfigGetIoUds ()
  Java: String ctx.ConfigGetIoUds() C-API
return the MqIoUdsConfigS
 
native boolean ConfigGetIsParent ()
  Java: boolean ctx.ConfigGetIsParent() C-API
does the context object is a parent ? An objext is a parent id the MqConfigS.parent attribute is null
 
native boolean ConfigGetIsServer ()
  Java: boolean ctx.ConfigGetIsServer() C-API
does the context object is a server ?
 
native boolean ConfigGetIsString ()
  Java: boolean ctx.ConfigGetIsString() C-API
does the context object is using the string-mode ?
 
native String ConfigGetName ()
  Java: String ctx.ConfigGetName() C-API
get the name of the context object
 
native int ConfigGetPkgsize ()
  Java: int ctx.ConfigGetPkgsize() C-API
get the maximun size of a BDY package
 
native String ConfigGetPostfix ()
  Java: String ctx.ConfigGetPostfix() C-API
get the MqConfigS.dispPostfix
 
native String ConfigGetPrefix ()
  Java: String ctx.ConfigGetPrefix() C-API
get the MqConfigS.dispPrefix
 
native MqStartE ConfigGetStartAs ()
  Java: MqStartE ctx.ConfigGetStartAs() C-API
return the MqConfigS.startAs value
 
native MqStatusIsEF ConfigGetStatusIs ()
  Java: MqStatusIsEF ctx.ConfigGetStatusIs() C-API
return the MqContextS.statusIs value
 
native String ConfigGetStorage ()
  Java: String ctx.ConfigGetStorage() C-API
get the storage of the context object
 
native long ConfigGetTimeout ()
  Java: long ctx.ConfigGetTimeout() C-API
get the timeout value of the context object
 
native void ConfigSetConfigFile (String filename)
  Java: ctx.ConfigSetConfigFile(String filename) C-API
set the config-file and parse for well-known config-items
 
native String[] ConfigGetIoTcp ()
  Java: {host:String port:String myhost:String myport:String} ctx.ConfigGetIoTcp() C-API
get the configuration-data of the tcp-client-server-link
 
native void ConfigReset ()
  Java: ctx.ConfigReset() C-API
clean the MqContextS.config data
 
native boolean ConfigCheckStartAs (MqStartE data)
  Java: boolean ctx.ConfigCheckStartAs(MqStartE data) C-API
check if MqConfigS.startAs can be set to data
 
native void ConfigSetAllDebug (int data)
  Java: ctx.ConfigSetAllDebug(int data) C-API
set the MkRuntimeS::debug value
 
native void ConfigSetBuffersize (int data)
  Java: ctx.ConfigSetBuffersize(int data) C-API
set the MqIoConfigS.buffersize value
 
native void ConfigSetDaemon (String pidfile)
  Java: ctx.ConfigSetDaemon(String pidfile) C-API
start the server-context as daemon …
 
native void ConfigSetIdentFrom (MqIdentE data)
  Java: ctx.ConfigSetIdentFrom(MqIdentE data) C-API
set the MqConfigS.identFrom value
 
native void ConfigSetIgnoreExit (boolean data)
  Java: ctx.ConfigSetIgnoreExit(boolean data) C-API
set the MqSetupS.ignoreExit value
 
native void ConfigSetIoPipe (int fh)
  Java: ctx.ConfigSetIoPipe(int fh) C-API
set the pipe configuration data …
 
native void ConfigSetIoTcp (String host, String port, String myhost, String myport)
  Java: ctx.ConfigSetIoTcp(?String host = null?, ?String port = null?, ?String myhost = null?, ?String myport = null?) C-API
configure a context to use a tcp-client-server-link
 
native void ConfigSetIoTcp (MkBufferListC vals)
  Java: ctx.ConfigSetIoTcp(?String host = null?, ?String port = null?, ?String myhost = null?, ?String myport = null?) C-API
configure a context to use a tcp-client-server-link
 
void ConfigSetIoTcp ()
  Java: ctx.ConfigSetIoTcp(?String host = null?, ?String port = null?, ?String myhost = null?, ?String myport = null?) C-API
configure a context to use a tcp-client-server-link
 
void ConfigSetIoTcp (String host)
  Java: ctx.ConfigSetIoTcp(?String host = null?, ?String port = null?, ?String myhost = null?, ?String myport = null?) C-API
configure a context to use a tcp-client-server-link
 
void ConfigSetIoTcp (String host, String port)
  Java: ctx.ConfigSetIoTcp(?String host = null?, ?String port = null?, ?String myhost = null?, ?String myport = null?) C-API
configure a context to use a tcp-client-server-link
 
void ConfigSetIoTcp (String host, String port, String myhost)
  Java: ctx.ConfigSetIoTcp(?String host = null?, ?String port = null?, ?String myhost = null?, ?String myport = null?) C-API
configure a context to use a tcp-client-server-link
 
native void ConfigSetIoUds (String file)
  Java: ctx.ConfigSetIoUds(String file) C-API
configure a context to use a uds-client-server-link
 
native void ConfigSetIsServer (boolean data)
  Java: ctx.ConfigSetIsServer(boolean data) C-API
set the MqSetupS.isServer value
 
native void ConfigSetIsString (boolean data)
  Java: ctx.ConfigSetIsString(boolean data) C-API
set the MqConfigS.native value 'S'string or 'L'owEndian or 'B'igEndian
 
native void ConfigSetName (String data)
  Java: ctx.ConfigSetName(String data) C-API
set the MqConfigS.dispName value and cleanup old value
 
native void ConfigSetPkgsize (int data)
  Java: ctx.ConfigSetPkgsize(int data) C-API
set the MqIoConfigS.pkgsize value
 
native void ConfigSetPostfix (String data)
  Java: ctx.ConfigSetPostfix(String data) C-API
set the client-part (2) of the application-identifer MqConfigS.dispName
 
native void ConfigSetPrefix (String data)
  Java: ctx.ConfigSetPrefix(String data) C-API
set the server-part (1) of the application-identifer MqConfigS.dispName
 
native void ConfigSetStartAs (MqStartE data)
  Java: ctx.ConfigSetStartAs(MqStartE data) C-API
set the MqConfigS.startAs value
 
native void ConfigSetStartAsString (String data)
  Java: ctx.ConfigSetStartAsString(String data) C-API
set the MqConfigS.startAs value using string default, thread, fork or spawn
 
native void ConfigSetStorage (String data)
  Java: ctx.ConfigSetStorage(String data) C-API
set the Storage value and cleanup old value
 
native void ConfigSetTimeout (long data)
  Java: ctx.ConfigSetTimeout(long data) C-API
set the MqIoConfigS.timeout value
 
native void EnvProtect ()
  Java: ctx.EnvProtect() C-API
protect the service-environment
 
native void EnvRestore ()
  Java: ctx.EnvRestore() C-API
restore the service-environment
 
native MkErrorC ErrorFORMAT ()
  Java: MkErrorC fmtobj.ErrorFORMAT() C-API
helper used to access MkErrorDEFAULT from MqContextC
 
native MkErrorE ErrorCopy (MqContextC sourceCtx)
  Java: MkErrorE targetCtx.ErrorCopy(MqContextC sourceCtx) C-API
copy a MkErrorS from the sourceCtx to the targetCtx
 
native MkErrorE ErrorMove (MqContextC sourceCtx)
  Java: MkErrorE targetCtx.ErrorMove(MqContextC sourceCtx) C-API
move a MkErrorS from the sourceCtx to the targetCtx
 
native MqContextC LinkGetParent ()
  Java: MqContextC ctx.LinkGetParent() C-API
get the initial parent-context from a client/server link …
 
native void LinkConnect ()
  Java: ctx.LinkConnect() C-API
re-connect a client-server-link after a server crash or a network downtime …
 
native void LinkCreate (MkBufferListC args)
  Java: ctx.LinkCreate(?MkBufferListC args = null?) C-API
make ctx to a parent-context and setup a new client-server-link
 
native void LinkCreateChild (MqContextC parent, MkBufferListC args)
  Java: ctx.LinkCreateChild(MqContextC parent, ?MkBufferListC args = null?) C-API
make a context to a child-context on-top of an existing parent-client-server-link
 
void LinkCreateChild (MqContextC parent, String... args)
  Java: ctx.LinkCreateChild(MqContextC parent, ?MkBufferListC args = null?) C-API
make a context to a child-context on-top of an existing parent-client-server-link
 
void LinkCreateChild (MqContextC parent)
  Java: ctx.LinkCreateChild(MqContextC parent, ?MkBufferListC args = null?) C-API
make a context to a child-context on-top of an existing parent-client-server-link
 
void LinkCreate (String... args)
  Java: ctx.LinkCreate(?MkBufferListC args = null?) C-API
make ctx to a parent-context and setup a new client-server-link
 
void LinkCreate ()
  Java: ctx.LinkCreate(?MkBufferListC args = null?) C-API
make ctx to a parent-context and setup a new client-server-link
 
native void LinkDelete ()
  Java: ctx.LinkDelete() C-API
close the client-server-link
 
native int LinkGetCtxId ()
  Java: int ctx.LinkGetCtxId() C-API
get an identifier which is unique per parent-or-child-context
 
native String LinkGetTargetIdent ()
  Java: String ctx.LinkGetTargetIdent() C-API
get the ident of the link-target
 
native boolean LinkIsConnected ()
  Java: boolean ctx.LinkIsConnected() C-API
is the context connected? …
 
native boolean LinkIsParent ()
  Java: boolean ctx.LinkIsParent() C-API
is the context a parent-context? …
 
native void LinkShutdown ()
  Java: ctx.LinkShutdown() C-API
shutdown the communication with a server
 
native void LogConfig (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: ctx.LogConfig(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqConfigS
 
void LogConfig ()
  Java: ctx.LogConfig(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqConfigS
 
void LogConfig (MkObjectC fmtobj)
  Java: ctx.LogConfig(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqConfigS
 
void LogConfig (MkObjectC fmtobj, int debug)
  Java: ctx.LogConfig(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqConfigS
 
void LogConfig (MkObjectC fmtobj, int debug, String callfunc)
  Java: ctx.LogConfig(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqConfigS
 
native void LogEnv (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: ctx.LogEnv(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqEnvS
 
void LogEnv ()
  Java: ctx.LogEnv(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqEnvS
 
void LogEnv (MkObjectC fmtobj)
  Java: ctx.LogEnv(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqEnvS
 
void LogEnv (MkObjectC fmtobj, int debug)
  Java: ctx.LogEnv(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqEnvS
 
void LogEnv (MkObjectC fmtobj, int debug, String callfunc)
  Java: ctx.LogEnv(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqEnvS
 
native void LogLink (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: ctx.LogLink(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqLinkS
 
void LogLink ()
  Java: ctx.LogLink(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqLinkS
 
void LogLink (MkObjectC fmtobj)
  Java: ctx.LogLink(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqLinkS
 
void LogLink (MkObjectC fmtobj, int debug)
  Java: ctx.LogLink(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqLinkS
 
void LogLink (MkObjectC fmtobj, int debug, String callfunc)
  Java: ctx.LogLink(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqLinkS
 
native void LogSetup (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: ctx.LogSetup(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqSetupS
 
void LogSetup ()
  Java: ctx.LogSetup(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqSetupS
 
void LogSetup (MkObjectC fmtobj)
  Java: ctx.LogSetup(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqSetupS
 
void LogSetup (MkObjectC fmtobj, int debug)
  Java: ctx.LogSetup(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqSetupS
 
void LogSetup (MkObjectC fmtobj, int debug, String callfunc)
  Java: ctx.LogSetup(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MqSetupS
 
native void LogShort (MkObjectC fmtobj, int debug, String callfunc, int lvl, String label)
  Java: ctx.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?, ?String label = null?) C-API
log the MqContextC with less info then MqContextLog
 
void LogShort ()
  Java: ctx.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?, ?String label = null?) C-API
log the MqContextC with less info then MqContextLog
 
void LogShort (MkObjectC fmtobj)
  Java: ctx.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?, ?String label = null?) C-API
log the MqContextC with less info then MqContextLog
 
void LogShort (MkObjectC fmtobj, int debug)
  Java: ctx.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?, ?String label = null?) C-API
log the MqContextC with less info then MqContextLog
 
void LogShort (MkObjectC fmtobj, int debug, String callfunc)
  Java: ctx.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?, ?String label = null?) C-API
log the MqContextC with less info then MqContextLog
 
void LogShort (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: ctx.LogShort(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?, ?String label = null?) C-API
log the MqContextC with less info then MqContextLog
 
native void LogType (MkObjectC fmtobj, int debug, String callfunc, int lvl)
  Java: ctx.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MkTypeS
 
void LogType ()
  Java: ctx.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MkTypeS
 
void LogType (MkObjectC fmtobj)
  Java: ctx.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MkTypeS
 
void LogType (MkObjectC fmtobj, int debug)
  Java: ctx.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MkTypeS
 
void LogType (MkObjectC fmtobj, int debug, String callfunc)
  Java: ctx.LogType(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC part MkTypeS
 
void Log ()
  Java: ctx.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC
 
void Log (MkObjectC fmtobj)
  Java: ctx.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC
 
void Log (MkObjectC fmtobj, int debug)
  Java: ctx.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC
 
void Log (MkObjectC fmtobj, int debug, String callfunc)
  Java: ctx.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?, ?int lvl = 0?) C-API
log the MqContextC
 
native String LogParentOrChild ()
  Java: String ctx.LogParentOrChild() C-API
is ctx a PARENT or a CHILD ? …
 
native String LogServerOrClient ()
  Java: String ctx.LogServerOrClient() C-API
is ctx a SERVER or a CLIENT ? …
 
native MkBufferC GetBuffer ()
  Java: MkBufferC ctx.GetBuffer() C-API
get the MqContextS.ctxbuf object
 
native MqContextC GetRoot ()
  Java: MqContextC ctx.GetRoot() C-API
get the Root (toplevel initial context)
 
native int Exit (String callfunc, String callfile, int callline)
  Java: int ctx.Exit(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
delete the context and exit the current process or thread …
 
int Exit ()
  Java: int ctx.Exit(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
delete the context and exit the current process or thread …
 
int Exit (String callfunc)
  Java: int ctx.Exit(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
delete the context and exit the current process or thread …
 
int Exit (String callfunc, String callfile)
  Java: int ctx.Exit(?String callfunc = null?, ?String callfile = null?, ?int callline = -1?) C-API
delete the context and exit the current process or thread …
 
native void ProcessEvent (MqWaitOnEventE wait, long timeout)
  Java: ctx.ProcessEvent(?MqWaitOnEventE wait = MQ_WAIT_NO?, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
enter the event-loop and wait for an incoming service-request. …
 
void ProcessEvent ()
  Java: ctx.ProcessEvent(?MqWaitOnEventE wait = MQ_WAIT_NO?, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
enter the event-loop and wait for an incoming service-request. …
 
void ProcessEvent (MqWaitOnEventE wait)
  Java: ctx.ProcessEvent(?MqWaitOnEventE wait = MQ_WAIT_NO?, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
enter the event-loop and wait for an incoming service-request. …
 
native void ProxyForward (MqContextC targetCtx, MqDumpC dump, long timeout)
  Java: sourceCtx.ProxyForward(MqContextC targetCtx, ?MqDumpC dump = null?, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
send the entire read-data-package-data to the link-target
 
void ProxyForward (MqContextC targetCtx)
  Java: sourceCtx.ProxyForward(MqContextC targetCtx, ?MqDumpC dump = null?, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
send the entire read-data-package-data to the link-target
 
void ProxyForward (MqContextC targetCtx, MqDumpC dump)
  Java: sourceCtx.ProxyForward(MqContextC targetCtx, ?MqDumpC dump = null?, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
send the entire read-data-package-data to the link-target
 
native void ProxyItem (MqContextC targetCtx)
  Java: sourceCtx.ProxyItem(MqContextC targetCtx) C-API
Copy a single-data-item from the sourceCtx to the targetCtx.
 
native MkBufferListC ReadALL (MkBufferListC val_inout)
  Java: MkBufferListC ctx.ReadALL(?MkBufferListC val_inout = null?) C-API
get a temporary MkBufferListC from all data in the read-data-package
 
MkBufferListC ReadALL ()
  Java: MkBufferListC ctx.ReadALL(?MkBufferListC val_inout = null?) C-API
get a temporary MkBufferListC from all data in the read-data-package
 
native MkBufferListC ReadBFL ()
  Java: MkBufferListC ctx.ReadBFL() C-API
get a temporary MkBufferListC from next list-item in the read-data-package
 
native MkBufferC ReadBUF ()
  Java: MkBufferC ctx.ReadBUF() C-API
get a temporary MkBufferC from the read-data-package
 
native byte[] ReadBIN ()
  Java: doc_mq_jv_ReadBIN C-API
generic function to read an MK_BIN object from the read-data-package object …
 
native boolean ReadBOL ()
  Java: doc_mq_jv_ReadBOL C-API
read a PRIMITIVE TYPE from the read-data-package
 
native byte[] ReadBinaryR ()
  Java: byte[] ctx.ReadBinaryR() C-API
read a MkBinaryR from the read-data-package
 
native double ReadDBL ()
  Java: doc_mq_jv_ReadDBL C-API
read a PRIMITIVE TYPE from the read-data-package
 
native float ReadFLT ()
  Java: doc_mq_jv_ReadFLT C-API
read a PRIMITIVE TYPE from the read-data-package
 
native int ReadHDL ()
  Java: int ctx.ReadHDL() C-API
read the handle from the read-data-package
 
native short ReadI16 ()
  Java: doc_mq_jv_ReadI16 C-API
read a PRIMITIVE TYPE from the read-data-package
 
native int ReadI32 ()
  Java: doc_mq_jv_ReadI32 C-API
read a PRIMITIVE TYPE from the read-data-package
 
native long ReadI64 ()
  Java: doc_mq_jv_ReadI64 C-API
read a PRIMITIVE TYPE from the read-data-package
 
native byte ReadI8 ()
  Java: doc_mq_jv_ReadI8 C-API
read a PRIMITIVE TYPE from the read-data-package
 
native long ReadLONG ()
  Java: long ctx.ReadLONG() C-API
read the long native object from the read-data-package
 
native String ReadSTR ()
  Java: doc_mq_jv_ReadSTR C-API
read a PRIMITIVE TYPE from the read-data-package
 
native String ReadStringR ()
  Java: String ctx.ReadStringR() C-API
read a MkStringR from the read-data-package
 
native void ReadL_END ()
  Java: ctx.ReadL_END() C-API
finish to extract a list-items from the read-data-package. …
 
native void ReadL_START (MkBufferC buf)
  Java: ctx.ReadL_START(?MkBufferC buf = null?) C-API
start to extract a list-items from the read-data-package. …
 
void ReadL_START ()
  Java: ctx.ReadL_START(?MkBufferC buf = null?) C-API
start to extract a list-items from the read-data-package. …
 
native void ReadT_END ()
  Java: ctx.ReadT_END() C-API
finish to extract a longterm-transaction-item from the read-data-package. …
 
native void ReadT_START ()
  Java: ctx.ReadT_START() C-API
start to extract a longterm-transaction-item from the read-data-package. …
 
native void ReadDbg ()
 ReadDbg
 
native MkTypeE ReadGetNextType ()
  Java: MkTypeE ctx.ReadGetNextType() C-API
get the type (MkTypeE) of the next Item in the read-data-buffer or "0" if not available
 
native int ReadGetNumItems ()
  Java: int ctx.ReadGetNumItems() C-API
get the number of items left in the read-data-package
 
native boolean ReadItemExists ()
  Java: boolean ctx.ReadItemExists() C-API
check if an item exists in the read-data-package
 
native void ReadUndo ()
  Java: ctx.ReadUndo() C-API
undo the last MqContextC READ API function call …
 
native MkBufferListC RouteGetTree ()
  Java: MkBufferListC ctx.RouteGetTree() C-API
create an overview about all available routing-target and services …
 
native void RouteCreate (String route, String service, boolean overwrite)
  Java: ctx.RouteCreate(String route, String service, ?boolean overwrite = false?) C-API
create/delete a routing-link between context an a service using route
 
void RouteCreate (String route, String service)
  Java: ctx.RouteCreate(String route, String service, ?boolean overwrite = false?) C-API
create/delete a routing-link between context an a service using route
 
native void RouteDelete (String route, String service, boolean overwrite)
  Java: ctx.RouteDelete(String route, String service, ?boolean overwrite = false?) C-API
delete a routing-link created with MqRouteCreate
 
void RouteDelete (String route, String service)
  Java: ctx.RouteDelete(String route, String service, ?boolean overwrite = false?) C-API
delete a routing-link created with MqRouteCreate
 
native MqContextC[] RouteResolve (String ident, int retnum)
  Java: MqContextC[] ctx.RouteResolve(String ident, ?int retnum = -1?) C-API
return a list of all context belonging to ident
 
MqContextC[] RouteResolve (String ident)
  Java: MqContextC[] ctx.RouteResolve(String ident, ?int retnum = -1?) C-API
return a list of all context belonging to ident
 
native void RouteTraverse (String service, MkBufferListC args)
  Java: ctx.RouteTraverse(String service, ?MkBufferListC args = null?) C-API
traverse a tree down and call service if available.
 
void RouteTraverse (String service, String... args)
  Java: ctx.RouteTraverse(String service, ?MkBufferListC args = null?) C-API
traverse a tree down and call service if available.
 
void RouteTraverse (String service)
  Java: ctx.RouteTraverse(String service, ?MkBufferListC args = null?) C-API
traverse a tree down and call service if available.
 
native String RouteGetPath ()
  Java: String ctx.RouteGetPath() C-API
return the absolut route-connection-string up to the current ctx
 
native void SendBFL (MkBufferListC val)
  Java: ctx.SendBFL(MkBufferListC val) C-API
append a MkBufferListC object to the send-data-package object …
 
native void SendBIN (byte[] val)
  Java: doc_mq_jv_SendBIN C-API
append a MK_BIN object to the send-data-package. …
 
native void SendBOL (boolean val)
  Java: doc_mq_jv_SendBOL C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
native void SendBUF (MkBufferC val)
  Java: ctx.SendBUF(MkBufferC val) C-API
append a MkBufferC object to the send-data-package object …
 
native void SendBUS_FLAT (MkBufferStreamC val)
  Java: ctx.SendBUS_FLAT(MkBufferStreamC val) C-API
append a MkBufferStreamC object to the send-data-package object …
 
native void SendBinaryR (byte[] val)
  Java: ctx.SendBinaryR(byte[] val) C-API
append a MkBinaryR object to the send-data-package. …
 
native void SendDBL (double val)
  Java: doc_mq_jv_SendDBL C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
native void SendFLT (float val)
  Java: doc_mq_jv_SendFLT C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
native void SendHDL (int val)
  Java: ctx.SendHDL(int val) C-API
send the handle to the send-data-package
 
native void SendI16 (short val)
  Java: doc_mq_jv_SendI16 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
native void SendI32 (int val)
  Java: doc_mq_jv_SendI32 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
native void SendI64 (long val)
  Java: doc_mq_jv_SendI64 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
native void SendI8 (byte val)
  Java: doc_mq_jv_SendI8 C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
native void SendLONG (long val)
  Java: ctx.SendLONG(long val) C-API
send the long native object to the send-data-package
 
native void SendLTR (int transLId)
 SendLTR
 
native void SendL_FLAT (MkBufferListC val)
  Java: ctx.SendL_FLAT(MkBufferListC val) C-API
append a MkBufferListC object as flat list of items to the send-data-package object …
 
native void SendSTR (String val)
  Java: doc_mq_jv_SendSTR C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
native void SendStringR (String val)
  Java: ctx.SendStringR(String val) C-API
MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
 
native void SendEND (String token, long timeout)
  Java: ctx.SendEND(String token, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service
 
void SendEND (String token)
  Java: ctx.SendEND(String token, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
MqContextC - finish the send-data-block and call synchronous/asynchronous a remote-service
 
native void SendEND_AND_CALLBACK (String token, MqServiceIF callback, long timeout)
  Java: ctx.SendEND_AND_CALLBACK(String token, MqServiceIF callback, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
finish the send-data-block, call the remote service, do not-wait for the result but expect the result on a callback
 
void SendEND_AND_CALLBACK (String token, MqServiceIF callback)
  Java: ctx.SendEND_AND_CALLBACK(String token, MqServiceIF callback, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
finish the send-data-block, call the remote service, do not-wait for the result but expect the result on a callback
 
native void SendEND_AND_SUB (String token, MqServiceIF callback, long timeout)
  Java: ctx.SendEND_AND_SUB(String token, MqServiceIF callback, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
finish the send-data-block, call the remote service, do wait for the result and expect multiple sub-results on a callback
 
void SendEND_AND_SUB (String token, MqServiceIF callback)
  Java: ctx.SendEND_AND_SUB(String token, MqServiceIF callback, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
finish the send-data-block, call the remote service, do wait for the result and expect multiple sub-results on a callback
 
native void SendEND_AND_TRANSACTION (String token, String callback, long timeout)
  Java: ctx.SendEND_AND_TRANSACTION(String token, String callback, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
finish the send-data-block, call the remote service to do a longterm-transaction-call
 
void SendEND_AND_TRANSACTION (String token, String callback)
  Java: ctx.SendEND_AND_TRANSACTION(String token, String callback, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
finish the send-data-block, call the remote service to do a longterm-transaction-call
 
native void SendEND_AND_WAIT (String token, long timeout)
  Java: ctx.SendEND_AND_WAIT(String token, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
finish the send-data-block, call the remote service and wait for result…
 
void SendEND_AND_WAIT (String token)
  Java: ctx.SendEND_AND_WAIT(String token, ?long timeout = MkTimeoutE.DEFAULT.get()?) C-API
finish the send-data-block, call the remote service and wait for result…
 
native void SendSTART ()
  Java: ctx.SendSTART() C-API
initialize the send-data-package. …
 
native void SendSYNC ()
  Java: ctx.SendSYNC() C-API
garantee that all pending asynchronous-service-calls are processed. …
 
native void SendL_END ()
  Java: ctx.SendL_END() C-API
finish to append an embedded body-list-item to the send-data-package. …
 
native void SendL_START ()
  Java: ctx.SendL_START() C-API
start to append an embedded body-list-item to the send-data-package. …
 
native void SendT_END ()
  Java: ctx.SendT_END() C-API
closed a longterm-transaction-item
 
native void SendT_START ()
  Java: ctx.SendT_START() C-API
open a longterm-transaction-item
 
native void SendERROR ()
  Java: ctx.SendERROR() C-API
send the data from the MkErrorC to the link target . …
 
native void SendRETURN ()
  Java: ctx.SendRETURN() C-API
MqContextC - finish the send-data-block on the server and optional return the results. …
 
native void SendRETURN_SUB ()
  Java: ctx.SendRETURN_SUB() C-API
return Sub-Data-Blocks required by MqSendEND_AND_SUB
 
native void ServiceCreate (String token, MqServiceIF callback)
  Java: ctx.ServiceCreate(String token, MqServiceIF callback) C-API
create a link between a service-token and a service-callback
 
native void ServiceDelete (String token)
  Java: ctx.ServiceDelete(String token) C-API
delete a service. …
 
native boolean ServiceIsTransaction ()
  Java: boolean ctx.ServiceIsTransaction() C-API
check if the ongoing-service-call belongs to a transaction …
 
native void ServiceProxy (String token, int id)
  Java: ctx.ServiceProxy(String token, ?int id = MqSlaveE.OTHER.get()?) C-API
create a service to link a master-context with a slave-context. …
 
native void ServiceProxyCtx (String token, MqContextC target)
  Java: ctx.ServiceProxyCtx(String token, MqContextC target) C-API
same as MqServiceProxy but use an MqContextC as input.
 
native boolean ServiceProxyCtxExists (String token, MqContextC target)
  Java: boolean ctx.ServiceProxyCtxExists(String token, MqContextC target) C-API
check if service who belongs to token is a proxy-service
 
native void ServiceProxyRoundRobin (String token, String ident)
  Java: ctx.ServiceProxyRoundRobin(String token, String ident) C-API
create a proxy-service using Round-Robin as load-balancer …
 
void ServiceProxy (String token)
  Java: ctx.ServiceProxy(String token, ?int id = MqSlaveE.OTHER.get()?) C-API
create a service to link a master-context with a slave-context. …
 
native void ServiceStorage (String token)
  Java: ctx.ServiceStorage(String token) C-API
setup a service listen on a MqContextC_ServiceApi_Identifer and save all read-data-package into the STORAGE
 
native boolean ServiceTokenCheck (String token)
  Java: boolean ctx.ServiceTokenCheck(String token) C-API
in an ongoing-service-call check if the current MqContextC_ServiceApi_Identifer is token
 
native boolean ServiceTokenExists (String token)
  Java: boolean ctx.ServiceTokenExists(String token) C-API
check if the MqContextC_ServiceApi_Identifer token is defined as ctx service …
 
native String ServiceTokenGet ()
  Java: String ctx.ServiceTokenGet() C-API
in an ongoing-service-call get the current MqContextC_ServiceApi_Identifer
 
native MqContextC SlaveGetMaster ()
  Java: MqContextC ctx.SlaveGetMaster() C-API
opposite function of MqSlaveGetFilter
 
native MqContextC SlaveGet (int id)
  Java: MqContextC ctx.SlaveGet(int id) C-API
get the slave-context from a master-context
 
native MqContextC SlaveGetFilter ()
  Java: MqContextC ctx.SlaveGetFilter() C-API
get the filter-ctx or the master-ctx
 
native MqContextC SlaveGetProxy (int id)
  Java: MqContextC ctx.SlaveGetProxy(int id) C-API
on slave return the master and on master return the slave identified by id.
 
native boolean SlaveCheck (int id)
  Java: boolean ctx.SlaveCheck(int id) C-API
check if slave-id is valid
 
native void SlaveCreate (int id, MqContextC slave)
  Java: ctx.SlaveCreate(int id, MqContextC slave) C-API
create a master/slave link between the master-parent-context and the slave-parent-context …
 
native void SlaveDelete (int id)
  Java: ctx.SlaveDelete(int id) C-API
Delete a slave object from a master/slave link identified by id. …
 
native boolean SlaveIs ()
  Java: boolean ctx.SlaveIs() C-API
is the context a slave-context ? …
 
native void SlaveWorker (int id, String fct, MkBufferListC args)
  Java: ctx.SlaveWorker(int id, ?String fct = "WORKER"?, ?MkBufferListC args = null?) C-API
create a master/slave link using the image of the ctx object self. …
 
void SlaveWorker (int id, String fct, String... args)
  Java: ctx.SlaveWorker(int id, ?String fct = "WORKER"?, ?MkBufferListC args = null?) C-API
create a master/slave link using the image of the ctx object self. …
 
void SlaveWorker (int id)
  Java: ctx.SlaveWorker(int id, ?String fct = "WORKER"?, ?MkBufferListC args = null?) C-API
create a master/slave link using the image of the ctx object self. …
 
void SlaveWorker (int id, String fct)
  Java: ctx.SlaveWorker(int id, ?String fct = "WORKER"?, ?MkBufferListC args = null?) C-API
create a master/slave link using the image of the ctx object self. …
 
native int StorageDelete (int transLIdP_inout)
  Java: int ctx.StorageDelete(?int transLIdP_inout = 0?) C-API
delete the storage-row identified by the transLIdP_inout
 
int StorageDelete ()
  Java: int ctx.StorageDelete(?int transLIdP_inout = 0?) C-API
delete the storage-row identified by the transLIdP_inout
 
native int StorageImport (int transLIdP_inout)
  Java: int ctx.StorageImport(?int transLIdP_inout = 0?) C-API
import the storage-package into the read-data-package
 
int StorageImport ()
  Java: int ctx.StorageImport(?int transLIdP_inout = 0?) C-API
import the storage-package into the read-data-package
 
native void StorageClose ()
  Java: ctx.StorageClose() C-API
close the storage. …
 
native void StorageDecrRef (int transLId)
  Java: ctx.StorageDecrRef(int transLId) C-API
decrease the internal refCount lock of the database-entry
 
native void StorageIncrRef (int transLId)
  Java: ctx.StorageIncrRef(int transLId) C-API
increase the internal refCount lock of the database-entry
 
native void StorageLog (String callfunc)
  Java: ctx.StorageLog(?String callfunc = null?) C-API
log the storage the status of the open transactions
 
void StorageLog ()
  Java: ctx.StorageLog(?String callfunc = null?) C-API
log the storage the status of the open transactions
 
native void StorageOpen (String storageFile)
  Java: ctx.StorageOpen(String storageFile) C-API
switch to a file-based-transaction-database
 
native int StorageCount ()
  Java: int ctx.StorageCount() C-API
count the number of storage-rows
 
native int StorageErrCnt (int transLId)
  Java: int ctx.StorageErrCnt(int transLId) C-API
increment and return the database row-error-count for the row defined with transLId
 
native int StorageExport ()
  Java: int ctx.StorageExport() C-API
export the read-data-package into the STORAGE
 
native String[] StorageResolve ()
  Java: {otherCtxP:MqContextC otherLIdP:int} ctx.StorageResolve() C-API
extract the context->link.protect.rmtTransLId entry from the database
 
 MqContextC (MqContextC tmpl)
  Java: [constructor,static] MqContextC MqContextC.Create(?MqContextC tmpl = null?) C-API
create and initialize the MqContextC ...
 
 MqContextC ()
  Java: [constructor,static] MqContextC MqContextC.Create(?MqContextC tmpl = null?) C-API
create and initialize the MqContextC ...
 
Object ReadNEXT ()
 
List< Object > ReadLIST ()
 
- Public Member Functions inherited from jvmkkernel::MkObjectC
void close ()
 
String toString ()
 
native void HandleDelete ()
 
native boolean HandleExists ()
 
native int HandleGet ()
 
native int HandleGetOfType ()
 
native int HandleGetOr0 ()
 
native MkObjectC Next ()
 
native MkObjectC Prev ()
 
native void DbgDump (String message, String callfunc)
 
void DbgDump ()
 
void DbgDump (String message)
 
native void DbgL (String message, int debug, String callfunc, int lvl)
 
void DbgL (String message)
 
void DbgL (String message, int debug)
 
void DbgL (String message, int debug, String callfunc)
 
native void DbgLogC (String callfunc)
 
void DbgLogC ()
 
native void DbgO (String callfunc)
 
void DbgO ()
 
native void DbgSTACK (int skip, int num, String callfunc)
 
void DbgSTACK ()
 
void DbgSTACK (int skip)
 
void DbgSTACK (int skip, int num)
 
native void LogC (String message, int debug, String callfunc)
 
void LogC (String message)
 
void LogC (String message, int debug)
 
native void LogHEX (String callfunc, byte[] data)
 
native void Log (MkObjectC fmtobj, int debug, String callfunc, int lvl)
 
native void LogLong (MkObjectC fmtobj, int debug, String callfunc, int lvl)
 
void LogLong ()
 
void LogLong (MkObjectC fmtobj)
 
void LogLong (MkObjectC fmtobj, int debug)
 
void LogLong (MkObjectC fmtobj, int debug, String callfunc)
 
native void LogShort (MkObjectC fmtobj, int debug, String callfunc, int lvl)
 
void LogShort ()
 
void LogShort (MkObjectC fmtobj)
 
void LogShort (MkObjectC fmtobj, int debug)
 
void LogShort (MkObjectC fmtobj, int debug, String callfunc)
 
native void LogType (MkObjectC fmtobj, int debug, String callfunc, int lvl)
 
void LogType ()
 
void LogType (MkObjectC fmtobj)
 
void LogType (MkObjectC fmtobj, int debug)
 
void LogType (MkObjectC fmtobj, int debug, String callfunc)
 
void Log ()
 
void Log (MkObjectC fmtobj)
 
void Log (MkObjectC fmtobj, int debug)
 
void Log (MkObjectC fmtobj, int debug, String callfunc)
 
native MkErrorC ErrorCatch (Throwable exception, String callfunc)
 
MkErrorC ErrorCatch ()
 
MkErrorC ErrorCatch (Throwable exception)
 
native MkErrorC ToError ()
 
native boolean IsNull ()
 
native String ToName ()
 
native String ToNameOfClass ()
 
native String ToNameOfType ()
 
native String ToString ()
 
native int RefGet ()
 
native void SysKill (int pid, int signal)
 
native int SysGetPid ()
 
native void Dispose ()
 
native void Delete ()
 
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 MqContextC HandleResolve (int netHdl)
  Java: [static] MqContextC MqContextC.HandleResolve(int netHdl) C-API
Handle-Resolve-Slot - return a MqContextC from netHdl or null if invalid…
 
static native MqContextC Instances ()
  Java: [static] MqContextC MqContextC.Instances() C-API
get head-instance from linked-list of MqContextS type …
 
static native MqContextC GetNull ()
  Java: [static] MqContextC MqContextC.GetNull() C-API
Null-Slot - return a MqContextC typed NULL instance …
 
static native MqContextC Create (MqContextC tmpl)
  Java: [constructor,static] MqContextC MqContextC.Create(?MqContextC tmpl = null?) C-API
create and initialize the MqContextC ...
 
static MqContextC Create ()
  Java: [constructor,static] MqContextC MqContextC.Create(?MqContextC tmpl = null?) C-API
create and initialize the MqContextC ...
 
- Static Public Member Functions inherited from jvmkkernel::MkObjectC
static native MkObjectC HandleResolve (int netHdl)
 
static native void HandleDeleteByNetHdl (int netHdl)
 
static native MkObjectC Instances ()
 
static native MkObjectC GetNull ()
 
static native void DbgM (String message, int debug, String callfunc, int lvl)
 
static void DbgM (String message)
 
static void DbgM (String message, int debug)
 
static void DbgM (String message, int debug, String callfunc)
 
static native int SysHashI32 (String key, int length)
 
static int SysHashI32 (String key)
 
static native String SysHashSTR (String key, int length)
 
static String SysHashSTR (String key)
 
static native void DeleteCallbackCleanup (String ident)
 
static native void DeleteCallbackSetup (String ident, MkObjectDeleteIF callback, String filter)
 
static void DeleteCallbackSetup (String ident)
 
static void DeleteCallbackSetup (String ident, MkObjectDeleteIF 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from jvmkkernel::MkObjectC
 MkObjectC (long mng, boolean dummy)
 
void Dispose (boolean disposing)
 

Detailed Description

MqContextC - the class known as ctx or context is the application-handle of the application-server and also the main data-handle

The context is the package-item with the required features and created by the implementation-layer-programmer. The context can be a client or a server.

HOWTO client-context

The client-context-creation is triggerd by the software-workflow on demand. The client is calling the MqLinkCreate to create a connection to the server using the connection-arguments to specify the target.

The life-cycle of a client is:

ContextCreate create and initialize the MqContextC ...
LinkCreate make ctx to a parent-context and setup a new client-server-link
SendTT MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
ReadTT read a PRIMITIVE TYPE from the read-data-package
LinkDelete close the client-server-link
ContextDelete Destructor - delete a MqContextC instance …
Exit delete the context and exit the current process or thread …

HOWTO server-context

The server-context-creation is always triggerd by the MqLinkCreate command of the client. The server is usually using a factory-constructor to call the MqContextCreate and finally to call the MqContextDelete.
The server-context is fully under control of the client.

The life-cycle of a server is:

SETUPdefine a class and add the setup/cleanup code
MqServerSetupIF define the server-setup-interface (callback) used on startup …
ServiceCreate create a link between a service-token and a service-callback
MqServerCleanupIF define the server-cleanup-interface (callback) used on cleanup …
ServiceDelete delete a service. …
STARTUPdefine the factory and start the listener
FactoryAdd Add a new MqFactoryC identified by factory-identifier and defined by factory-constructor
FactoryNew create a new MqContextC from a MqFactoryC
LinkCreate make ctx to a parent-context and setup a new client-server-link
ProcessEvent enter the event-loop and wait for an incoming service-request. …
WORKprocess the service-calls and exit on end
ReadTT read a PRIMITIVE TYPE from the read-data-package
SendTT MqContextC - append a native PRIMITIVE TYPE value to the send-data-package
Exit delete the context and exit the current process or thread …

MqContextC CTOR and DTOR

command alias
[constructor,static] MqContextC MqContextC.Create(?MqContextC tmpl = null?) pymkmsgque.MqContextC(?tmpl:MqContextC=None?)
[destructor] ctx.Delete() ctx = None

Definition at line 19 of file MqContextC.java.

Member Function Documentation

◆ Send()

native Object jvmqmsgque.MqContextC.Send ( String cstr,
Object ... argv )

Java: ctx.Send(String cstr, String... args) C-API
user friendly replacement for the MqContextC_SendApi_C_API


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