资源简介
包括了服务器和客户端,android studio2.3开发,聊天界面采用沉浸式页面,类似qq、wechat聊天页面
代码片段和文件信息
package com.yaya.simplechatapp.bean;
import java.io.Serializable;
/**
* 用户对象
*
* @author way
*/
public class User implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private int id;// QQ号码
private String name;// 昵称
private String email;// 邮箱
private String password;// 密码
private int isOnline;// 是否在线
private int img;//头像图标
private String ip;
private int port;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public int getPort() {
return port;
}
public void setPort(int port) {
this.port = port;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public int getIsOnline() {
return isOnline;
}
public void setIsOnline(int isOnline) {
this.isOnline = isOnline;
}
public int getImg() {
return img;
}
public void setImg(int img) {
this.img = img;
}
@Override
public boolean equals(object o) {
if (o instanceof User) {
User user = (User) o;
if (user.getId() == id && user.getIp().equals(ip)
&& user.getPort() == port) {
return true;
}
}
return false;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
.CA.... 301 2019-04-06 16:08 chatServer\.classpath
.CA.... 386 2019-04-06 16:08 chatServer\.project
.CA.... 57 2019-04-06 16:08 chatServer\.settings\org.eclipse.core.resources.prefs
.CA.... 598 2019-04-06 16:08 chatServer\.settings\org.eclipse.jdt.core.prefs
.CA.... 2238 2019-04-06 16:08 chatServer\bin\com\yaya\simplechatapp\bean\User.class
.CA.... 439 2019-04-06 16:08 chatServer\bin\com\yaya\simplechatapp\commutil\Constants.class
.CA.... 2023 2019-04-06 16:08 chatServer\bin\com\yaya\simplechatapp\commutil\DButil.class
.CA.... 910 2019-04-06 16:08 chatServer\bin\com\yaya\simplechatapp\commutil\MyDate.class
.CA.... 761 2019-04-06 16:08 chatServer\bin\com\yaya\simplechatapp\commutil\TextMessage.class
.CA.... 1706 2019-04-06 16:08 chatServer\bin\com\yaya\simplechatapp\commutil\Tranob
.CA.... 1523 2019-04-06 16:08 chatServer\bin\com\yaya\simplechatapp\commutil\Tranob
.CA.... 4508 2019-04-06 16:08 chatServer\bin\com\yaya\simplechatapp\server\InputThread.class
.CA.... 2015 2019-04-06 16:08 chatServer\bin\com\yaya\simplechatapp\server\OutputThread.class
.CA.... 2368 2019-04-06 16:08 chatServer\bin\com\yaya\simplechatapp\server\OutputThreadMap.class
.CA.... 1516 2019-04-06 16:08 chatServer\bin\com\yaya\simplechatapp\server\Server$SocketTask.class
.CA.... 2616 2019-04-06 16:08 chatServer\bin\com\yaya\simplechatapp\server\Server.class
.CA.... 1621 2019-04-06 16:08 chatServer\src\com\yaya\simplechatapp\bean\User.java
.CA.... 409 2019-04-06 16:08 chatServer\src\com\yaya\simplechatapp\commutil\Constants.java
.CA.... 1772 2019-04-06 16:08 chatServer\src\com\yaya\simplechatapp\commutil\DButil.java
.CA.... 591 2019-04-06 16:08 chatServer\src\com\yaya\simplechatapp\commutil\MyDate.java
.CA.... 507 2019-04-06 16:08 chatServer\src\com\yaya\simplechatapp\commutil\TextMessage.java
.CA.... 962 2019-04-06 16:08 chatServer\src\com\yaya\simplechatapp\commutil\Tranob
.CA.... 351 2019-04-06 16:08 chatServer\src\com\yaya\simplechatapp\commutil\Tranob
.CA.... 2835 2019-04-06 16:08 chatServer\src\com\yaya\simplechatapp\server\InputThread.java
.CA.... 1398 2019-04-06 16:08 chatServer\src\com\yaya\simplechatapp\server\OutputThread.java
.CA.... 1220 2019-04-06 16:08 chatServer\src\com\yaya\simplechatapp\server\OutputThreadMap.java
.CA.... 2404 2019-04-06 16:08 chatServer\src\com\yaya\simplechatapp\server\Server.java
.C..... 147 2018-06-02 11:05 SimpleChat\.gitignore
.CA.... 1 2019-04-06 15:59 SimpleChat\.gradle\4.4\fileChanges\last-build.bin
.CA.... 18929 2019-04-05 20:19 SimpleChat\.gradle\4.4\fileContent\annotation-processors.bin
............此处省略1886个文件信息
相关资源
- 本地记事本(MyNotePad)
- unity游戏发布到安卓平台启动时黑屏时
- android-sdk-26
- 第一行代码 Android 第2版-郭霖-人邮
- Android简单的音乐播放器
- android应用开发app设计小游戏————
- Android build-tools 28.0.2
- 安卓Excelwordppt文档读写相关-android平台
- GDAL 2.2.3 android .so库
- Android GPS定位获取经纬度
- android_serialport_api串口通讯demo
- android SDK234287
- 2048游戏代码,可用android studio打开
- 基于Android的图书馆管理系统
- android 应用案例开发大全第三版7\\8章
- android中科大讯飞在线语音合成
- Android开发的贪吃蛇专门用于课程设计
- 蓝牙4.0mesh技术(包含android与ios)
- android开发入门经典案例-适合初学者
- 新闻APP仿今日头条Android小项目
- 食堂菜品管理评价系统Android
- android官方api开发文档英文版
- Android 寻物app 源码
- 新闻客户端.zip
- Android 社交App+java web后台整套源代码
- 基于Android平台的无线点餐系统的设计
- Android从本地服务器获取Mp3实现边下边
- Android二维码扫描的ZBar与ZXing两种封装
- Xamarin.Android 扫描二维码并跳转网页
- android studio 记步demo
评论
共有 条评论