| Package | Description |
|---|---|
| org.apache.drill.exec.rpc | |
| org.apache.drill.exec.rpc.security |
| Modifier and Type | Class and Description |
|---|---|
class |
ChannelClosedException |
class |
NonTransientRpcException |
class |
UserRpcException |
| Modifier and Type | Method and Description |
|---|---|
protected RpcException |
RpcCheckedFuture.mapException(Exception e) |
static RpcException |
RpcException.mapException(String message,
Throwable t) |
static RpcException |
RpcException.mapException(Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractRemoteConnection.channelClosed(RpcException ex)
Called from the RpcBus's channel close handler to close all remaining
resources associated with this connection.
|
void |
RemoteConnection.channelClosed(RpcException ex) |
void |
BaseRpcOutcomeListener.failed(RpcException ex) |
void |
RpcOutcomeListener.failed(RpcException ex)
Called when an error occurred while waiting for the RPC outcome.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
RpcBus.get(ByteBuf pBody,
com.google.protobuf.Parser<T> parser) |
protected abstract com.google.protobuf.MessageLite |
BasicServer.getResponseDefaultInstance(int rpcType) |
protected abstract com.google.protobuf.MessageLite |
RpcBus.getResponseDefaultInstance(int rpcType) |
protected abstract void |
RpcBus.handle(C connection,
int rpcType,
ByteBuf pBody,
ByteBuf dBody,
ResponseSender sender) |
protected void |
BasicServer.handle(SC connection,
int rpcType,
ByteBuf pBody,
ByteBuf dBody,
ResponseSender sender) |
void |
RequestHandler.handle(S connection,
int rpcType,
ByteBuf pBody,
ByteBuf dBody,
ResponseSender sender)
Handle request of given type (rpcType) with message (pBody) and optional data (dBody)
on the connection, and return the appropriate response.
|
protected abstract void |
BasicClient.prepareSaslHandshake(RpcConnectionHandler<CC> connectionHandler,
List<String> serverAuthMechanisms)
Creates various instances needed to start the SASL handshake.
|
protected abstract List<String> |
BasicClient.validateHandshake(HR validateHandshake) |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticationOutcomeListener.failed(RpcException ex) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.