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 FtpRequestImpl.java
Date Fri, 09 Sep 2005 11:26:21 GMT
rana_b      2005/09/09 04:26:21

  Modified:    src/java/org/apache/ftpserver FtpRequestImpl.java
  Log:
  added reinitialized methods
  
  Revision  Changes    Path
  1.2       +13 -2     incubator-ftpserver/src/java/org/apache/ftpserver/FtpRequestImpl.java
  
  Index: FtpRequestImpl.java
  ===================================================================
  RCS file: /home/cvs/incubator-ftpserver/src/java/org/apache/ftpserver/FtpRequestImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FtpRequestImpl.java	7 Sep 2005 05:00:32 -0000	1.1
  +++ FtpRequestImpl.java	9 Sep 2005 11:26:21 -0000	1.2
  @@ -76,7 +76,7 @@
       public void setClientAddress(InetAddress addr) {
           m_remoteAddr = addr;
       }
  -    
  +
       /**
        * Set FTP data connection.
        */
  @@ -100,6 +100,17 @@
       }
       
       /**
  +     * Reinitialize request.
  +     */
  +    public void reinitialize() {
  +        m_user = new BaseUser();
  +        m_loginTime = 0L;
  +        m_fileSystemView = null;
  +        m_renameFrom = null;
  +        m_fileOffset = 0L;
  +    }
  +    
  +    /**
        * Parse the ftp command line.
        */
       public void parse(String line) {
  
  
  

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


Mime
View raw message