| 类 | 说明 |
|---|---|
| HeadMapSerializer |
Common serializer of map (this generally refers to header).
|
| ProtocolV1Decoder |
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| magic |Proto| Full length | Head | Msg |Seria|Compr| RequestId |
| code |colVer| (head+body) | Length |Type |lizer|ess | |
+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+
| |
| Head Map [Optional] |
+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+
| |
| body |
| |
|
|
| ProtocolV1Encoder |
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
| magic |Proto| Full length | Head | Msg |Seria|Compr| RequestId |
| code |colVer| (head+body) | Length |Type |lizer|ess | |
+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+
| |
| Head Map [Optional] |
+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+
| |
| body |
| |
|
|
Copyright © 2020 Seata. All rights reserved.