Android Open Source - android-qq Msg






From Project

Back to project page android-qq.

License

The source code is released under:

Apache License

If you think the Android project android-qq 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.myandroid.util;
//ww  w.ja v  a  2  s  . co  m
import java.io.Serializable;

public class Msg implements Serializable {
  private final String edition = "version0";// ????
  private long packId;//????
  private String sendUser;// ?????? ????
  private String sendUserIp;// ??????ip
  private String receiveUser;// ??????
  private String receiveUserIp;//??????IP
  private int headIconPos;//???
  private int MsgType;// ???????
  private Object body;// ????
  
  public int getHeadIconPos() {
    return headIconPos;
  }
  public void setHeadIconPos(int headIconPos) {
    this.headIconPos = headIconPos;
  }
  public Msg (){}
  public Msg(int headIconPos,String sendUser, String sendUserIp, String receiveUser,
      String receiveIp, int msgType, Object body) {
    super();
    this.headIconPos=headIconPos;
    this.sendUser = sendUser;
    this.sendUserIp = sendUserIp;
    this.receiveUser = receiveUser;
    this.receiveUserIp = receiveIp;
    MsgType = msgType;
    this.body = body;
  }
  
  public long getPackId() {
    return packId;
  }
  public void setPackId(long packId) {
    this.packId = packId;
  }
  public String getReceiveUserIp() {
    return receiveUserIp;
  }
  public void setReceiveUserIp(String receiveUserIp) {
    this.receiveUserIp = receiveUserIp;
  }
  public String getSendUser() {
    return sendUser;
  }
  public void setSendUser(String sendUser) {
    this.sendUser = sendUser;
  }
  public String getSendUserIp() {
    return sendUserIp;
  }
  public void setSendUserIp(String sendUserIp) {
    this.sendUserIp = sendUserIp;
  }
  public String getReceiveUser() {
    return receiveUser;
  }
  public void setReceiveUser(String receiveUser) {
    this.receiveUser = receiveUser;
  }
  public int getMsgType() {
    return MsgType;
  }
  public void setMsgType(int msgType) {
    MsgType = msgType;
  }
  public Object getBody() {
    return body;
  }
  public void setBody(Object body) {
    this.body = body;
  }
  public String getEdition() {
    return edition;
  }



  
}




Java Source Code List

com.myandroid.activity.ChatActivity.java
com.myandroid.activity.FileAcitivity.java
com.myandroid.activity.MainActivity.java
com.myandroid.activity.MediaDialog.java
com.myandroid.activity.SettingDialog.java
com.myandroid.util.Audio.java
com.myandroid.util.FileTcpClient.java
com.myandroid.util.FileTcpServer.java
com.myandroid.util.MediaTcpClient.java
com.myandroid.util.MediaTcpServer.java
com.myandroid.util.Media.java
com.myandroid.util.Msg.java
com.myandroid.util.Tools.java
com.myandroid.util.User.java