com
.
twitter
.
finagle
.
memcached
.
protocol
.
text
.
client
Decoder
class
Decoder
extends
AbstractDecoder
with
StateMachine
Linear Supertypes
StateMachine
,
AbstractDecoder
,
FrameDecoder
,
LifeCycleAwareChannelHandler
,
SimpleChannelUpstreamHandler
,
ChannelUpstreamHandler
,
ChannelHandler
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Decoder
StateMachine
AbstractDecoder
FrameDecoder
LifeCycleAwareChannelHandler
SimpleChannelUpstreamHandler
ChannelUpstreamHandler
ChannelHandler
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
Decoder
()
Type Members
case class
AwaitingData
(
valuesSoFar:
Seq
[
TokensWithData
]
,
tokens:
Seq
[
ChannelBuffer
]
,
bytesNeeded:
Int
)
extends
State
with
Product
with
Serializable
case class
AwaitingResponse
()
extends
State
with
Product
with
Serializable
case class
AwaitingResponseOrEnd
(
valuesSoFar:
Seq
[
TokensWithData
]
)
extends
State
with
Product
with
Serializable
case class
AwaitingStatsOrEnd
(
valuesSoFar:
Seq
[
Tokens
]
)
extends
State
with
Product
with
Serializable
abstract
class
State
extends
AnyRef
Attributes
protected
Definition Classes
StateMachine
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
actualReadableBytes
()
:
Int
Attributes
protected[
org.jboss.netty.handler.codec.frame
]
Definition Classes
FrameDecoder
def
afterAdd
(
arg0:
ChannelHandlerContext
)
:
Unit
Definition Classes
FrameDecoder → LifeCycleAwareChannelHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
afterRemove
(
arg0:
ChannelHandlerContext
)
:
Unit
Definition Classes
FrameDecoder → LifeCycleAwareChannelHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
appendToCumulation
(
arg0:
ChannelBuffer
)
:
ChannelBuffer
Attributes
protected[
org.jboss.netty.handler.codec.frame
]
Definition Classes
FrameDecoder
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
final
def
awaitData
(
tokens:
Seq
[
ChannelBuffer
]
,
bytesNeeded:
Int
)
:
Unit
Attributes
protected[
com.twitter.finagle.memcached
]
Definition Classes
Decoder
→
AbstractDecoder
def
beforeAdd
(
arg0:
ChannelHandlerContext
)
:
Unit
Definition Classes
FrameDecoder → LifeCycleAwareChannelHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
beforeRemove
(
arg0:
ChannelHandlerContext
)
:
Unit
Definition Classes
FrameDecoder → LifeCycleAwareChannelHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
channelBound
(
arg0:
ChannelHandlerContext
,
arg1:
ChannelStateEvent
)
:
Unit
Definition Classes
SimpleChannelUpstreamHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
channelClosed
(
arg0:
ChannelHandlerContext
,
arg1:
ChannelStateEvent
)
:
Unit
Definition Classes
FrameDecoder → SimpleChannelUpstreamHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
channelConnected
(
arg0:
ChannelHandlerContext
,
arg1:
ChannelStateEvent
)
:
Unit
Definition Classes
SimpleChannelUpstreamHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
channelDisconnected
(
arg0:
ChannelHandlerContext
,
arg1:
ChannelStateEvent
)
:
Unit
Definition Classes
FrameDecoder → SimpleChannelUpstreamHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
channelInterestChanged
(
arg0:
ChannelHandlerContext
,
arg1:
ChannelStateEvent
)
:
Unit
Definition Classes
SimpleChannelUpstreamHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
channelOpen
(
ctx:
ChannelHandlerContext
,
e:
ChannelStateEvent
)
:
Unit
Definition Classes
AbstractDecoder
→ SimpleChannelUpstreamHandler
def
channelUnbound
(
arg0:
ChannelHandlerContext
,
arg1:
ChannelStateEvent
)
:
Unit
Definition Classes
SimpleChannelUpstreamHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
childChannelClosed
(
arg0:
ChannelHandlerContext
,
arg1:
ChildChannelStateEvent
)
:
Unit
Definition Classes
SimpleChannelUpstreamHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
childChannelOpen
(
arg0:
ChannelHandlerContext
,
arg1:
ChildChannelStateEvent
)
:
Unit
Definition Classes
SimpleChannelUpstreamHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
cleanup
(
arg0:
ChannelHandlerContext
,
arg1:
ChannelStateEvent
)
:
Unit
Attributes
protected[
org.jboss.netty.handler.codec.frame
]
Definition Classes
FrameDecoder
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
decode
(
ctx:
ChannelHandlerContext
,
channel:
Channel
,
buffer:
ChannelBuffer
)
:
Decoding
Definition Classes
Decoder
→ FrameDecoder
def
decodeData
(
bytesNeeded:
Int
,
buffer:
ChannelBuffer
)
(
continue: (
ChannelBuffer
) ⇒
Decoding
)
:
Decoding
Attributes
protected
Definition Classes
AbstractDecoder
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]
)
def
decodeLine
(
buffer:
ChannelBuffer
,
needsData: (
Seq
[
ChannelBuffer
]) ⇒
Option
[
Int
]
)
(
continue: (
Seq
[
ChannelBuffer
]) ⇒
Decoding
)
:
Decoding
Attributes
protected
Definition Classes
AbstractDecoder
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
exceptionCaught
(
ctx:
ChannelHandlerContext
,
e:
ExceptionEvent
)
:
Unit
Definition Classes
AbstractDecoder
→ FrameDecoder → SimpleChannelUpstreamHandler
def
extractFrame
(
arg0:
ChannelBuffer
,
arg1:
Int
,
arg2:
Int
)
:
ChannelBuffer
Attributes
protected[
org.jboss.netty.handler.codec.frame
]
Definition Classes
FrameDecoder
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
getMaxCumulationBufferCapacity
()
:
Int
Definition Classes
FrameDecoder
final
def
getMaxCumulationBufferComponents
()
:
Int
Definition Classes
FrameDecoder
def
handleUpstream
(
arg0:
ChannelHandlerContext
,
arg1:
ChannelEvent
)
:
Unit
Definition Classes
SimpleChannelUpstreamHandler → ChannelUpstreamHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
internalBuffer
()
:
ChannelBuffer
Attributes
protected[
org.jboss.netty.handler.codec.frame
]
Definition Classes
FrameDecoder
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
isUnfold
()
:
Boolean
Definition Classes
FrameDecoder
def
messageReceived
(
arg0:
ChannelHandlerContext
,
arg1:
MessageEvent
)
:
Unit
Definition Classes
FrameDecoder → SimpleChannelUpstreamHandler
Annotations
@throws
(
classOf[java.lang.Exception]
)
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
newCumulationBuffer
(
arg0:
ChannelHandlerContext
,
arg1:
Int
)
:
ChannelBuffer
Attributes
protected[
org.jboss.netty.handler.codec.frame
]
Definition Classes
FrameDecoder
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
replace
(
arg0:
String
,
arg1:
ChannelHandler
)
:
Unit
Definition Classes
FrameDecoder
final
def
setMaxCumulationBufferCapacity
(
arg0:
Int
)
:
Unit
Definition Classes
FrameDecoder
final
def
setMaxCumulationBufferComponents
(
arg0:
Int
)
:
Unit
Definition Classes
FrameDecoder
final
def
setUnfold
(
arg0:
Boolean
)
:
Unit
Definition Classes
FrameDecoder
final
def
start
()
:
Unit
Attributes
protected[
com.twitter.finagle.memcached
]
Definition Classes
Decoder
→
AbstractDecoder
var
state
:
State
Attributes
protected
Definition Classes
StateMachine
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
transition
[
A
]
(
command:
String
)
(
f:
PartialFunction
[
State
,
A
]
)
:
A
Attributes
protected
Definition Classes
StateMachine
final
def
unfoldAndFireMessageReceived
(
arg0:
ChannelHandlerContext
,
arg1:
SocketAddress
,
arg2:
Any
)
:
Unit
Attributes
protected[
org.jboss.netty.handler.codec.frame
]
Definition Classes
FrameDecoder
def
updateCumulation
(
arg0:
ChannelHandlerContext
,
arg1:
ChannelBuffer
)
:
ChannelBuffer
Attributes
protected[
org.jboss.netty.handler.codec.frame
]
Definition Classes
FrameDecoder
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
writeComplete
(
arg0:
ChannelHandlerContext
,
arg1:
WriteCompletionEvent
)
:
Unit
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