View Javadoc
1 /* 2 * @(#)SocketLinkConstants.java 3 * 4 * JFoxMQ the open source JMS MOM. 5 * 6 * Corpyright 2002-2003 Huihoo Power, Inc. All Rights Reserved. This software 7 * is licensed under LGPL license. 8 * 9 * For more information, please visit: http://www.huihoo.org 10 */ 11 12 package org.huihoo.jfox.ms.crb.socket; 13 14 /*** 15 * Defines some constants used in messages transforming in socket connec 16 * 17 * @author Liang.Zhao (zlushangnwpu@sina.com) 18 * @version @created July 29th 2003 19 */ 20 21 final class SocketLinkConstants { 22 // Success and error conditions are defined here 23 final static int SUCCESS = 0; 24 final static int SUCCESS_OBJECT = 1; 25 final static int EXCEPTION = 2; 26 final static int ISREADY = 3; 27 28 // The "message" codes start here. 29 // 30 final static int SEND_ACKNOWLEDGE = 8; 31 final static int SEND_MESSAGE = 9; 32 final static int BROWSE = 10; 33 final static int CHECK_ID = 11; 34 final static int CONNECTION_CLOSING = 12; 35 final static int CREATE_QUEUE = 13; 36 final static int CREATE_TOPIC = 14; 37 final static int DELETE_TEMPORARY_DESTINATION = 15; 38 final static int GET_ID = 16; 39 final static int CRE_GETMPORARY_QUEUE = 17; 40 final static int CRE_TEMPORARY_TOPIC = 18; 41 final static int RECEIVE = 19; 42 // final static int SET_ENABLED = 20; 43 // final static int SET_SPY_DISTRIBUTED_CONNECTION = 21; 44 final static int REM_SUBSCRIBE = 22; 45 final static int COMMIT = 23; 46 final static int ADD_UBSCRIBE = 24; 47 final static int DESTROY_SUBSCRIPTION = 25; 48 final static int CHECK_USER = 26; 49 //final static int PING = 27; 50 //final static int PONG = 28; 51 final static int CLOSE_CONNECTION = 29; 52 final static int AUTHENTICATE = 30; 53 }

This page was automatically generated by Maven