| 接口 | 说明 |
|---|---|
| CodecAdapter |
Protocol Interface,for custom network protocol
|
| Protocol<T> |
Protocol Interface,for custom network protocol
|
| ProtocolConstants |
各种常量
一个RSF数据包头的定义如下:
第 1 个二进制位:表示是否为 RSF 数据包,合法的数据为 0x80 (1000 0000)
第 2 ~ 4 个二进制位:表示数据包的分类,加上包头合法的数据为 0x80 ~ 0xF0 (1000 0000 ~ 1111 0000)
最后的 4 个二进制位,用于表示该分类包的版本。
|
| 类 | 说明 |
|---|---|
| CodecAdapterFactory |
Protocol Interface,for custom network protocol
|
| RsfDecoder |
RSF 解码器
|
| RsfEncoder | |
| RsfProtocolHandler |
RSF 解码器
|
| ShakeHands |
RSF 握手协议实现
|
Copyright © 2020–2021. All rights reserved.