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
Copyright © 2012–2024. All rights reserved.