Giter Site home page Giter Site logo

instance-messaging-system's Introduction

java简易即时通讯系统

概述

整个项目分为两个idea项目:Server端Client端,每一个都是独立项目。

没有用到UI编程,输入输出使用的是ScannerSystem.out

有两个界面,初始界面和二级菜单界面。

在初始界面可以进行注册、登录和退出系统,由于没有用到数据库,所以每一次重启系统都需要注册。

登录成功后进入二级菜单,可以显示在线用户列表,群发消息,选择在线用户进行私聊,发送文件和退出功能。

在服务器端可以发通知给全体在线用户,也可以退出发送功能。

所有的通信全部使用的Socket类实现,传送数据使用ObjectInputStreamObjectOutputStream类实现。

java版本为jdk1.8

后期可以优化的方向

  1. 离线留言和离线发文件
  2. 部署数据库
  3. 账号登录限制功能(目前一个账号可以在多个实例中登录,显然这是不合理的)
  4. 可视化操作界面
  5. 发文件时接收方指定保存路径(目前是发送方指定接收方的保存路径)

......

instance-messaging-system's People

Contributors

inori-320 avatar

Watchers

 avatar

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.