org.infinispan.server.memcached.transport
Class TextDecoder

java.lang.Object
  extended by org.infinispan.server.memcached.transport.TextDecoder
All Implemented Interfaces:
Decoder<TextDecoder.State>

public class TextDecoder
extends Object
implements Decoder<TextDecoder.State>

// TODO: Document this

Since:
4.1
Author:
Galder ZamarreƱo

Nested Class Summary
static class TextDecoder.State
           
 
Nested classes/interfaces inherited from interface org.infinispan.server.core.transport.Decoder
Decoder.Checkpointer<T>
 
Constructor Summary
TextDecoder(Cache<String,Value> cache, InterceptorChain chain, ScheduledExecutorService scheduler)
           
 
Method Summary
 Object decode(ChannelHandlerContext ctx, ChannelBuffer buffer, TextDecoder.State state)
           
 void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)
           
 void setCheckpointer(Decoder.Checkpointer checkpointer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextDecoder

public TextDecoder(Cache<String,Value> cache,
                   InterceptorChain chain,
                   ScheduledExecutorService scheduler)
Method Detail

setCheckpointer

public void setCheckpointer(Decoder.Checkpointer checkpointer)

decode

public Object decode(ChannelHandlerContext ctx,
                     ChannelBuffer buffer,
                     TextDecoder.State state)
              throws Exception
Specified by:
decode in interface Decoder<TextDecoder.State>
Throws:
Exception

exceptionCaught

public void exceptionCaught(ChannelHandlerContext ctx,
                            ExceptionEvent e)
                     throws Exception
Specified by:
exceptionCaught in interface Decoder<TextDecoder.State>
Throws:
Exception

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.