01: package org.jacorb.orb;
02:
03: /*
04: * JacORB - a free Java ORB
05: *
06: * Copyright (C) 1997-2004 Gerald Brose.
07: *
08: * This library is free software; you can redistribute it and/or
09: * modify it under the terms of the GNU Library General Public
10: * License as published by the Free Software Foundation; either
11: * version 2 of the License, or (at your option) any later version.
12: *
13: * This library is distributed in the hope that it will be useful,
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16: * Library General Public License for more details.
17: *
18: * You should have received a copy of the GNU Library General Public
19: * License along with this library; if not, write to the Free
20: * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21: */
22:
23: /**
24: * This class collects all ORB related constants.
25: *
26: * This includes various OMG assigned values used by JacORB.
27: *
28: * OMG Assigned ranges:
29: *
30: * 1 VMCID 0x4A430xxx ("JC\x00\x00" - "JC\x0f\xff")
31: * 1 VPVID 0x4A430xxx ("JC\x00\x00" - "JC\x0f\xff")
32: * 16 ORB type IDs 0x4A414300 - 0x4A41430f ("JAC\x00" - "JAC\x0f")
33: * 16 profile tags 0x4A414300 - 0x4A41430f ("JAC\x00" - "JAC\x0f")
34: * 16 service tags 0x4A414300 - 0x4A41430f ("JAC\x00" - "JAC\x0f")
35: * 16 component IDs 0x4A414300 - 0x4A41430f ("JAC\x00" - "JAC\x0f")
36: */
37:
38: public final class ORBConstants {
39: public static final int VMCID = 0x4A430000;
40: public static final int JACORB_ORB_ID = 0x4A414300;
41: public static final int SERVICE_PADDING_CONTEXT = 0x4A414301;
42: public static final int SERVICE_PROXY_CONTEXT = 0x4A414302;
43:
44: /**
45: * <code>JAC_SSL_PROFILE_ID/JAC_NOSSL_PROFILE_ID</code> are used to
46: * distinguish between IIOP profiles that do and do not support SSL.
47: */
48: public static final int JAC_SSL_PROFILE_ID = VMCID;
49: public static final int JAC_NOSSL_PROFILE_ID = VMCID | 0x01;
50: }
|