theLink 10.0
Loading...
Searching...
No Matches
MqStatusIsEF.java
Go to the documentation of this file.
1
9/* LABEL-NO */
10package jvmqmsgque;
11
12import jvmqmsgque.MqMsgque;
13
14// BEGIN-MqStatusIsEF - created by 'jv_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
15
18public class MqStatusIsEF {
19 public enum Set {
21 DUP (1), // 1<<0
22 THREAD (2), // 1<<1
23 FORK (4), // 1<<2
24 SPAWN (8); // 1<<3
25 public final int val;
26 Set(int val) {this.val = val;}
27 public int get() { return val; }
28 }
29 private final int flag;
30 private MqStatusIsEF(int flg) {
31 this.flag = flg;
32 }
33 public int get() { return flag; }
34 public String toString() {
35 return MqMsgque.StatusIsEF_ToString(this);
36 }
37 public boolean equals(MqStatusIsEF other) {
38 return this.flag == other.flag;
39 }
40 static public MqStatusIsEF AND(MqStatusIsEF.Set... vals) {
41 int flag = 0;
42 for (int i = 0; i < vals.length; i++) {
43 flag&=vals[i].val;
44 }
45 return new MqStatusIsEF(flag);
46 }
47 static public MqStatusIsEF set(int val) {
48 return MqMsgque.StatusIsEF_FromInt(val);
49 }
50}
51
52// END-MqStatusIsEF - created by 'jv_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
MqMsgque PACKAGE - the package is the toplevel structure of the jvmqmsgque …
Java: enum MqStatusIsEF → C-API
boolean equals(MqStatusIsEF other)
static MqStatusIsEF AND(MqStatusIsEF.Set... vals)
MqStatusIsEF
Information about how the context was created.
static native String StatusIsEF_ToString(MqStatusIsEF value)
Java: [static] String StatusIsEF_ToString(MqStatusIsEF value) → C-API return the MqStatusIsEF as...
static native MqStatusIsEF StatusIsEF_FromInt(int value)
Java: [static] MqStatusIsEF StatusIsEF_FromInt(int value) → C-API return the MqStatusIsEF from i...