You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2002/06/01 04:50:11 UTC

cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/apr AprImpl.java AprInputStream.java AprOutputStream.java AprSocketServer.java

costin      2002/05/31 19:50:11

  Modified:    jk/java/org/apache/jk/apr AprImpl.java
  Removed:     jk/java/org/apache/jk/apr AprInputStream.java
                        AprOutputStream.java AprSocketServer.java
  Log:
  Remove deprecated stuff.
  
  We use a single method for crossing so we can optimize the buffer
  allocation - JNI is very slow if you're not carefull.
  
  Revision  Changes    Path
  1.18      +0 -31     jakarta-tomcat-connectors/jk/java/org/apache/jk/apr/AprImpl.java
  
  Index: AprImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/apr/AprImpl.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- AprImpl.java	28 May 2002 22:50:04 -0000	1.17
  +++ AprImpl.java	1 Jun 2002 02:50:11 -0000	1.18
  @@ -76,37 +76,6 @@
   
       public native int terminate();
   
  -    // -------------------- Unix sockets --------------------
  -
  -    // @deprecated. We'll use the same invocation path as for the jni channel
  -
  -    public native long unSocketClose( long socket, int type );
  -
  -    /** Create a unix socket and start listening. 
  -     *  @param file the name of the socket
  -     *  @param bl backlog
  -     */
  -    public native long unSocketListen( String file, int bl );
  -    
  -    /** Create a unix socket and connect. 
  -     *  @param file the name of the socket
  -     *  @param bl backlog
  -     */
  -    public native long unSocketConnect( String file );
  -
  -    /** Accept a connection.
  -     */
  -    public native long unAccept(  long unListeningSocket );
  -
  -    public native int unRead(  long unSocket,
  -                               byte buf[], int off, int len );
  -
  -    public native int unWrite(  long unSocket,
  -                                byte buf[], int off, int len );
  -
  -    // --------------------  Interface to jk components --------------------
  -    // 
  -
       /* -------------------- Access to the jk_env_t -------------------- */
   
       /* The jk_env_t provide temporary storage ( pool ), logging, common services
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>