Package org.apache.drill.exec.rpc
Interface ServerConnection<S extends ServerConnection<S>>
- All Superinterfaces:
AutoCloseable,ConnectionThrottle,EncryptionContext,RemoteConnection
- All Known Implementing Classes:
AbstractServerConnection,ControlConnection,DataServerConnection,UserServer.BitToUserConnection
public interface ServerConnection<S extends ServerConnection<S>>
extends RemoteConnection, EncryptionContext
-
Method Summary
Modifier and TypeMethodDescriptionvoidchangeHandlerTo(RequestHandler<S> handler) voidvoidvoidinitSaslServer(String mechanismName) Methods 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, channelClosed, close, createNewRpcListener, getAllocator, getAndRemoveRpcOutcome, getChannel, getName, getRemoteAddress, inEventLoop, isActive, recordRemoteFailure
-
Method Details
-
initSaslServer
- Throws:
IOException
-
getSaslServer
SaslServer getSaslServer() -
finalizeSaslSession
- Throws:
IOException
-
getCurrentHandler
RequestHandler<S> getCurrentHandler() -
changeHandlerTo
-
disposeSaslServer
void disposeSaslServer()
-