|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jk.core.JkHandler org.apache.jk.common.JniHandler org.apache.jk.common.ChannelJni
Pass messages using jni
Field Summary |
Fields inherited from class org.apache.jk.common.JniHandler |
apr, C2B_NOTE, JK_HANDLE_JNI_DISPATCH, JK_HANDLE_SHM_DISPATCH, jkHome, MB_NOTE, MSG_NOTE, nativeJkHandlerP |
Fields inherited from class org.apache.jk.core.JkHandler |
domain, ERROR, HANDLE_FLUSH, HANDLE_RECEIVE_PACKET, HANDLE_SEND_PACKET, id, LAST, mserver, name, next, nextName, OK, oname, properties, wEnv |
Constructor Summary | |
ChannelJni()
|
Method Summary | |
void |
init()
You must call initNative() inside the component init() |
int |
invoke(Msg msg,
MsgContext ep)
Receive a packet from the C side. |
int |
receive(Msg msg,
MsgContext ep)
Receives does nothing - send will put the response in the same buffer |
int |
send(Msg msg,
MsgContext ep)
Send the packet. |
Methods inherited from class org.apache.jk.common.JniHandler |
appendString, createMsgContext, destroyJkComponent, getJkHome, initJkComponent, initNative, nativeDispatch, recycleNative, setJkHome, setNativeAttribute, setNativeEndpoint |
Methods inherited from class org.apache.jk.core.JkHandler |
addHandlerCallback, destroy, getDomain, getId, getName, getNext, getObjectName, getProperty, handleNotification, postDeregister, postRegister, preDeregister, preRegister, setId, setName, setNext, setNext, setProperty, setWorkerEnv |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChannelJni()
Method Detail |
public void init() throws java.io.IOException
JniHandler
init
in class JniHandler
java.io.IOException
public int receive(Msg msg, MsgContext ep) throws java.io.IOException
java.io.IOException
public int send(Msg msg, MsgContext ep) throws java.io.IOException
java.io.IOException
public int invoke(Msg msg, MsgContext ep) throws java.io.IOException
invoke
in class JniHandler
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |