mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-14 04:16:53 +00:00
doc[protocol]: 优化文档
This commit is contained in:
1 parent
b2b6f6b33c
commit
554b91c2fd
1 file changed
+2
@@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
- 环境要求 **JDK 11+**,可以在 **OpenJDK** 和 **Oracle JDK** 无缝切换
|
- 环境要求 **JDK 11+**,可以在 **OpenJDK** 和 **Oracle JDK** 无缝切换
|
||||||
|
|
||||||
|
- protocol是独立项目,不依赖其它项目,可以直接打开,本地install到自己的本地maven仓库,即可单独使用
|
||||||
|
|
||||||
```
|
```
|
||||||
// zfoo协议注册,只能初始化一次
|
// zfoo协议注册,只能初始化一次
|
||||||
ProtocolManager.initProtocol(Set.of(ComplexObject.class, ObjectA.class, ObjectB.class));
|
ProtocolManager.initProtocol(Set.of(ComplexObject.class, ObjectA.class, ObjectB.class));
|
||||||
|
|||||||
Reference in new issue
Block a user