net.spy.memcached.vbucket
Class BucketUpdateResponseHandler

java.lang.Object
  extended by org.jboss.netty.channel.SimpleChannelUpstreamHandler
      extended by net.spy.memcached.vbucket.BucketUpdateResponseHandler
All Implemented Interfaces:
org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler

@ChannelPipelineCoverage(value="one")
public class BucketUpdateResponseHandler
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler


Constructor Summary
BucketUpdateResponseHandler()
           
 
Method Summary
 void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)
           
protected  String getLastResponse()
           
 void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext context, org.jboss.netty.channel.ChannelEvent event)
           
 void messageReceived(org.jboss.netty.channel.ChannelHandlerContext context, org.jboss.netty.channel.MessageEvent event)
           
protected  void setBucketMonitor(BucketMonitor monitor)
           
 
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, writeComplete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BucketUpdateResponseHandler

public BucketUpdateResponseHandler()
Method Detail

messageReceived

public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext context,
                            org.jboss.netty.channel.MessageEvent event)
Overrides:
messageReceived in class org.jboss.netty.channel.SimpleChannelUpstreamHandler

getLastResponse

protected String getLastResponse()
Returns:
the lastResponse

handleUpstream

public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext context,
                           org.jboss.netty.channel.ChannelEvent event)
                    throws Exception
Specified by:
handleUpstream in interface org.jboss.netty.channel.ChannelUpstreamHandler
Overrides:
handleUpstream in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
Throws:
Exception

setBucketMonitor

protected void setBucketMonitor(BucketMonitor monitor)

exceptionCaught

public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
                            org.jboss.netty.channel.ExceptionEvent e)
                     throws Exception
Overrides:
exceptionCaught in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
Throws:
Exception