Package org.apache.drill.exec.rpc
Class AbstractClientConnection
java.lang.Object
org.apache.drill.exec.rpc.AbstractRemoteConnection
org.apache.drill.exec.rpc.AbstractClientConnection
- All Implemented Interfaces:
AutoCloseable,ClientConnection,ConnectionThrottle,EncryptionContext,RemoteConnection
- Direct Known Subclasses:
DataClientConnection,UserClient.UserToBitConnection
public abstract class AbstractClientConnection
extends AbstractRemoteConnection
implements ClientConnection
-
Field Summary
Fields inherited from class org.apache.drill.exec.rpc.AbstractRemoteConnection
saslCodec -
Constructor Summary
ConstructorsConstructorDescriptionAbstractClientConnection(io.netty.channel.socket.SocketChannel channel, String name) AbstractClientConnection(io.netty.channel.socket.SocketChannel channel, String name, EncryptionContext encryptContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected abstract org.slf4j.LoggervoidsetSaslClient(SaslClient saslClient) Methods inherited from class org.apache.drill.exec.rpc.AbstractRemoteConnection
addSecurityHandlers, blockOnNotWritable, close, createNewRpcListener, decConnectionCounter, getAndRemoveRpcOutcome, getChannel, getEncryptionCtxtString, getMaxWrappedSize, getName, getRemoteAddress, getWrapSizeLimit, incConnectionCounter, inEventLoop, isActive, isEncryptionEnabled, recordRemoteFailure, setAutoRead, setEncryption, setMaxWrappedSize, setWrapSizeLimitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.drill.exec.rpc.ConnectionThrottle
setAutoReadMethods inherited from interface org.apache.drill.exec.rpc.EncryptionContext
getEncryptionCtxtString, getMaxWrappedSize, getWrapSizeLimit, isEncryptionEnabled, setEncryption, setMaxWrappedSize, setWrapSizeLimitMethods inherited from interface org.apache.drill.exec.rpc.RemoteConnection
addSecurityHandlers, blockOnNotWritable, close, createNewRpcListener, getAllocator, getAndRemoveRpcOutcome, getChannel, getName, getRemoteAddress, inEventLoop, isActive, recordRemoteFailure
-
Constructor Details
-
AbstractClientConnection
public AbstractClientConnection(io.netty.channel.socket.SocketChannel channel, String name, EncryptionContext encryptContext) -
AbstractClientConnection
-
-
Method Details
-
getLogger
protected abstract org.slf4j.Logger getLogger() -
setSaslClient
- Specified by:
setSaslClientin interfaceClientConnection
-
getSaslClient
- Specified by:
getSaslClientin interfaceClientConnection
-
disposeSaslClient
public void disposeSaslClient()- Specified by:
disposeSaslClientin interfaceClientConnection
-
channelClosed
- Specified by:
channelClosedin interfaceRemoteConnection- Overrides:
channelClosedin classAbstractRemoteConnection
-