| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.jk.core.JkHandlerorg.apache.jk.common.JniHandlerorg.apache.jk.common.ChannelUnField Summary |
Fields inherited from class org.apache.jk.common.JniHandler | |
C2B_NOTE, JK_HANDLE_JNI_DISPATCH, JK_HANDLE_SHM_DISPATCH, MB_NOTE, MSG_NOTE, apr, jkHome, nativeJkHandlerP | |
Fields inherited from class org.apache.jk.core.JkHandler | |
ERROR, HANDLE_FLUSH, HANDLE_RECEIVE_PACKET, HANDLE_SEND_PACKET, HANDLE_THREAD_END, LAST, OK, domain, id, mserver, name, next, nextName, oname, properties, wEnv | |
Method Summary | |
void |
|
void |
|
int |
|
String | |
String |
|
ThreadPool | |
void |
|
int |
|
boolean | |
int |
|
int |
|
void |
|
int |
|
void |
|
void |
|
Methods inherited from class org.apache.jk.common.JniHandler | |
appendString, createMsgContext, destroyJkComponent, getJkHome, init, initJkComponent, initNative, invoke, nativeDispatch, pause, recycleNative, resume, setJkHome, setNativeAttribute, setNativeEndpoint | |
Methods inherited from class org.apache.jk.core.JkHandler | |
addHandlerCallback, createMsgContext, destroy, getDomain, getId, getName, getNext, getObjectName, getProperty, handleNotification, init, invoke, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setId, setName, setNext, setNext, setProperty, setWorkerEnv | |
public void destroy()
throws IOExceptionClean up and stop the handler
- Overrides:
- destroy in interface JkHandler
public String getFile()
public void init()
throws IOExceptionYou must call initNative() inside the component init()
- Overrides:
- init in interface JniHandler
public int invoke(Msg msg, MsgContext ep) throws IOException
Base implementation for invoke. Dispatch the action to the native code, where invoke() is called on the wrapped jk_bean.
- Overrides:
- invoke in interface JniHandler
public boolean isSameAddress(MsgContext ep)
- Specified by:
- isSameAddress in interface JkChannel
public int open(MsgContext ep) throws IOException
Open a connection - since we're listening that will block in accept
public void registerRequest(Request req, MsgContext ep, int count)
- Specified by:
- registerRequest in interface JkChannel
public void setFile(String f)
public void start()
throws IOException