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

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

内容简介:修改点: 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]


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

查看所有标签

猜你喜欢:

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

Discrete Mathematics and Its Applications

Discrete Mathematics and Its Applications

Kenneth H Rosen / McGraw-Hill Science/Engineering/Math / 2003-04-22 / USD 132.81

Discrete Mathematics and its Applications is a focused introduction to the primary themes in a discrete mathematics course, as introduced through extensive applications, expansive discussion, and deta......一起来看看 《Discrete Mathematics and Its Applications》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具