tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni Poll.java
Date Sat, 05 Feb 2005 12:32:20 GMT
mturk       2005/02/05 04:32:20

  Modified:    jni/java/org/apache/tomcat/jni Poll.java
  Log:
  Add native methods for accessing apr_pollset_fd struct data.
  
  Revision  Changes    Path
  1.3       +18 -1     jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/Poll.java
  
  Index: Poll.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/Poll.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Poll.java	14 Jan 2005 14:42:37 -0000	1.2
  +++ Poll.java	5 Feb 2005 12:32:20 -0000	1.3
  @@ -102,5 +102,22 @@
                                     long [] descriptors)
           throws Error;
   
  +    /**
  +     * Return socket from poll descriptor
  +     * @param polldesc The pollset decriptor to use
  +     */
  +    public static native long socket(long polldesc);
  +
  +    /**
  +     * Return client data from poll descriptor
  +     * @param polldesc The pollset decriptor to use
  +     */
  +    public static native long data(long polldesc);
  +
  +    /**
  +     * Return rtnevents from poll descriptor
  +     * @param polldesc The pollset decriptor to use
  +     */
  +    public static native int events(long polldesc);
   
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message