com.twitter.finagle.redis.naggati

Codec

class Codec[A] extends FrameDecoder with ChannelDownstreamHandler

A netty ChannelHandler for decoding data into protocol objects on the way in, and packing objects into byte arrays on the way out. Optionally, the bytes in/out are tracked.

Linear Supertypes
ChannelDownstreamHandler, FrameDecoder, LifeCycleAwareChannelHandler, SimpleChannelUpstreamHandler, ChannelUpstreamHandler, ChannelHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Codec
  2. ChannelDownstreamHandler
  3. FrameDecoder
  4. LifeCycleAwareChannelHandler
  5. SimpleChannelUpstreamHandler
  6. ChannelUpstreamHandler
  7. ChannelHandler
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Codec(firstStage: Stage, encoder: Encoder[A])(implicit arg0: Manifest[A])

  2. new Codec(firstStage: Stage, encoder: Encoder[A], bytesReadCounter: (Int) ⇒ Unit, bytesWrittenCounter: (Int) ⇒ Unit)(implicit arg0: Manifest[A])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def actualReadableBytes(): Int

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  7. def afterAdd(arg0: ChannelHandlerContext): Unit

    Definition Classes
    FrameDecoder → LifeCycleAwareChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  8. def afterRemove(arg0: ChannelHandlerContext): Unit

    Definition Classes
    FrameDecoder → LifeCycleAwareChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  9. def appendToCumulation(arg0: ChannelBuffer): ChannelBuffer

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def beforeAdd(arg0: ChannelHandlerContext): Unit

    Definition Classes
    FrameDecoder → LifeCycleAwareChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  12. def beforeRemove(arg0: ChannelHandlerContext): Unit

    Definition Classes
    FrameDecoder → LifeCycleAwareChannelHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  13. def channelBound(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  14. def channelClosed(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    FrameDecoder → SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  15. def channelConnected(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  16. def channelDisconnected(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    FrameDecoder → SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  17. def channelInterestChanged(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  18. def channelOpen(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  19. def channelUnbound(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  20. def childChannelClosed(arg0: ChannelHandlerContext, arg1: ChildChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  21. def childChannelOpen(arg0: ChannelHandlerContext, arg1: ChildChannelStateEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  22. def cleanup(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
    Annotations
    @throws( classOf[java.lang.Exception] )
  23. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def decode(context: ChannelHandlerContext, channel: Channel, buffer: ChannelBuffer): AnyRef

    Definition Classes
    Codec → FrameDecoder
    Annotations
    @tailrec()
  25. def decodeLast(arg0: ChannelHandlerContext, arg1: Channel, arg2: ChannelBuffer): AnyRef

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
    Annotations
    @throws( classOf[java.lang.Exception] )
  26. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  28. def exceptionCaught(arg0: ChannelHandlerContext, arg1: ExceptionEvent): Unit

    Definition Classes
    FrameDecoder → SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  29. def extractFrame(arg0: ChannelBuffer, arg1: Int, arg2: Int): ChannelBuffer

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  30. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  32. final def getMaxCumulationBufferCapacity(): Int

    Definition Classes
    FrameDecoder
  33. final def getMaxCumulationBufferComponents(): Int

    Definition Classes
    FrameDecoder
  34. final def handleDownstream(context: ChannelHandlerContext, event: ChannelEvent): Unit

    Definition Classes
    Codec → ChannelDownstreamHandler
  35. def handleUpstream(arg0: ChannelHandlerContext, arg1: ChannelEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler → ChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  36. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  37. def internalBuffer(): ChannelBuffer

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  38. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  39. final def isUnfold(): Boolean

    Definition Classes
    FrameDecoder
  40. def messageReceived(arg0: ChannelHandlerContext, arg1: MessageEvent): Unit

    Definition Classes
    FrameDecoder → SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  41. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. def newCumulationBuffer(arg0: ChannelHandlerContext, arg1: Int): ChannelBuffer

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  43. final def notify(): Unit

    Definition Classes
    AnyRef
  44. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  45. def pipelineFactory: ChannelPipelineFactory

  46. def replace(arg0: String, arg1: ChannelHandler): Unit

    Definition Classes
    FrameDecoder
  47. final def setMaxCumulationBufferCapacity(arg0: Int): Unit

    Definition Classes
    FrameDecoder
  48. final def setMaxCumulationBufferComponents(arg0: Int): Unit

    Definition Classes
    FrameDecoder
  49. final def setUnfold(arg0: Boolean): Unit

    Definition Classes
    FrameDecoder
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. def toString(): String

    Definition Classes
    AnyRef → Any
  52. final def unfoldAndFireMessageReceived(arg0: ChannelHandlerContext, arg1: SocketAddress, arg2: Any): Unit

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  53. def updateCumulation(arg0: ChannelHandlerContext, arg1: ChannelBuffer): ChannelBuffer

    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
  54. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. def writeComplete(arg0: ChannelHandlerContext, arg1: WriteCompletionEvent): Unit

    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )

Inherited from ChannelDownstreamHandler

Inherited from FrameDecoder

Inherited from LifeCycleAwareChannelHandler

Inherited from SimpleChannelUpstreamHandler

Inherited from ChannelUpstreamHandler

Inherited from ChannelHandler

Inherited from AnyRef

Inherited from Any

Ungrouped