Save This Page
Home » apache-tomcat-6.0.16-src » org.apache.jk » common » [javadoc | source]
org.apache.jk.common
public class: ChannelUn [javadoc | source]
java.lang.Object
   org.apache.jk.core.JkHandler
      org.apache.jk.common.JniHandler
         org.apache.jk.common.ChannelUn

All Implemented Interfaces:
    JkChannel, NotificationListener, MBeanRegistration

Pass messages using unix domain sockets.
Field Summary
static final  int CH_OPEN     
static final  int CH_CLOSE     
static final  int CH_READ     
static final  int CH_WRITE     
 String file     
 ThreadPool tp     
 int socketNote     
 int isNote     
 int osNote     
 int localId     
 ObjectName tpOName     
 ObjectName rgOName     
 RequestGroupInfo global     
 int count     
 int JMXRequestNote     
 boolean running     
Fields inherited from org.apache.jk.common.JniHandler:
apr,  nativeJkHandlerP,  jkHome,  JK_HANDLE_JNI_DISPATCH,  JK_HANDLE_SHM_DISPATCH,  MSG_NOTE,  MB_NOTE
Fields inherited from org.apache.jk.core.JkHandler:
OK,  LAST,  ERROR,  properties,  wEnv,  next,  nextName,  name,  id,  HANDLE_RECEIVE_PACKET,  HANDLE_SEND_PACKET,  HANDLE_FLUSH,  HANDLE_THREAD_END,  domain,  oname,  mserver
Method from org.apache.jk.common.ChannelUn Summary:
acceptConnections,   close,   destroy,   flush,   getChannelName,   getFile,   getThreadPool,   init,   invoke,   isSameAddress,   open,   processConnection,   receive,   registerRequest,   send,   setFile,   start
Methods from org.apache.jk.common.JniHandler:
appendString,   createMsgContext,   destroyJkComponent,   getJkHome,   init,   initJkComponent,   initNative,   invoke,   nativeDispatch,   pause,   recycleNative,   resume,   setJkHome,   setNativeAttribute,   setNativeEndpoint
Methods from org.apache.jk.core.JkHandler:
addHandlerCallback,   createMsgContext,   createMsgContext,   destroy,   getDomain,   getId,   getName,   getNext,   getObjectName,   getProperty,   handleNotification,   init,   invoke,   pause,   postDeregister,   postRegister,   preDeregister,   preRegister,   resume,   setId,   setName,   setNext,   setNext,   setProperty,   setWorkerEnv
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jk.common.ChannelUn Detail:
  void acceptConnections() 
    Accept incoming connections, dispatch to the thread pool
 public  void close(MsgContext ep) throws IOException 
 public  void destroy() throws IOException 
 public int flush(Msg msg,
    MsgContext ep) throws IOException 
 public String getChannelName() 
 public String getFile() 
 public ThreadPool getThreadPool() 
 public  void init() throws IOException 
 public int invoke(Msg msg,
    MsgContext ep) throws IOException 
 public boolean isSameAddress(MsgContext ep) 
 public int open(MsgContext ep) throws IOException 
    Open a connection - since we're listening that will block in accept
  void processConnection(MsgContext ep) 
    Process a single ajp connection.
 public int receive(Msg msg,
    MsgContext ep) throws IOException 
 public  void registerRequest(Request req,
    MsgContext ep,
    int count) 
 public int send(Msg msg,
    MsgContext ep) throws IOException 
 public  void setFile(String f) 
 public  void start() throws IOException