Back to project page msghandle.
The source code is released under:
GNU General Public License
If you think the Android project msghandle listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.anlong.msghandle.common; //w w w . j av a2 s .c o m /** * @ClassName: HandleStaticValue * @Package: com.anlong.imsghandle.common * @company ShenZhen anlong Technology CO.,LTD. * @Description: TODO ????????????????? * @author anlong * @date 2013-6-1 ????1:47:37 * @version V1.0 */ public class HandleStaticValue { // ??IP?????????? public static String SERVER_IP = ""; public static int SERVER_PORT = 0; /** ?????????IP?key */ public static final String SHAREDPREFERENCES_KEY_SERVER_IP="SHAREDPREFERENCES_KEY_SERVER_IP"; /** ????????key */ public static final String SHAREDPREFERENCES_KEY_SERVER_PORT="SHAREDPREFERENCES_KEY_SERVER_PORT"; /** ?????????IP?????? */ public static final String SHAREDPREFERENCES_im_sharedfile_ipinfo="im_sharedfile_ipinfo"; // ?????????? public static final String CHARSET_NAME = "UTF-8"; // ????????????? public static final int PROTOCOL_SIZE = 4; // ?????????????? public static final String RESPONSE_PACKEAGE = "com.anlong.imsghandle.response"; // ????????????? public static final String RESPONSE_VO = "com.anlong.imsghandle.vo"; // ?????? public static final String PRINT_FLAG = "IMsgHandle[anlong]"; // ???? public static final byte FILE_UPLOAD_IMAGE_TYPE = 3; // ????????20' public static final int SERVER_CONNECTION_TIMEOUT = 20000; // ?????????30' public static final int MESSAGE_RESPONSE_TIMEOUT = 30000; /**Socket????5?*/ public static final int SOCKET_TIMEOUT = 10000; // ????????????? /** ?????*/ public static final Short BCODE1010 = 1010; public static final Short BCODE1020 = 1020; /** ??*/ public static final Short BCODE1030 = 1030; /** ?????*/ public static final Short BCODE1040 = 1040; /** ??????????*/ public static final Short BCODE1050 = 1050; /** ????????*/ public static final Short BCODE1060 = 1060; /** ????????*/ public static final Short BCODE1070 = 1070; /** ??????????*/ public static final Short BCODE1080 = 1080; /** ???????????*/ public static final Short BCODE1090 = 1090; /** ????????*/ public static final Short BCODE1100 = 1100; /** ??/????*/ public static final Short BCODE1110 = 1110; /** ??/??????*/ public static final Short BCODE1120 = 1120; /** ????????*/ public static final Short BCODE1130 = 1130; /** ??????????*/ public static final Short BCODE1140 = 1140; /** ???????????*/ public static final Short BCODE1150 = 1150; /** ?????*/ public static final Short BCODE1160 = 1160; /** ?????*/ public static final Short BCODE1170 = 1170; /** ??????????*/ public static final Short BCODE2010 = 2010; /** ??????????*/ public static final Short BCODE2020 = 2020; /** ?????????*/ public static final Short BCODE2030 = 2030; /** ??????????*/ public static final Short BCODE2040 = 2040; /** ??????*/ public static final Short BCODE2050 = 2050; /** ??????????*/ public static final Short BCODE4010 = 4010; /** ????????*/ public static final Short BCODE4020 = 4020; /** ?????*/ public static final Short BCODE3010 = 3010; /** ??????*/ public static final Short BCODE3020 = 3020; /** ????????*/ public static final Short BCODE5010 = 5010; /** ????app????????*/ public static final Short BCODE2060 = 2060; /** ??????????????*/ public static final Short BCODE2070 = 2070; // ???????????? /** ?????*/ public static final Short BCODE101 = 101; /** ???????*/ public static final Short BCODE102 = 102; /** ??*/ public static final Short BCODE103 = 103; /** ?????*/ public static final Short BCODE104 = 104; /** ??????????*/ public static final Short BCODE105 = 105; /** ????????*/ public static final Short BCODE106 = 106; /** ????????*/ public static final Short BCODE107 = 107; /** ??????????*/ public static final Short BCODE108 = 108; /** ???????????*/ public static final Short BCODE109 = 109; /** ????????*/ public static final Short BCODE110 = 110; /** ??/????*/ public static final Short BCODE111 = 111; /** ??/??????*/ public static final Short BCODE112 = 112; /** ????????*/ public static final Short BCODE113 = 113; /** ??????????*/ public static final Short BCODE114 = 114; /** ???????????*/ public static final Short BCODE115 = 115; /** ?????*/ public static final Short BCODE116 = 116; /** ?????*/ public static final Short BCODE117 = 117; /** ??????????*/ public static final Short BCODE201 = 201; /** ??????????*/ public static final Short BCODE202 = 202; /** ?????????*/ public static final Short BCODE203 = 203; /** ??????????*/ public static final Short BCODE204 = 204; /** ??????*/ public static final Short BCODE205 = 205; /** ??????????*/ public static final Short BCODE401 = 401; /** ????????*/ public static final Short BCODE402 = 402; /** ?????*/ public static final Short BCODE301 = 301; /** ??????*/ public static final Short BCODE302 = 302; /** ????????*/ public static final Short BCODE501 = 501; /** ????????????*/ public static final Short BCODE207 = 207; // ????? (1000-1009) /** Socket????*/ public static final short BCODE1000 = 1000; /** Socket?????*/ public static final short BCODE1001 = 1001; /** ????????????????*/ public static final short BCODE1002 = 1002; /** ?????????*/ public static final short BCODE1003 = 1003; /** ??????? ?????? */ public static final Byte LOGINTYPE_ANDROID = 5; }