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.request; //from ww w . ja v a2 s . c o m /** * @Title: BaseRequest.java * @Package com.anlongs.msgserver.entity.request * @company ShenZhen anlongs Technology CO.,LTD. * @author anlong * @date 2013-4-17 * @version V1.0 * @Description:??????????? */ public class BaseRequest{ /**?????? ??????????*/ private Integer msgSize; /**?????????*/ private Short bCode; /**??????*/ private Integer key; /**??ID*/ private Integer uid; /**?????????*/ private Byte apId; /**??????????*/ private Integer msgSerial; public Integer getMsgSize() { return msgSize; } public void setMsgSize(Integer msgSize) { this.msgSize = msgSize; } public Short getBCode() { return bCode; } public void setBCode(Short bCode) { this.bCode = bCode; } public Integer getKey() { return key; } public void setKey(Integer key) { this.key = key; } public Integer getUid() { return uid; } public void setUid(Integer uid) { this.uid = uid; } public Byte getApId() { return apId; } public void setApId(Byte apId) { this.apId = apId; } public Integer getMsgSerial() { return msgSerial; } public void setMsgSerial(Integer msgSerial) { this.msgSerial = msgSerial; } /** ??????*/ public void init(Integer msgSize,Short bCode,Integer key,Integer uid,Byte apId,Integer msgSerial){ this.msgSize = msgSize; this.bCode = bCode; this.key = key; this.uid = uid; this.apId = apId; this.msgSerial = msgSerial; } @Override public String toString() { return "BaseRequest [msgSize=" + msgSize + ", bCode=" + bCode + ", key=" + key + ", uid=" + uid + ", apId=" + apId + ", toString()=" + super.toString() + "]"; } }