Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tywo45 authored May 10, 2017
1 parent ef985d9 commit 7858983
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -52,9 +52,9 @@ t-io是基于jdk aio实现的易学易用、稳定耐操、性能强悍、内置
- 最高时,每秒可以收发500万条消息,约165M

### 对开发人员极体贴的内置功能
- 心跳检测
- 心跳发送
- 各种便捷的绑定API
- **内置心跳检测**
- **内置心跳发送**
- **各种便捷的绑定API**

```
//绑定用户
@@ -69,7 +69,7 @@ Aio.unbindGroup(channelContext);
Aio.unbindGroup(group, channelContext);
```

- 各种便捷的发送API
- **各种便捷的发送API**

```
//组群发
@@ -83,15 +83,15 @@ Aio.sendToUser(groupContext, userid, packet);
// ... ...还有其它常规发送API,不一一列举
```

- 一行代码拥有自动重连功能
- **一行代码拥有自动重连功能**

```
//只需要设置ReconnConf对象即可
ReconnConf<Object, HelloPacket, Object> reconnConf = new ReconnConf<Object, HelloPacket, Object>(5000L);
ClientGroupContext<Object, HelloPacket, Object> clientGroupContext = new ClientGroupContext<>(aioClientHandler, aioListener, reconnConf);
```

- 各项消息统计等功能,全部一键内置搞定,省却各种烦恼
- **各项消息统计等功能,全部一键内置搞定,省却各种烦恼**

```
//某条链路的统计数据

0 comments on commit 7858983

Please sign in to comment.