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

Quick Search    Search Deep

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

java.lang.Object view java.lang.Object download java.lang.Object.java 
  extended byorg.apache.jk.common.SocketAcceptor
All Implemented Interfaces:
org.apache.tomcat.util.threads.ThreadPoolRunnable view org.apache.tomcat.util.threads.ThreadPoolRunnable download org.apache.tomcat.util.threads.ThreadPoolRunnable.java

class SocketAcceptor
extends java.lang.Object view java.lang.Object download java.lang.Object.java
implements org.apache.tomcat.util.threads.ThreadPoolRunnable view org.apache.tomcat.util.threads.ThreadPoolRunnable download org.apache.tomcat.util.threads.ThreadPoolRunnable.java


Field Summary
(package private)  ChannelSocket wajp
           
 
Constructor Summary
(package private) SocketAcceptor(ChannelSocket wajp)
           
 
Method Summary
 java.lang.Object view java.lang.Object download java.lang.Object.java [] getInitData()
          Called when this object is first loaded in the thread pool.
 void runIt(java.lang.Object view java.lang.Object download java.lang.Object.java [] 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

SocketAcceptor

SocketAcceptor(ChannelSocket wajp)
Method Detail

getInitData

public java.lang.Object view java.lang.Object download java.lang.Object.java [] getInitData()
Description copied from interface: org.apache.tomcat.util.threads.ThreadPoolRunnable view org.apache.tomcat.util.threads.ThreadPoolRunnable download org.apache.tomcat.util.threads.ThreadPoolRunnable.java
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 view org.apache.tomcat.util.threads.ThreadPoolRunnable download org.apache.tomcat.util.threads.ThreadPoolRunnable.java

runIt

public void runIt(java.lang.Object view java.lang.Object download java.lang.Object.java [] thD)
Description copied from interface: org.apache.tomcat.util.threads.ThreadPoolRunnable view org.apache.tomcat.util.threads.ThreadPoolRunnable download org.apache.tomcat.util.threads.ThreadPoolRunnable.java
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 view org.apache.tomcat.util.threads.ThreadPoolRunnable download org.apache.tomcat.util.threads.ThreadPoolRunnable.java