KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > mq > il > oil > OILConstants


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.mq.il.oil;
8
9 /**
10  *
11  *
12  * @author Brian Weaver (weave@opennms.org)
13  * @version $Revision: 1.2 $
14  * @created January 10, 2002
15  */

16 final class OILConstants
17 {
18    // Success and error conditions are
19
// defined here
20
//
21
final static int OK = 0;
22    final static int SUCCESS = 0;
23    final static int OK_OBJECT = 1;
24    final static int SUCCESS_OBJECT = 1;
25    final static int EXCEPTION = 2;
26
27    // The "message" codes start here.
28
//
29
final static int ACKNOWLEDGE = 8;
30    final static int ADD_MESSAGE = 9;
31    final static int BROWSE = 10;
32    final static int CHECK_ID = 11;
33    final static int CONNECTION_CLOSING = 12;
34    final static int CREATE_QUEUE = 13;
35    final static int CREATE_TOPIC = 14;
36    final static int DELETE_TEMPORARY_DESTINATION = 15;
37    final static int GET_ID = 16;
38    final static int GET_TEMPORARY_QUEUE = 17;
39    final static int GET_TEMPORARY_TOPIC = 18;
40    final static int RECEIVE = 19;
41    final static int SET_ENABLED = 20;
42    final static int SET_SPY_DISTRIBUTED_CONNECTION = 21;
43    final static int SUBSCRIBE = 22;
44    final static int TRANSACT = 23;
45    final static int UNSUBSCRIBE = 24;
46    final static int DESTROY_SUBSCRIPTION = 25;
47    final static int CHECK_USER = 26;
48    final static int PING = 27;
49    final static int PONG = 28;
50    final static int CLOSE = 29;
51    final static int AUTHENTICATE = 30;
52 }
53 /*
54 vim:tabstop=3:expandtab:shiftwidth=3
55 */

56
Popular Tags