public final class RpcHeaderProtos extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RpcHeaderProtos.RPCCallerContextProto
Used to pass through the call context entry after an RPC is made.
|
static interface |
RpcHeaderProtos.RPCCallerContextProtoOrBuilder |
static class |
RpcHeaderProtos.RpcKindProto
RpcKind determine the rpcEngine and the serialization of the rpc request
|
static class |
RpcHeaderProtos.RpcRequestHeaderProto
the header for the RpcRequest
|
static interface |
RpcHeaderProtos.RpcRequestHeaderProtoOrBuilder |
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 interface |
RpcHeaderProtos.RpcResponseHeaderProtoOrBuilder |
static class |
RpcHeaderProtos.RpcSaslProto
Protobuf type
hadoop.common.RpcSaslProto |
static interface |
RpcHeaderProtos.RpcSaslProtoOrBuilder |
static class |
RpcHeaderProtos.RPCTraceInfoProto
Used to pass through the information necessary to continue
a trace after an RPC is made.
|
static interface |
RpcHeaderProtos.RPCTraceInfoProtoOrBuilder |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.thirdparty.protobuf.Descriptors.FileDescriptor |
getDescriptor() |
static void |
registerAllExtensions(org.apache.hadoop.thirdparty.protobuf.ExtensionRegistry registry) |
static void |
registerAllExtensions(org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite registry) |
public static void registerAllExtensions(org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite registry)
public static void registerAllExtensions(org.apache.hadoop.thirdparty.protobuf.ExtensionRegistry registry)
public static org.apache.hadoop.thirdparty.protobuf.Descriptors.FileDescriptor getDescriptor()
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.