com.caucho.bam.mailbox
Class MailboxWorker

java.lang.Object
  extended by com.caucho.env.thread.AbstractTaskWorker
      extended by com.caucho.env.thread.TaskWorker
          extended by com.caucho.bam.mailbox.MailboxWorker
All Implemented Interfaces:
java.lang.Runnable

public class MailboxWorker
extends TaskWorker

Queue of hmtp packets


Constructor Summary
MailboxWorker(MultiworkerMailbox queue)
           
 
Method Summary
 long runTask()
           
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.env.thread.TaskWorker
startWorkerThread
 
Methods inherited from class com.caucho.env.thread.AbstractTaskWorker
destroy, getCurrentTimeActual, getThreadName, isClosed, isPermanent, isTaskActive, onThreadComplete, onThreadStart, run, setLoopCount, setWorkerIdleTimeout, wake
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailboxWorker

public MailboxWorker(MultiworkerMailbox queue)
Method Detail

runTask

public long runTask()
Specified by:
runTask in class AbstractTaskWorker

toString

public java.lang.String toString()
Overrides:
toString in class AbstractTaskWorker