netty之微信-效果展示(一)

支持可热拔插的channelHandler ,心跳与空闲检测,源码

1、启动服务端(运行nettyServer的main方法)

 2、启动客户端(运行nettyclient的main方法),并输入登录用户名登录,如下图:

3、单聊

发送方:

接受方:

4、群聊

(1)、发起群聊,创建群

client:

server:

(2)、群管理(加入、退出、获取群成员列表)

入群者:

(3)、群聊

 

原文地址:https://www.cnblogs.com/shanheyongmu/p/13344498.html