FileDocCategorySizeDatePackage
AbstractRxTask.javaAPI DocApache Tomcat 6.0.142396Fri Jul 20 04:20:36 BST 2007org.apache.catalina.tribes.transport

AbstractRxTask

public abstract class AbstractRxTask extends Object implements Runnable
author
Filip Hanik
version
$Revision: 487420 $ $Date: 2006-12-15 02:35:06 +0100 (ven., 15 déc. 2006) $

Fields Summary
public static final int
OPTION_DIRECT_BUFFER
private org.apache.catalina.tribes.io.ListenCallback
callback
private RxTaskPool
pool
private boolean
doRun
private int
options
protected boolean
useBufferPool
Constructors Summary
public AbstractRxTask(org.apache.catalina.tribes.io.ListenCallback callback)


       
        this.callback = callback;
    
Methods Summary
public voidclose()

        doRun = false;
        notify();
    
public org.apache.catalina.tribes.io.ListenCallbackgetCallback()

        return callback;
    
public intgetOptions()

        return options;
    
public RxTaskPoolgetTaskPool()

        return pool;
    
public booleangetUseBufferPool()

        return useBufferPool;
    
public booleanisDoRun()

        return doRun;
    
public voidsetCallback(org.apache.catalina.tribes.io.ListenCallback callback)

        this.callback = callback;
    
public voidsetDoRun(boolean doRun)

        this.doRun = doRun;
    
public voidsetOptions(int options)

        this.options = options;
    
public voidsetTaskPool(RxTaskPool pool)

        this.pool = pool;
    
public voidsetUseBufferPool(boolean usebufpool)

        useBufferPool = usebufpool;