Lines Matching defs:GIOPVersion
37 public class GIOPVersion {
41 public static final GIOPVersion V1_0 = new GIOPVersion((byte)1, (byte)0);
42 public static final GIOPVersion V1_1 = new GIOPVersion((byte)1, (byte)1);
43 public static final GIOPVersion V1_2 = new GIOPVersion((byte)1, (byte)2);
44 public static final GIOPVersion V1_3 = new GIOPVersion((byte)1, (byte)3);
48 public static final GIOPVersion V13_XX =
49 new GIOPVersion((byte)13, (byte)Message.JAVA_ENC_VERSION);
51 public static final GIOPVersion DEFAULT_VERSION = V1_2;
67 public GIOPVersion() {}
69 public GIOPVersion(byte majorB, byte minorB) {
74 public GIOPVersion(int major, int minor) {
91 public boolean equals(GIOPVersion gv){
96 if (obj != null && (obj instanceof GIOPVersion))
97 return equals((GIOPVersion)obj);
107 public boolean lessThan(GIOPVersion gv) {
129 public static GIOPVersion getInstance(byte major, byte minor)
133 return GIOPVersion.V1_0;
135 return GIOPVersion.V1_1;
137 return GIOPVersion.V1_2;
139 return GIOPVersion.V1_3;
141 return GIOPVersion.V13_XX;
143 return new GIOPVersion(major, minor);
147 public static GIOPVersion parseVersion(String s)
157 return GIOPVersion.getInstance((byte)major, (byte)minor);
166 public static GIOPVersion chooseRequestVersion(ORB orb, IOR ior ) {
168 GIOPVersion orbVersion = orb.getORBData().getGIOPVersion();
170 GIOPVersion profVersion = prof.getGIOPVersion();