@InterfaceAudience.Private class NettyServerRpcConnection extends ServerRpcConnection
| Modifier and Type | Field and Description |
|---|---|
(package private) org.apache.hbase.thirdparty.io.netty.channel.Channel |
channel |
addr, authenticatedWithFallback, authMethod, callCleanup, codec, compressionCodec, connectionHeader, connectionHeaderRead, cryptoAES, hostAddress, remotePort, retryImmediatelySupported, rpcServer, saslContextEstablished, saslServer, service, skipInitialSaslHandshake, ugi, useCryptoAesWrap, user, useSasl, useWrap| Constructor and Description |
|---|
NettyServerRpcConnection(NettyRpcServer rpcServer,
org.apache.hbase.thirdparty.io.netty.channel.Channel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
NettyServerCall |
createCall(int id,
org.apache.hbase.thirdparty.com.google.protobuf.BlockingService service,
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md,
org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.RequestHeader header,
org.apache.hbase.thirdparty.com.google.protobuf.Message param,
CellScanner cellScanner,
long size,
InetAddress remoteAddress,
int timeout,
RpcServer.CallCleanup reqCleanup) |
protected void |
doRespond(RpcResponse resp) |
boolean |
isConnectionOpen() |
(package private) void |
process(org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf buf) |
(package private) void |
process(ByteBuff buf) |
(package private) void |
process(ByteBuffer buf) |
disposeSasl, doRawSaslReply, getErrorResponse, getHostAddress, getHostInetAddress, getRemotePort, getVersionInfo, processOneRpc, processPreamble, processRequest, saslReadAndProcess, toStringfinal org.apache.hbase.thirdparty.io.netty.channel.Channel channel
NettyServerRpcConnection(NettyRpcServer rpcServer, org.apache.hbase.thirdparty.io.netty.channel.Channel channel)
void process(org.apache.hbase.thirdparty.io.netty.buffer.ByteBuf buf) throws IOException, InterruptedException
IOExceptionInterruptedExceptionvoid process(ByteBuffer buf) throws IOException, InterruptedException
IOExceptionInterruptedExceptionvoid process(ByteBuff buf) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void close()
public boolean isConnectionOpen()
isConnectionOpen in class ServerRpcConnectionpublic NettyServerCall createCall(int id, org.apache.hbase.thirdparty.com.google.protobuf.BlockingService service, org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md, org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.RequestHeader header, org.apache.hbase.thirdparty.com.google.protobuf.Message param, CellScanner cellScanner, long size, InetAddress remoteAddress, int timeout, RpcServer.CallCleanup reqCleanup)
createCall in class ServerRpcConnectionprotected void doRespond(RpcResponse resp)
doRespond in class ServerRpcConnectionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.