com.couchbase.client.vbucket
Class BucketUpdateResponseHandler

java.lang.Object
  extended by org.jboss.netty.channel.SimpleChannelUpstreamHandler
      extended by com.couchbase.client.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

A BucketUpdateResponseHandler.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
BucketUpdateResponseHandler()
           
 
Method Summary
 void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)
           
protected  java.lang.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 newMonitor)
           
 
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 java.lang.String getLastResponse()
Returns:
the lastResponse

handleUpstream

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

setBucketMonitor

protected void setBucketMonitor(BucketMonitor newMonitor)

exceptionCaught

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


Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.