All Projects → binggu1993 → mqttserver

binggu1993 / mqttserver

Licence: other
基于netty实现mqtt协议 服务器端开发

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to mqttserver

Scalecube Services
v2.0 - ScaleCube Services provides a low latency Reactive Microservices library for serverless service registry and discovery based on gossip protocol and without single point-of-failure or bottlenecks.
Stars: ✭ 23 (-36.11%)
Mutual labels:  netty4
Jupiter
Jupiter是一款性能非常不错的, 轻量级的分布式服务框架
Stars: ✭ 1,372 (+3711.11%)
Mutual labels:  netty4
Netty 4 User Guide
Chinese translation of Netty 4.x User Guide. 中文翻译《Netty 4.x 用户指南》
Stars: ✭ 2,061 (+5625%)
Mutual labels:  netty4
Public class
卜凡学院公开课
Stars: ✭ 9 (-75%)
Mutual labels:  netty4
Javacore
Java程序员所需要掌握的核心知识: 集合框架&JVM机制&多线程与并发框架&网络协议&Spring&Dubbo&MySQL&微服务等;希望胖友小手一抖,右上角来个 Star,感恩 1024
Stars: ✭ 73 (+102.78%)
Mutual labels:  netty4
Fpush
📶即时消息推送服务(即时通讯),基于Netty+protobuf-- Instant Messaging push service based on Netty+protobuf
Stars: ✭ 134 (+272.22%)
Mutual labels:  netty4
Blade
🚀 Lightning fast and elegant mvc framework for Java8
Stars: ✭ 5,569 (+15369.44%)
Mutual labels:  netty4
Xproxy
reverse proxy implement in java
Stars: ✭ 20 (-44.44%)
Mutual labels:  netty4
Pangolin
轻量级内网穿透工具, 基于Java8,netty4.x实现,开箱即用,可转发基于TCP的应用层数据流,例如HTTP/HTTPS,SSH
Stars: ✭ 84 (+133.33%)
Mutual labels:  netty4
Tesla
Tesla is a gateway service that provides dynamic routing,waf,support spring cloud,gRPC,DUBBO and more.
Stars: ✭ 161 (+347.22%)
Mutual labels:  netty4
Nioimapclient
High performance, async IMAP client implementation
Stars: ✭ 28 (-22.22%)
Mutual labels:  netty4
Dorado
基于Netty4开发的简单、轻量级、高性能的的Http restful api server
Stars: ✭ 65 (+80.56%)
Mutual labels:  netty4
Camellia
camellia framework by netease-im. provider: 1) redis-client; 2) redis-proxy(redis-sentinel/redis-cluster); 3) hbase-client; 4) others
Stars: ✭ 146 (+305.56%)
Mutual labels:  netty4
Cicada
🚀 Fast lightweight HTTP service framework.
Stars: ✭ 851 (+2263.89%)
Mutual labels:  netty4
Shadowsocks Java
shadowsocks server base on netty4 , tcp & udp full support,
Stars: ✭ 236 (+555.56%)
Mutual labels:  netty4
Inchat
一个轻量级、高效率的支持多端(应用与硬件Iot)的可分布式、异步网络应用通讯框架
Stars: ✭ 654 (+1716.67%)
Mutual labels:  netty4
Ratel
命令行斗地主!
Stars: ✭ 1,696 (+4611.11%)
Mutual labels:  netty4
netty-transport-purejavacomm
A netty serial pipeline using JNA and PureJavaComm
Stars: ✭ 30 (-16.67%)
Mutual labels:  netty4
DovakinMQ
MQTT broker for java based on Netty
Stars: ✭ 14 (-61.11%)
Mutual labels:  netty4
Sctalk
基于spring cloud + Netty实现的聊天,兼容蘑菇街TeamTalk客户端,配合hazelcast提供消息服务器集群功能,同时支持socket和websocket.
Stars: ✭ 153 (+325%)
Mutual labels:  netty4

mqttserver,基于netty 4.1.1,可解码http、mqtt协议请求。

项目包括:
1.基于netty绑定端口监听,对于mqtt消息和http请求消息分别绑定不同的监听端口;
2.在MQTTServerInitializer中,分别添加mqtt编码解码器和http编码解码器,并分别将自定义的mqtt消息处理handle类和http消息handle类添加到信道中。添加心跳监听
3.在MQTTServerHandler中实现对mqtt消息的自定义处理。该handle类中处理包含内容:

对长链接通道建立clientid-channel内存缓存;

客户端接入时的在线状态处理;

对于不同类型的mqtt消息的分发处理;

连接断开时,客户端的离线状态处理;

心跳超时处理;

消息发布/订阅处理;

4.HttpServerHandler类实现对http消息的自定义处理。该handle类包含以下内容:

对一次完整的http请求进行解码然后处理该请求。

本项目采用log4j2管理日志。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].