org.infinispan.server.memcached.interceptors
Class AbstractVisitor

java.lang.Object
  extended by org.infinispan.server.memcached.interceptors.AbstractVisitor
All Implemented Interfaces:
TextProtocolVisitor
Direct Known Subclasses:
TextCommandInterceptorImpl

public abstract class AbstractVisitor
extends Object
implements TextProtocolVisitor

CommandInterceptor.

Since:
4.1
Author:
Galder ZamarreƱo

Constructor Summary
AbstractVisitor()
           
 
Method Summary
protected  Object handleDefault(ChannelHandlerContext ctx, TextCommand command)
           
 Object visitAdd(ChannelHandlerContext ctx, AddCommand command)
           
 Object visitAppend(ChannelHandlerContext ctx, AppendCommand command)
           
 Object visitCas(ChannelHandlerContext ctx, CasCommand command)
           
 Object visitDecrement(ChannelHandlerContext ctx, DecrementCommand command)
           
 Object visitDelete(ChannelHandlerContext ctx, DeleteCommand command)
           
 Object visitFlushAll(ChannelHandlerContext ctx, FlushAllCommand command)
           
 Object visitGet(ChannelHandlerContext ctx, GetCommand command)
           
 Object visitGets(ChannelHandlerContext ctx, GetsCommand command)
           
 Object visitIncrement(ChannelHandlerContext ctx, IncrementCommand command)
           
 Object visitPrepend(ChannelHandlerContext ctx, PrependCommand command)
           
 Object visitQuit(ChannelHandlerContext ctx, QuitCommand command)
           
 Object visitReplace(ChannelHandlerContext ctx, ReplaceCommand command)
           
 Object visitSet(ChannelHandlerContext ctx, SetCommand command)
           
 Object visitStats(ChannelHandlerContext ctx, StatsCommand command)
           
 Object visitVersion(ChannelHandlerContext ctx, VersionCommand command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractVisitor

public AbstractVisitor()
Method Detail

visitAdd

public Object visitAdd(ChannelHandlerContext ctx,
                       AddCommand command)
                throws Throwable
Specified by:
visitAdd in interface TextProtocolVisitor
Throws:
Throwable

visitAppend

public Object visitAppend(ChannelHandlerContext ctx,
                          AppendCommand command)
                   throws Throwable
Specified by:
visitAppend in interface TextProtocolVisitor
Throws:
Throwable

visitCas

public Object visitCas(ChannelHandlerContext ctx,
                       CasCommand command)
                throws Throwable
Specified by:
visitCas in interface TextProtocolVisitor
Throws:
Throwable

visitDecrement

public Object visitDecrement(ChannelHandlerContext ctx,
                             DecrementCommand command)
                      throws Throwable
Specified by:
visitDecrement in interface TextProtocolVisitor
Throws:
Throwable

visitDelete

public Object visitDelete(ChannelHandlerContext ctx,
                          DeleteCommand command)
                   throws Throwable
Specified by:
visitDelete in interface TextProtocolVisitor
Throws:
Throwable

visitGet

public Object visitGet(ChannelHandlerContext ctx,
                       GetCommand command)
                throws Throwable
Specified by:
visitGet in interface TextProtocolVisitor
Throws:
Throwable

visitGets

public Object visitGets(ChannelHandlerContext ctx,
                        GetsCommand command)
                 throws Throwable
Specified by:
visitGets in interface TextProtocolVisitor
Throws:
Throwable

visitIncrement

public Object visitIncrement(ChannelHandlerContext ctx,
                             IncrementCommand command)
                      throws Throwable
Specified by:
visitIncrement in interface TextProtocolVisitor
Throws:
Throwable

visitPrepend

public Object visitPrepend(ChannelHandlerContext ctx,
                           PrependCommand command)
                    throws Throwable
Specified by:
visitPrepend in interface TextProtocolVisitor
Throws:
Throwable

visitReplace

public Object visitReplace(ChannelHandlerContext ctx,
                           ReplaceCommand command)
                    throws Throwable
Specified by:
visitReplace in interface TextProtocolVisitor
Throws:
Throwable

visitSet

public Object visitSet(ChannelHandlerContext ctx,
                       SetCommand command)
                throws Throwable
Specified by:
visitSet in interface TextProtocolVisitor
Throws:
Throwable

visitStats

public Object visitStats(ChannelHandlerContext ctx,
                         StatsCommand command)
                  throws Throwable
Specified by:
visitStats in interface TextProtocolVisitor
Throws:
Throwable

visitFlushAll

public Object visitFlushAll(ChannelHandlerContext ctx,
                            FlushAllCommand command)
                     throws Throwable
Specified by:
visitFlushAll in interface TextProtocolVisitor
Throws:
Throwable

visitVersion

public Object visitVersion(ChannelHandlerContext ctx,
                           VersionCommand command)
                    throws Throwable
Specified by:
visitVersion in interface TextProtocolVisitor
Throws:
Throwable

visitQuit

public Object visitQuit(ChannelHandlerContext ctx,
                        QuitCommand command)
                 throws Throwable
Specified by:
visitQuit in interface TextProtocolVisitor
Throws:
Throwable

handleDefault

protected Object handleDefault(ChannelHandlerContext ctx,
                               TextCommand command)
                        throws Throwable
Throws:
Throwable

Google Analytics

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