Class FramingFormatHandler

  • All Implemented Interfaces:
    ChannelHandler, ChannelInboundHandler

    public class FramingFormatHandler
    extends MessageToMessageDecoder<com.datastax.driver.core.Frame>
    A handler to deal with different protocol framing formats.

    This handler detects when a handshake is successful; then, if necessary, adapts the pipeline to the modern framing format introduced in protocol v5.