Coder Social home page Coder Social logo

hspserverclient's Introduction

功能介绍

  • 在韩顺平老师的程序基础上添加了接收离线消息和离线文件的功能,限制了重复登录
  • 一级菜单为
===========欢迎登录网络通信系统===========
		 1 登录系统
		 9 退出系统
  • 二级菜单为
=========网络通信系统二级菜单(用户 100 )=======
		 1 显示在线用户列表
		 2 群发消息
		 3 私聊消息
		 4 发送文件
		 9 退出系统
请输入你的选择: 
  • 服务器端通过设置线程可以进行简单的消息推送
请输入服务器要推送的新闻/消息[输入exit表示退出推送服务线程]

TODO

  • 离线留言,未在线用户登录之后可以收到离线消息(完成)
    • 使用ConcurrentHashMap,key是接受者的id,value是消息的ArrayList
  • 文件传输的目录文件是由发送方指定的,应该改为接收方指定
  • 离线文件,未在线用户登录之后可以收到离线文件(完成)
  • 客户端意外掉线(直接×掉终端窗口),服务器对该用户进行离线处理(完成)
  • 发送文件之前对文件的合法性判定(只简单判定了指定路径文件是否存在)

hspserverclient's People

Contributors

qz-z avatar carlto123 avatar

Watchers

 avatar

Forkers

nature-ul

hspserverclient's Issues

对不对呢?

不对吧?

md都不会用了已经
咋弄公式啊

不弄了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.