Frame.Decoder (apache-cassandra API)
Date: 2014-10-21

org.apache.cassandra.transport

## Class Frame.Decoder

- java.lang.Object
- - io.netty.channel.ChannelHandlerAdapter
  - - io.netty.channel.ChannelInboundHandlerAdapter
    - - io.netty.handler.codec.ByteToMessageDecoder
      - - org.apache.cassandra.transport.Frame.Decoder

- All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
  Enclosing class:
    Frame

      public static class Frame.Decoder
      extends io.netty.handler.codec.ByteToMessageDecoder

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

      `io.netty.channel.ChannelHandler.Sharable`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Frame.Decoder(Connection.Factory factory)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `decode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf buffer, java.util.List<java.lang.Object> results)`

    - ### Methods inherited from class io.netty.handler.codec.ByteToMessageDecoder

      `actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setSingleDecode`

    - ### Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

      `channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered`

    - ### Methods inherited from class io.netty.channel.ChannelHandlerAdapter

      `handlerAdded, isSharable`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface io.netty.channel.ChannelHandler

      `handlerAdded`

- - ### Constructor Detail

    - #### Frame.Decoder

          public Frame.Decoder(Connection.Factory factory)

  - ### Method Detail

    - #### decode

          protected void decode(io.netty.channel.ChannelHandlerContext ctx,
                    io.netty.buffer.ByteBuf buffer,
                    java.util.List<java.lang.Object> results)
                         throws java.lang.Exception

      Specified by:
        `decode` in class `io.netty.handler.codec.ByteToMessageDecoder`
      Throws:
        `java.lang.Exception`

Copyright © 2014 The Apache Software Foundation