net.gleamynode.netty2
Class AbstractThreadPooledEventDispatcher.AbstractWorker

java.lang.Object
  extended byjava.lang.Thread
      extended bynet.gleamynode.netty2.AbstractThreadPooledEventDispatcher.AbstractWorker
All Implemented Interfaces:
Runnable
Enclosing class:
AbstractThreadPooledEventDispatcher

protected abstract class AbstractThreadPooledEventDispatcher.AbstractWorker
extends Thread


Field Summary
protected  net.gleamynode.netty2.EventQueue localEventQueue
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected AbstractThreadPooledEventDispatcher.AbstractWorker(net.gleamynode.netty2.EventQueue eventQueue)
           
 
Method Summary
protected abstract  void onDisconnection(Session session)
           
protected abstract  void onEnd()
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

localEventQueue

protected final net.gleamynode.netty2.EventQueue localEventQueue
Constructor Detail

AbstractThreadPooledEventDispatcher.AbstractWorker

protected AbstractThreadPooledEventDispatcher.AbstractWorker(net.gleamynode.netty2.EventQueue eventQueue)
Method Detail

run

public final void run()

onDisconnection

protected abstract void onDisconnection(Session session)

onEnd

protected abstract void onEnd()


Copyright © 2004-2006 Trustin Lee. All Rights Reserved.