Class

com.twitter.finagle.memcached.protocol.text.server

Decoder

Related Doc: package server

Permalink

class Decoder extends AbstractDecoder with StateMachine

Linear Supertypes
StateMachine, AbstractDecoder, FrameDecoder, LifeCycleAwareChannelHandler, SimpleChannelUpstreamHandler, ChannelUpstreamHandler, ChannelHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Decoder
  2. StateMachine
  3. AbstractDecoder
  4. FrameDecoder
  5. LifeCycleAwareChannelHandler
  6. SimpleChannelUpstreamHandler
  7. ChannelUpstreamHandler
  8. ChannelHandler
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Decoder(storageCommands: scala.collection.Set[ChannelBuffer])

    Permalink

Type Members

  1. case class AwaitingCommand() extends State with Product with Serializable

    Permalink
  2. case class AwaitingData(tokens: Seq[ChannelBuffer], bytesNeeded: Int) extends State with Product with Serializable

    Permalink
  3. abstract class State extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    StateMachine

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def actualReadableBytes(): Int

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

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

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

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

    Permalink
    Definition Classes
    Any
  9. final def awaitData(tokens: Seq[ChannelBuffer], bytesNeeded: Int): Unit

    Permalink
    Attributes
    protected[com.twitter.finagle.memcached]
    Definition Classes
    DecoderAbstractDecoder
  10. def beforeAdd(arg0: ChannelHandlerContext): Unit

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

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

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

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

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

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

    Permalink
    Definition Classes
    SimpleChannelUpstreamHandler
    Annotations
    @throws( classOf[java.lang.Exception] )
  17. def channelOpen(ctx: ChannelHandlerContext, e: ChannelStateEvent): Unit

    Permalink
    Definition Classes
    AbstractDecoder → SimpleChannelUpstreamHandler
  18. def channelUnbound(arg0: ChannelHandlerContext, arg1: ChannelStateEvent): Unit

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def decode(ctx: ChannelHandlerContext, channel: Channel, buffer: ChannelBuffer): Decoding

    Permalink
    Definition Classes
    Decoder → FrameDecoder
  24. def decodeData(bytesNeeded: Int, buffer: ChannelBuffer)(continue: (ChannelBuffer) ⇒ Decoding): Decoding

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractDecoder
  25. def decodeLast(arg0: ChannelHandlerContext, arg1: Channel, arg2: ChannelBuffer): AnyRef

    Permalink
    Attributes
    protected[org.jboss.netty.handler.codec.frame]
    Definition Classes
    FrameDecoder
    Annotations
    @throws( classOf[java.lang.Exception] )
  26. def decodeLine(buffer: ChannelBuffer, needsData: (Seq[ChannelBuffer]) ⇒ Int)(continue: (Seq[ChannelBuffer]) ⇒ Decoding): Decoding

    Permalink

    needsData

    return the number of bytes needed, or -1 if no more bytes are necessary.

    Attributes
    protected
    Definition Classes
    AbstractDecoder
  27. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. def exceptionCaught(ctx: ChannelHandlerContext, e: ExceptionEvent): Unit

    Permalink
    Definition Classes
    DecoderAbstractDecoder → FrameDecoder → SimpleChannelUpstreamHandler
  30. def extractFrame(arg0: ChannelBuffer, arg1: Int, arg2: Int): ChannelBuffer

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

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

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

    Permalink
    Definition Classes
    FrameDecoder
  34. final def getMaxCumulationBufferComponents(): Int

    Permalink
    Definition Classes
    FrameDecoder
  35. def handleUpstream(arg0: ChannelHandlerContext, arg1: ChannelEvent): Unit

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  45. def replace(arg0: String, arg1: ChannelHandler): Unit

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

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

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

    Permalink
    Definition Classes
    FrameDecoder
  49. final def start(): Unit

    Permalink
    Attributes
    protected[com.twitter.finagle.memcached]
    Definition Classes
    DecoderAbstractDecoder
  50. var state: State

    Permalink
    Attributes
    protected
    Definition Classes
    StateMachine
  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  52. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  53. def transition[A](command: String)(f: PartialFunction[State, A]): A

    Permalink
    Attributes
    protected
    Definition Classes
    StateMachine
  54. final def unfoldAndFireMessageReceived(arg0: ChannelHandlerContext, arg1: SocketAddress, arg2: Any): Unit

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

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

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

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

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

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

Inherited from StateMachine

Inherited from AbstractDecoder

Inherited from FrameDecoder

Inherited from LifeCycleAwareChannelHandler

Inherited from SimpleChannelUpstreamHandler

Inherited from ChannelUpstreamHandler

Inherited from ChannelHandler

Inherited from AnyRef

Inherited from Any

Ungrouped