costin      01/11/16 14:43:18

  Modified:    jk/native/common jk_service.h
  Log:
  Added 2 fields in jk_endpoint_t to support jk_channel.
  
  Note that use of a channel ( as an abstraction that replace socket calls ) is
  optional - will be ifdef-ed until we make sure everything works fine.
  
  Revision  Changes    Path
  1.10      +13 -1     jakarta-tomcat-connectors/jk/native/common/jk_service.h
  
  Index: jk_service.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_service.h,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- jk_service.h      2001/10/13 17:36:36     1.9
  +++ jk_service.h      2001/11/16 22:43:18     1.10
  @@ -63,7 +63,7 @@
    * Author:      Gal Shachor <[EMAIL PROTECTED]>                           *
    * Author:      Dan Milstein <[EMAIL PROTECTED]>                            *
    * Author:      Henri Gomez <[EMAIL PROTECTED]>                               *
  - * Version:     $Revision: 1.9 $                                           *
  + * Version:     $Revision: 1.10 $                                           *
    ***************************************************************************/
   
   #ifndef JK_SERVICE_H
  @@ -104,6 +104,7 @@
   struct jk_ws_service;
   struct jk_endpoint;
   struct jk_worker;
  +struct jk_channel;
   typedef struct jk_ws_service jk_ws_service_t;
   typedef struct jk_endpoint   jk_endpoint_t;
   typedef struct jk_worker     jk_worker_t;
  @@ -302,6 +303,10 @@
        */
       void *endpoint_private;
   
  +    /** Data specific to a channel connection
  +     */
  +    void *channelData;
  +
       /*
        * Forward a request to the servlet engine.  The request is described
        * by the jk_ws_service_t object.  I'm not sure exactly how
  @@ -373,6 +378,13 @@
        * (e.g. ajp12 or ajp13 or ajp14).  
        */
       void *worker_private;
  +    
  +    /* XXX Add name and all other common properties !!! 
  +     */
  +
  +    /** Communication channle used by the worker 
  +     */
  +    struct jk_channel *channel;
   
       /*
        * For all of the below (except destroy), the first argument is
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to