GigaSpaces XAP 9.7.2 API

org.openspaces.memcached.protocol
Class UnifiedProtocolDecoder

java.lang.Object
  extended by org.jboss.netty.channel.SimpleChannelUpstreamHandler
      extended by org.jboss.netty.handler.codec.frame.FrameDecoder
          extended by org.openspaces.memcached.protocol.UnifiedProtocolDecoder
All Implemented Interfaces:
org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler

public class UnifiedProtocolDecoder
extends org.jboss.netty.handler.codec.frame.FrameDecoder

Author:
kimchy (shay.banon)

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Field Summary
 int idle_limit
           
 boolean verbose
           
 String version
           
 
Constructor Summary
UnifiedProtocolDecoder(SpaceCache cache, org.jboss.netty.channel.group.DefaultChannelGroup channelGroup, String version, int idle_limit, boolean verbose, boolean threaded)
           
 
Method Summary
protected  Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, org.jboss.netty.buffer.ChannelBuffer buffer)
           
 
Methods inherited from class org.jboss.netty.handler.codec.frame.FrameDecoder
channelClosed, channelDisconnected, decodeLast, exceptionCaught, messageReceived
 
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler
channelBound, channelConnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, handleUpstream, writeComplete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public final String version

idle_limit

public final int idle_limit

verbose

public final boolean verbose
Constructor Detail

UnifiedProtocolDecoder

public UnifiedProtocolDecoder(SpaceCache cache,
                              org.jboss.netty.channel.group.DefaultChannelGroup channelGroup,
                              String version,
                              int idle_limit,
                              boolean verbose,
                              boolean threaded)
Method Detail

decode

protected Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
                        org.jboss.netty.channel.Channel channel,
                        org.jboss.netty.buffer.ChannelBuffer buffer)
                 throws Exception
Specified by:
decode in class org.jboss.netty.handler.codec.frame.FrameDecoder
Throws:
Exception

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.