| 接口 | 说明 |
|---|---|
| SofaRpcProto.SofaRpcMetaOrBuilder |
| 类 | 说明 |
|---|---|
| SofaRpcDecodePacket |
Created by huwenwei on 2017/9/23.
|
| SofaRpcEncodePacket |
Created by huwenwei on 2017/9/23.
|
| SofaRpcProto | |
| SofaRpcProto.SofaRpcMeta |
Protobuf type
brpc.policy.SofaRpcMeta |
| SofaRpcProto.SofaRpcMeta.Builder |
Protobuf type
brpc.policy.SofaRpcMeta |
| SofaRpcProtocol |
Notes on SOFA PBRPC Protocol:
Header format is ["SOFA"][
meta_size]
[body_size(64)][message_size(64)],
24 bytes in total
body_size and meta_size are NOT in
network byte order (little endian)
meta of request and response are same, distinguished by SofaRpcMeta#type
sofa-pbrpc does not conduct log_id. |
| SofaRpcProtocolFactory |
| 枚举 | 说明 |
|---|---|
| SofaRpcProto.SofaCompressType |
Protobuf enum
brpc.policy.SofaCompressType |
| SofaRpcProto.SofaRpcMeta.Type |
Protobuf enum
brpc.policy.SofaRpcMeta.Type
Message type. |
Copyright © 2019 Baidu, Inc.. All rights reserved.