t-io 2.4.0 发布, 不仅仅是百万级 TCP 长连接框架

栏目: 软件资讯 · 发布时间: 7年前

内容简介:修改点: 1、AioHandler.decode(ByteBuffer buffer, ChannelContext channelContext)方法签名改成AioHandler.decode(ByteBuffer buffer, int limit, int position, int readableLength, ChannelContext channelC...

修改点:

1、AioHandler.decode(ByteBuffer buffer, ChannelContext channelContext)方法签名改成AioHandler.decode(ByteBuffer buffer, int limit, int position, int readableLength, ChannelContext channelContext),就是加了几个参数,各位更新版本后,你的代码会有一个地方报错,加上这几个参数就可以了。

2、org.tio.websocket.server.handler.IWsMsgHandler增加onAfterHandshaked(HttpRequest httpRequest, HttpResponse httpResponse, ChannelContext channelContext),让用户在握手完成后可以做一些初始化工作

3、tio-websocket-server的文档:https://t-io.org/blog/index.html?p=%2Fblog%2Ftio%2Fws%2Fshowcase.html

4、tio-websocket-server的showcase工程:https://gitee.com/tywo45/tio-websocket-showcase。展示tio-websocket的用法,t-io官方提供的唯一tio-websocket示范教程,包括wss和监控等高级特性

5、tio-websocket-server的showcase工程在线演示:https://t-io.org/ws-showcase/index.html

6、其它各种修改,譬如j2cache、jfinal、hutool等框架的升级,tio-core日志的优化,不一一列举

最新pom:

<dependency>
    <groupid>org.t-io</groupid>
    <artifactid>tio-core</artifactid>
    <version>2.4.0.v20180508-RELEASE</version>
</dependency>

新闻播报:
继游戏(如贝密游戏)、IM(如j-im)、监控(太多了,一般不开源)、物联网(譬如氦氪云)等领域使用t-io后,最近又发现某开源区块链项目也在使用t-io,大家可以围观一下:https://gitee.com/tianyalei/md_blockchain


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Algorithms Illuminated (Part 2)

Algorithms Illuminated (Part 2)

Tim Roughgarden / Soundlikeyourself Publishing, LLC / 2018-8-5 / USD 17.99

Algorithms are the heart and soul of computer science. Their applications range from network routing and computational genomics to public-key cryptography and machine learning. Studying algorithms can......一起来看看 《Algorithms Illuminated (Part 2)》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具