Package | Description |
---|---|
org.apache.hadoop.ipc.protobuf |
Modifier and Type | Class and Description |
---|---|
static class |
RpcHeaderProtos.RpcResponseHeaderProto
Rpc Response Header
+------------------------------------------------------------------+
| Rpc total response length in bytes (4 bytes int) |
| (sum of next two parts) |
+------------------------------------------------------------------+
| RpcResponseHeaderProto - serialized delimited ie has len |
+------------------------------------------------------------------+
| if request is successful: |
| - RpcResponse - The actual rpc response bytes follow |
| the response header |
| This response is serialized based on RpcKindProto |
| if request fails : |
| The rpc response header contains the necessary info |
+------------------------------------------------------------------+
Note that rpc response header is also used when connection setup fails.
|
static class |
RpcHeaderProtos.RpcResponseHeaderProto.Builder
Rpc Response Header
+------------------------------------------------------------------+
| Rpc total response length in bytes (4 bytes int) |
| (sum of next two parts) |
+------------------------------------------------------------------+
| RpcResponseHeaderProto - serialized delimited ie has len |
+------------------------------------------------------------------+
| if request is successful: |
| - RpcResponse - The actual rpc response bytes follow |
| the response header |
| This response is serialized based on RpcKindProto |
| if request fails : |
| The rpc response header contains the necessary info |
+------------------------------------------------------------------+
Note that rpc response header is also used when connection setup fails.
|
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.