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; /*from w ww . ja v a 2 s . com*/ import java.io.Serializable; /** * @Title: BaseMessage.java * @Package com.anlong.msghandle.common * @company ShenZhen AnLong Technology CO.,LTD. * @author lixl * @date 2014-3-12 ????5:28:19 * @version V1.0 * @Description: ????????????????????? */ public class BaseMessage implements Serializable{ private static final long serialVersionUID = 1L; /**?????? ??????????*/ private Integer msgSize; /**?????????*/ private Integer bCode; /**??????*/ private Integer key; /**??ID*/ private Integer uid; /**?????*/ private Short rtCode; /**??????*/ private String rtMsg; public Integer getMsgSize() { return msgSize; } public void setMsgSize(Integer msgSize) { this.msgSize = msgSize; } public Integer getBCode() { return bCode; } public void setBCode(Integer bCode) { this.bCode = bCode; } public Integer getUid() { return uid; } public void setUid(Integer uid) { this.uid = uid; } public Integer getKey() { return key; } public void setKey(Integer key) { this.key = key; } public Short getRtCode() { return rtCode; } public void setRtCode(Short rtCode) { this.rtCode = rtCode; } public String getRtMsg() { return rtMsg; } public void setRtMsg(String rtMsg) { this.rtMsg = rtMsg; } /** ????????*/ public void init(Integer msgSize,Integer bCode,Integer key,Integer uid,Short rtCode,String rtMsg){ this.msgSize = msgSize; this.bCode = bCode; this.key = key; this.uid = uid; this.rtCode = rtCode; this.rtMsg = rtMsg; } @Override public String toString() { return "BaseMessage [bCode=" + bCode + ", key=" + key + ", msgSize=" + msgSize + ", rtCode=" + rtCode + ", rtMsg=" + rtMsg + ", uid=" + uid + "]"; } }