01: /*
02: * JBoss, Home of Professional Open Source.
03: * Copyright 2006, Red Hat Middleware LLC, and individual contributors
04: * as indicated by the @author tags. See the copyright.txt file in the
05: * distribution for a full listing of individual contributors.
06: *
07: * This is free software; you can redistribute it and/or modify it
08: * under the terms of the GNU Lesser General Public License as
09: * published by the Free Software Foundation; either version 2.1 of
10: * the License, or (at your option) any later version.
11: *
12: * This software is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: *
17: * You should have received a copy of the GNU Lesser General Public
18: * License along with this software; if not, write to the Free
19: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20: * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21: */
22: package org.jboss.mq.il.oil;
23:
24: /**
25: *
26: *
27: * @author Brian Weaver (weave@opennms.org)
28: * @version $Revision: 57198 $
29: * @created January 10, 2002
30: */
31: final class OILConstants {
32: // Success and error conditions are
33: // defined here
34: //
35: final static int OK = 0;
36: final static int SUCCESS = 0;
37: final static int OK_OBJECT = 1;
38: final static int SUCCESS_OBJECT = 1;
39: final static int EXCEPTION = 2;
40:
41: // The "message" codes start here.
42: //
43: final static int ACKNOWLEDGE = 8;
44: final static int ADD_MESSAGE = 9;
45: final static int BROWSE = 10;
46: final static int CHECK_ID = 11;
47: final static int CONNECTION_CLOSING = 12;
48: final static int CREATE_QUEUE = 13;
49: final static int CREATE_TOPIC = 14;
50: final static int DELETE_TEMPORARY_DESTINATION = 15;
51: final static int GET_ID = 16;
52: final static int GET_TEMPORARY_QUEUE = 17;
53: final static int GET_TEMPORARY_TOPIC = 18;
54: final static int RECEIVE = 19;
55: final static int SET_ENABLED = 20;
56: final static int SET_SPY_DISTRIBUTED_CONNECTION = 21;
57: final static int SUBSCRIBE = 22;
58: final static int TRANSACT = 23;
59: final static int UNSUBSCRIBE = 24;
60: final static int DESTROY_SUBSCRIPTION = 25;
61: final static int CHECK_USER = 26;
62: final static int PING = 27;
63: final static int PONG = 28;
64: final static int CLOSE = 29;
65: final static int AUTHENTICATE = 30;
66: }
67: /*
68: vim:tabstop=3:expandtab:shiftwidth=3
69: */
|