Android Open Source - msghandle Handle Static Value






From Project

Back to project page msghandle.

License

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.

Java Source Code

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;
}




Java Source Code List

com.anlong.msghandle.common.BaseMessage.java
com.anlong.msghandle.common.HandleStaticValue.java
com.anlong.msghandle.common.HandleTimer.java
com.anlong.msghandle.common.MessageTimer.java
com.anlong.msghandle.event.MessageEventListener.java
com.anlong.msghandle.event.MessageEventSource.java
com.anlong.msghandle.event.MessageEvent.java
com.anlong.msghandle.file.InitImageFileServer.java
com.anlong.msghandle.handle.ImageRequestHandle.java
com.anlong.msghandle.handle.ImageResponseHandle.java
com.anlong.msghandle.handle.MsgRequestHandle.java
com.anlong.msghandle.handle.MsgResponseHandle.java
com.anlong.msghandle.impl.AppParamImpl.java
com.anlong.msghandle.impl.AppSystemMessageReportImpl.java
com.anlong.msghandle.impl.AuthenticationImpl.java
com.anlong.msghandle.impl.BroadcastImpl.java
com.anlong.msghandle.impl.CommonContactImpl.java
com.anlong.msghandle.impl.DepImpl.java
com.anlong.msghandle.impl.DepInfoListImpl.java
com.anlong.msghandle.impl.EditGroupImpl.java
com.anlong.msghandle.impl.EditGroupUserImpl.java
com.anlong.msghandle.impl.EditUserInfoImpl.java
com.anlong.msghandle.impl.ExitPreventGroupImpl.java
com.anlong.msghandle.impl.GetGroupInfoImpl.java
com.anlong.msghandle.impl.GetHistoryMessageImpl.java
com.anlong.msghandle.impl.GetUserInfoImpl105.java
com.anlong.msghandle.impl.GroupInfoListImpl.java
com.anlong.msghandle.impl.GroupShareImpl.java
com.anlong.msghandle.impl.HeartImpl103.java
com.anlong.msghandle.impl.LocationImpl.java
com.anlong.msghandle.impl.LoginImpl101.java
com.anlong.msghandle.impl.MessageStateReportImpl.java
com.anlong.msghandle.impl.OnlineStateImpl102.java
com.anlong.msghandle.impl.OnlineUserListImpl110.java
com.anlong.msghandle.impl.SendImageFile.java
com.anlong.msghandle.impl.SendMessageImpl203.java
com.anlong.msghandle.impl.SystemParaImpl.java
com.anlong.msghandle.impl.UnreadMessageImpl.java
com.anlong.msghandle.impl.UpdatePasswordImpl.java
com.anlong.msghandle.impl.UserInfoListImpl.java
com.anlong.msghandle.interfac.AbstractMsgHandle.java
com.anlong.msghandle.interfac.BaseActivity.java
com.anlong.msghandle.interfac.MessageHandleActivity.java
com.anlong.msghandle.interfac.MsgHandle.java
com.anlong.msghandle.message.InitRequMessageServer.java
com.anlong.msghandle.message.InitRespMessageServer.java
com.anlong.msghandle.request.BaseRequest.java
com.anlong.msghandle.request.Request100.java
com.anlong.msghandle.request.Request101.java
com.anlong.msghandle.request.Request102.java
com.anlong.msghandle.request.Request103.java
com.anlong.msghandle.request.Request105.java
com.anlong.msghandle.request.Request110.java
com.anlong.msghandle.request.Request203.java
com.anlong.msghandle.request.Request301.java
com.anlong.msghandle.response.BaseResponse.java
com.anlong.msghandle.response.Response1000.java
com.anlong.msghandle.response.Response1010.java
com.anlong.msghandle.response.Response1020.java
com.anlong.msghandle.response.Response1030.java
com.anlong.msghandle.response.Response1050.java
com.anlong.msghandle.response.Response1100.java
com.anlong.msghandle.response.Response2030.java
com.anlong.msghandle.response.Response3010.java
com.anlong.msghandle.service.InitServerManager.java
com.anlong.msghandle.service.ServerManager.java
com.anlong.msghandle.socket.InitFileSocketServer.java
com.anlong.msghandle.socket.InitMsgSocketServer.java
com.anlong.msghandle.util.ByteAndInt.java
com.anlong.msghandle.util.FormatTransfer.java
com.anlong.msghandle.util.IMLog.java
com.anlong.msghandle.util.ReflectionUtil.java
com.anlong.msghandle.util.Utils.java
com.anlong.msghandle.vo.AppMessage.java
com.anlong.msghandle.vo.Application.java
com.anlong.msghandle.vo.BroadcastMessage.java
com.anlong.msghandle.vo.DepInfo.java
com.anlong.msghandle.vo.GroupInfo.java
com.anlong.msghandle.vo.GroupShare.java
com.anlong.msghandle.vo.OnlineUser.java
com.anlong.msghandle.vo.ReportState.java
com.anlong.msghandle.vo.SimpleUserInfo.java
com.anlong.msghandle.vo.UserInfo.java
com.anlong.msghandle.vo.UserMessage.java