Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.jk.common
Class ChannelSocket.SocketAcceptor  view ChannelSocket.SocketAcceptor download ChannelSocket.SocketAcceptor.java

java.lang.Object
  extended byorg.apache.jk.common.ChannelSocket.SocketAcceptor
All Implemented Interfaces:
org.apache.tomcat.util.threads.ThreadPoolRunnable
Enclosing class:
ChannelSocket

static class ChannelSocket.SocketAcceptor
extends java.lang.Object
implements org.apache.tomcat.util.threads.ThreadPoolRunnable


Field Summary
(package private)  ChannelSocket wajp
           
 
Constructor Summary
(package private) ChannelSocket.SocketAcceptor(ChannelSocket wajp)
           
 
Method Summary
 java.lang.Object[] getInitData()
          Called when this object is first loaded in the thread pool.
 void runIt(java.lang.Object[] thD)
          This method will be executed in one of the pool's threads.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wajp

ChannelSocket wajp
Constructor Detail

ChannelSocket.SocketAcceptor

ChannelSocket.SocketAcceptor(ChannelSocket wajp)
Method Detail

getInitData

public java.lang.Object[] getInitData()
Description copied from interface: org.apache.tomcat.util.threads.ThreadPoolRunnable
Called when this object is first loaded in the thread pool. Important: all workers in a pool must be of the same type, otherwise the mechanism becomes more complex.

Specified by:
getInitData in interface org.apache.tomcat.util.threads.ThreadPoolRunnable

runIt

public void runIt(java.lang.Object[] thD)
Description copied from interface: org.apache.tomcat.util.threads.ThreadPoolRunnable
This method will be executed in one of the pool's threads. The thread will be returned to the pool.

Specified by:
runIt in interface org.apache.tomcat.util.threads.ThreadPoolRunnable