public class TarantoolAuthenticationHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.buffer.ByteBuf>
| Constructor and Description |
|---|
TarantoolAuthenticationHandler(CompletableFuture<io.netty.channel.Channel> connectionFuture,
TarantoolVersionHolder versionHolder,
TarantoolCredentials credentials,
TarantoolAuthenticator authenticator)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic TarantoolAuthenticationHandler(CompletableFuture<io.netty.channel.Channel> connectionFuture, TarantoolVersionHolder versionHolder, TarantoolCredentials credentials, TarantoolAuthenticator authenticator)
connectionFuture - future for tracking the authentication progressversionHolder - reads and holds the Tarantool server version received in the greetingcredentials - Tarantool user credentials for authenticationauthenticator - an instance of TarantoolAuthenticator implementing authentication mechanismpublic void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in)
throws Exception
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<io.netty.buffer.ByteBuf>Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionCopyright © 2025 Picodata. All rights reserved.