public class FramingFormatHandler extends 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.
ChannelHandler.Sharable| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(ChannelHandlerContext ctx,
com.datastax.driver.core.Frame frame,
List<Object> out) |
acceptInboundMessage, channelRead, channelReadCompletechannelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerAdded, handlerRemovedprotected void decode(ChannelHandlerContext ctx, com.datastax.driver.core.Frame frame, List<Object> out) throws Exception
decode in class MessageToMessageDecoder<com.datastax.driver.core.Frame>ExceptionCopyright © 2012–2026. All rights reserved.