GithubHelp home page GithubHelp logo

guoran890210 / im_platform Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 295963611/im_platform

0.0 0.0 0.0 356 KB

使用springboot + netty + rabbitmq 等 来实现一套im程序

Java 93.86% HTML 6.14%

im_platform's Introduction

im_platform

使用springboot + netty + rabbitmq 等 来实现一套im程序

该项目初心 实现一套开源IM供大家使用 自己也从这个项目中巩固以及学习新的知识

项目布局

  • im-control 主要用于im 控制层 用于交互
    • im-stage
  • im-core im主要业务实现
  • im-domain im持久化model mapper
  • im-utils 一些工具类实现

该项目才用netty 实现即时通讯 使用spring 进行管理 以下对核心类进行说明

  • WbWebNettyServer websocket 服务启动类 用于主线程工作线程以及端口
  • WbNettyServer socket 服务启动类 用于主线程工作线程以及端口
    这边是把websocks 以及socket 分为2个端口启动
  • WbMessageAdapter 业务适配器 用于识别消息进入不同的业务处理 ,以及适配器注册
  • IWbMessageService 业务接口 主要业务实现
    • WbLoginTokenService 登陆im服务
    • WbMessageService 消息收发服务
    • WbHeartBeatService 心跳服务

测试页面在 chat.html 初始化2个账户

im_platform's People

Contributors

295963611 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.