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.oil2;
23:
24: /**
25: *
26: *
27: * @author <a href="mailto:hiram.chirino@jboss.org">Hiram Chirino</a>
28: * @author Brian Weaver (weave@opennms.org)
29: * @version $Revision: 1.2 $
30: */
31: interface OIL2Constants {
32: // Success and error conditions are
33: // defined here
34: //
35: final static byte RESULT_VOID = 1;
36: final static byte RESULT_OBJECT = 2;
37: final static byte RESULT_EXCEPTION = 3;
38:
39: // The "message" codes start here.
40: //
41: final static byte CLIENT_RECEIVE = -1;
42: final static byte CLIENT_DELETE_TEMPORARY_DESTINATION = -2;
43: final static byte CLIENT_CLOSE = -3;
44: final static byte CLIENT_PONG = -4;
45:
46: final static byte SERVER_ACKNOWLEDGE = 1;
47: final static byte SERVER_ADD_MESSAGE = 2;
48: final static byte SERVER_BROWSE = 3;
49: final static byte SERVER_CHECK_ID = 4;
50: final static byte SERVER_CONNECTION_CLOSING = 5;
51: final static byte SERVER_CREATE_QUEUE = 6;
52: final static byte SERVER_CREATE_TOPIC = 7;
53: final static byte SERVER_DELETE_TEMPORARY_DESTINATION = 8;
54: final static byte SERVER_GET_ID = 9;
55: final static byte SERVER_GET_TEMPORARY_QUEUE = 10;
56: final static byte SERVER_GET_TEMPORARY_TOPIC = 11;
57: final static byte SERVER_RECEIVE = 12;
58: final static byte SERVER_SET_ENABLED = 13;
59: final static byte SERVER_SET_SPY_DISTRIBUTED_CONNECTION = 14;
60: final static byte SERVER_SUBSCRIBE = 15;
61: final static byte SERVER_TRANSACT = 16;
62: final static byte SERVER_UNSUBSCRIBE = 17;
63: final static byte SERVER_DESTROY_SUBSCRIPTION = 18;
64: final static byte SERVER_CHECK_USER = 19;
65: final static byte SERVER_PING = 20;
66: final static byte SERVER_CLOSE = 21;
67: final static byte SERVER_AUTHENTICATE = 22;
68: }
69: /*
70: vim:tabstop=3:expandtab:shiftwidth=3
71: */
|