doc[protocol]: update document

This commit is contained in:
godotg committed 2023-10-28 09:26:54 +08:00
1 parent 75f76e00c6
commit 918c16853c
2 files changed
-5

No files matched your search

-3
View File
@@ -17,9 +17,6 @@ English | [简体中文](./README_CN.md)
- Environment requirement **JDK 17+**, support **OpenJDK**, **Oracle JDK** and **native GraalVM**
- Protocol is an independent project, does not depend on other projects, can be directly opened, locally installed to
its own local maven repository, can be used alone
```
// The zfoo protocol is registered and can only be initialized once
ProtocolManager.initProtocol(Set.of(ComplexObject.class, ObjectA.class, ObjectB.class));
-2
View File
@@ -11,8 +11,6 @@
- 环境要求**JDK 17+**,支持**OpenJDK**, **Oracle JDK**, **native GraalVM**
- protocol是独立项目,不依赖其它项目,可以直接打开,本地install到自己的本地maven仓库,即可单独使用
```
// zfoo协议注册,只能初始化一次
ProtocolManager.initProtocol(Set.of(ComplexObject.class, ObjectA.class, ObjectB.class));