public class FramingFormatHandler extends io.netty.handler.codec.MessageToMessageDecoder<com.datastax.driver.core.Frame>
This handler detects when a handshake is successful; then, if necessary, adapts the pipeline to the modern framing format introduced in protocol v5.
Modifier and Type | Method and Description |
---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
com.datastax.driver.core.Frame frame,
List<Object> out) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
protected void decode(io.netty.channel.ChannelHandlerContext ctx, com.datastax.driver.core.Frame frame, List<Object> out) throws Exception
decode
in class io.netty.handler.codec.MessageToMessageDecoder<com.datastax.driver.core.Frame>
Exception
Copyright © 2012–2023. All rights reserved.