org/sonews/daemon/NNTPConnection.java
changeset 26 407c428adb5b
parent 15 f2293e8566f5
child 30 146b3275b792
     1.1 --- a/org/sonews/daemon/NNTPConnection.java	Thu Aug 20 18:41:21 2009 +0200
     1.2 +++ b/org/sonews/daemon/NNTPConnection.java	Tue Apr 27 21:51:12 2010 +0200
     1.3 @@ -18,7 +18,6 @@
     1.4  
     1.5  package org.sonews.daemon;
     1.6  
     1.7 -import org.sonews.util.Log;
     1.8  import java.io.IOException;
     1.9  import java.net.InetSocketAddress;
    1.10  import java.net.SocketException;
    1.11 @@ -34,6 +33,7 @@
    1.12  import org.sonews.daemon.command.Command;
    1.13  import org.sonews.storage.Article;
    1.14  import org.sonews.storage.Channel;
    1.15 +import org.sonews.util.Log;
    1.16  import org.sonews.util.Stats;
    1.17  
    1.18  /**
    1.19 @@ -408,5 +408,10 @@
    1.20    {
    1.21      this.charset = charset;
    1.22    }
    1.23 +
    1.24 +  void setLastActivity(long timestamp)
    1.25 +  {
    1.26 +    this.lastActivity = timestamp;
    1.27 +  }
    1.28    
    1.29  }