theLink 10.0
Loading...
Searching...
No Matches
MqFactoryC.java
Go to the documentation of this file.
1
9/* LABEL-INIT */
10package jvmqmsgque;
11
12import jvmkkernel.*;
13
14/* LABEL-START */
15
20public class MqFactoryC extends MkObjectC {
21
22 static {
24 }
25
26 private MqFactoryC (long mng, boolean dummy) {
27 super(mng,dummy);
28 }
29
30/* LABEL-END */
31
32 // PUBLIC
33
34/*
36 public native static MqFactoryC Add (String ident, Class<?> callback);
37
39 public static MqFactoryC Add (Class<?> callback) {
40 return Add (callback.getSimpleName(), callback);
41 }
42*/
43
45 public static MqFactoryC GetCalled (String... args) {
46 return GetCalled(new MkBufferListC(args));
47 }
48
49 // BEGIN-MqFactoryC - created by 'jv_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
50
54
55 // doc-key: MqFactoryC,MqFactoryC-Class-Export,sc_
56
58 public native static MqFactoryC HandleResolve (int netHdl);
59
60 // doc-key: MqFactoryC,MqFactoryC-Class-Export,om_
61
62 // skip class-overload: public native int HandleGet ()
63
65 // MqFactoryC_Class_JV_API
66
70
71 // doc-key: MqFactoryC,MqFactoryC-Class-Introspection,oc_
72
74 public native MqFactoryC Next ();
75
77 public native MqFactoryC Prev ();
78
79 // doc-key: MqFactoryC,MqFactoryC-Class-Introspection,sc_
80
82 public native static MqFactoryC Instances ();
83
85 // MqFactoryC_Class_JV_API
86
90
91 // doc-key: MqFactoryC,MqFactoryC-Class-Misc,sc_
92
94 public native static MqFactoryC GetNull ();
95
97 // MqFactoryC_Class_JV_API
98
102
103 // doc-key: MqFactoryC,MqFactoryC-Get,sc_
104
106 public native static MqFactoryC Get (String ident);
107
109 public native static MqFactoryC GetCalled (String ident);
110
112 public native static MqFactoryC GetCalled (MkBufferListC largs);
113
115 public static MqFactoryC GetCalled () {
116 return GetCalled ("");
117 }
118
120 public static MqFactoryC Get () {
121 return Get ("");
122 }
123
124 // doc-key: MqFactoryC,MqFactoryC-Get,om_
125
127 public native String GetOriginalIdent ();
128
130 // MqFactoryC_Get_JV_API
131
135
136 // doc-key: MqFactoryC,MqFactoryC-Misc,oc_
137
139 public native MqFactoryC Default ();
140
142 public native MqFactoryC Initial ();
143
144 // doc-key: MqFactoryC,MqFactoryC-Misc,oco
145
147 public native MqContextC New ();
148
149 // doc-key: MqFactoryC,MqFactoryC-Misc,om_
150
151 // skip class-overload: public native void Log (MkObjectC fmtobj, int debug, String callfunc, int lvl)
152
154 public void Log () {
155 Log ((MkObjectC) null, 0, null, 0);
156 }
157
159 public void Log (MkObjectC fmtobj) {
160 Log (fmtobj, 0, null, 0);
161 }
162
164 public void Log (MkObjectC fmtobj, int debug) {
165 Log (fmtobj, debug, null, 0);
166 }
167
169 public void Log (MkObjectC fmtobj, int debug, String callfunc) {
170 Log (fmtobj, debug, callfunc, 0);
171 }
172
173 // doc-key: MqFactoryC,MqFactoryC-Misc,sm_
174
176 public native static String DefaultIdent ();
177
179 public native static String InitialIdent ();
180
182 public native static void LogAll (String callfunc);
183
185 public static void LogAll () {
186 LogAll (null);
187 }
188
190 // MqFactoryC_Misc_JV_API
191
195
196 // doc-key: MqFactoryC,MqFactoryC-TOR,oCx
197
199 public native MqFactoryC Dup2 (String ident);
200
201 // doc-key: MqFactoryC,MqFactoryC-TOR,sCc
202
204 public native static MqFactoryC Add (Class<?> constructor, String ident);
205
207 public MqFactoryC (Class<?> constructor, String ident) {
208 this(CTOR(constructor, ident), true);
209 }
210
212 public static MqFactoryC Add (Class<?> constructor) {
213 return Add (constructor, null);
214 }
215
217 public MqFactoryC (Class<?> constructor) {
218 this(CTOR(constructor, null), true);
219 }
220
222 private native static long CTOR (Class<?> constructor, String ident);
223
225 private static long CTOR (Class<?> constructor) {
226 return CTOR (constructor, null);
227 }
228
230 // MqFactoryC_TOR_JV_API
231
232 // END-MqFactoryC - created by 'jv_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
233
234}
235
MqContextC - the class known as ctx or context is the application-handle of the application-server an...
MqFactoryC - the class known as fct or factory is used to provide an interface to create one or more ...
static MqFactoryC GetCalled(String... args)
Java: [static] MqFactoryC MqFactoryC.GetCalled(?String ident = ""?) → C-API
MqMsgque PACKAGE - the package is the toplevel structure of the jvmqmsgque …
static native MqFactoryC Instances()
Java: [static] MqFactoryC MqFactoryC.Instances() → C-API get head-instance from linked-list of M...
static native MqFactoryC GetNull()
Java: [static] MqFactoryC MqFactoryC.GetNull() → C-API Null-Slot - return a MqFactoryC typed NUL...
native MqFactoryC Prev()
Java: MqFactoryC fct.Prev() → C-API get previous instance from linked-list of MqFactoryS type
native MqFactoryC Next()
Java: MqFactoryC fct.Next() → C-API get next instance from linked-list of MqFactoryS type
static native MqFactoryC HandleResolve(int netHdl)
Java: [static] MqFactoryC MqFactoryC.HandleResolve(int netHdl) → C-API Handle-Resolve-Slot - ret...
native String GetOriginalIdent()
Java: String fct.GetOriginalIdent() → C-API helper function to return MqFactoryS....
static MqFactoryC Get()
Java: [static] MqFactoryC MqFactoryC.Get(?String ident = ""?) → C-API return the MqFactoryC
static native MqFactoryC GetCalled(String ident)
Java: [static] MqFactoryC MqFactoryC.GetCalled(?String ident = ""?) → C-API returns the MqFactor...
static MqFactoryC GetCalled()
Java: [static] MqFactoryC MqFactoryC.GetCalled(?String ident = ""?) → C-API returns the MqFactor...
static native MqFactoryC GetCalled(MkBufferListC largs)
Java: [static] MqFactoryC MqFactoryC.GetCalled(?String ident = ""?) → C-API returns the MqFactor...
static native MqFactoryC Get(String ident)
Java: [static] MqFactoryC MqFactoryC.Get(?String ident = ""?) → C-API return the MqFactoryC
void Log(MkObjectC fmtobj)
Java: fct.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
static native void LogAll(String callfunc)
Java: [static] MqFactoryC.LogAll(?String callfunc = null?) → C-API log all "factories" to stderr
static void LogAll()
Java: [static] MqFactoryC.LogAll(?String callfunc = null?) → C-API log all "factories" to stderr
void Log(MkObjectC fmtobj, int debug, String callfunc)
Java: fct.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native MqFactoryC Initial()
Java: MqFactoryC fct.Initial() → C-API set the initial-attribut to fct …
static native String DefaultIdent()
Java: [static] String MqFactoryC.DefaultIdent() → C-API return the factory-identifier of the def...
void Log(MkObjectC fmtobj, int debug)
Java: fct.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void Log()
Java: fct.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
static native String InitialIdent()
Java: [static] String MqFactoryC.InitialIdent() → C-API return the factory-identifier of the ini...
native MqFactoryC Default()
Java: MqFactoryC fct.Default() → C-API set the default-attribute to the factory …
native MqContextC New()
Java: MqContextC fct.New() → C-API create a new MqContextC from a MqFactoryC …
MqFactoryC(Class<?> constructor)
Java: [constructor,static] MqFactoryC MqFactoryC.Add(Class<?> constructor, ?String ident = null?...
static native MqFactoryC Add(Class<?> constructor, String ident)
Java: [constructor,static] MqFactoryC MqFactoryC.Add(Class<?> constructor, ?String ident = null?...
MqFactoryC(Class<?> constructor, String ident)
Java: [constructor,static] MqFactoryC MqFactoryC.Add(Class<?> constructor, ?String ident = null?...
native MqFactoryC Dup2(String ident)
Java: [constructor] MqFactoryC fct.Dup2(String ident) → C-API create a duplicate of the singleto...
static MqFactoryC Add(Class<?> constructor)
Java: [constructor,static] MqFactoryC MqFactoryC.Add(Class<?> constructor, ?String ident = null?...
static void Setup()
Java: [static] Setup() → C-API setup jvmqmsgque internal memory …