package com.rndchina.aisin.util;

/**
 * <code>Constants.java<code/>
 * <p>
 * 功能：公共的常量类
 * <p>
 * Copyright 神州锐达 2014 All right reserved.
 * 
 * @Author: Brain.Hou,2014年3月4日上午11:11:43
 */
public class Constants {

	/**
	 * code的成功值
	 */
	public final static int succeed = 0;

	/**
	 * code的失败值
	 */
	public final static int fail = 1;

	/**
	 * 成功字符串
	 */
	public final static String success = "success";

	/**
	 * 失败字符串
	 */
	public final static String failstr = "fail";

	/**
	 * XMPP服务器的访问地址
	 */
	public final static String xmpp_server_host = "192.168.1.78";

	/**
	 * XMPP服务器的端口号
	 */
	public final static String xmpp_port = "5222";

	/**
	 * XMPP服务器的默认后缀
	 */
	public final static String xmpp_domain = "rndchina.com";

	/**
	 * 数字0
	 */
	public final static int zero = 0;

	/**
	 * 数字1
	 */
	public final static int one = 1;

	/**
	 * 数字2
	 */
	public final static int two = 2;

	/**
	 * 短信头
	 */
	public final static String smsContentHead = "您正在申请爱信账号，您的验证码为：";

	/**
	 * 短信尾
	 */
	public final static String smsContentFoot = "，五分钟内有效。【神州锐达】";

	/**
	 * 上传图片的类型(头像图片)
	 */
	public final static String head = "_head";

	/**
	 * 上传图片的类型(伙伴圈背景图片)
	 */
	public final static String backdrop = "_backdrop";

	/**
	 * 我的相册
	 */
	public final static String myphoto = "_myphoto";

	/**
	 * 朋友圈每页返回pagesize
	 */
	public final static int pageSize = 10;

	/**
	 * 附近的人默认半径
	 */
	public final static int raidus = 1000;
}
