mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-14 12:27:18 +00:00
doc[protocol]: 更新文档
This commit is contained in:
+1
-1
@@ -122,7 +122,7 @@ cpu: i9900k
|
||||
}
|
||||
```
|
||||
|
||||
- 第二种使用静态常量+接口:public static final transient short PROTOCOL_ID的"协议序列号",这个协议号的值必须和IPacket接口返回的值一样
|
||||
- 第二种使用静态常量+接口:这个协议号的值必须和IPacket接口返回的值一样,这样的方式可以微弱的提升一点性能
|
||||
```
|
||||
public class SimpleObject implements IPacket {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user