org.apache.thrift
Class TBaseAsyncProcessor<I>

java.lang.Object
  extended by org.apache.thrift.TBaseAsyncProcessor<I>
All Implemented Interfaces:
TProcessor

public class TBaseAsyncProcessor<I>
extends java.lang.Object
implements TProcessor


Field Summary
protected  org.slf4j.Logger LOGGER
           
 
Constructor Summary
TBaseAsyncProcessor(I iface, java.util.Map<java.lang.String,AsyncProcessFunction<I,? extends TBase,?>> processMap)
           
 
Method Summary
 java.util.Map<java.lang.String,AsyncProcessFunction<I,? extends TBase,?>> getProcessMapView()
           
 boolean process(AbstractNonblockingServer.AsyncFrameBuffer fb)
           
 boolean process(TProtocol in, TProtocol out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

protected final org.slf4j.Logger LOGGER
Constructor Detail

TBaseAsyncProcessor

public TBaseAsyncProcessor(I iface,
                           java.util.Map<java.lang.String,AsyncProcessFunction<I,? extends TBase,?>> processMap)
Method Detail

getProcessMapView

public java.util.Map<java.lang.String,AsyncProcessFunction<I,? extends TBase,?>> getProcessMapView()

process

public boolean process(AbstractNonblockingServer.AsyncFrameBuffer fb)
                throws TException
Throws:
TException

process

public boolean process(TProtocol in,
                       TProtocol out)
                throws TException
Specified by:
process in interface TProcessor
Throws:
TException