incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject cvs commit: incubator-ftpserver/src/java/org/apache/ftpserver/interfaces ISsl.java
Date Tue, 04 Oct 2005 07:24:34 GMT
rana_b      2005/10/04 00:24:34

  Modified:    src/java/org/apache/ftpserver/interfaces ISsl.java
  Log:
  SSL code refactored
  
  Revision  Changes    Path
  1.2       +18 -7     incubator-ftpserver/src/java/org/apache/ftpserver/interfaces/ISsl.java
  
  Index: ISsl.java
  ===================================================================
  RCS file: /home/cvs/incubator-ftpserver/src/java/org/apache/ftpserver/interfaces/ISsl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ISsl.java	7 Sep 2005 05:04:03 -0000	1.1
  +++ ISsl.java	4 Oct 2005 07:24:34 -0000	1.2
  @@ -16,12 +16,12 @@
    */
   package org.apache.ftpserver.interfaces;
   
  -import org.apache.ftpserver.ftplet.Component;
  -
   import java.net.InetAddress;
   import java.net.ServerSocket;
   import java.net.Socket;
   
  +import org.apache.ftpserver.ftplet.Component;
  +
   /**
    * SSL interface.
    * 
  @@ -31,13 +31,24 @@
   interface ISsl extends Component {
   
       /**
  -     * Create server socket.
  +     * Create secure server socket.
        */
  -    ServerSocket createServerSocket(InetAddress addr, int port) throws Exception;
  +    ServerSocket createServerSocket(String protocol, 
  +                                    InetAddress addr, 
  +                                    int port) throws Exception;
       
       /**
  -     * Create socket.
  +     * Returns a socket layered over an existing socket.
        */
  -    Socket createSocket(Socket soc, boolean clientMode) throws Exception;
  +    Socket createSocket(String protocol,
  +                        Socket soc, 
  +                        boolean clientMode) throws Exception;
       
  +    /**
  +     * Create a secure socket.
  +     */
  +    Socket createSocket(String protocol,
  +                        InetAddress addr, 
  +                        int port,
  +                        boolean clientMode) throws Exception;
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message