org/sonews/daemon/NNTPConnection.java
changeset 25 dd05c3f2fa24
parent 15 f2293e8566f5
child 30 146b3275b792
     1.1 --- a/org/sonews/daemon/NNTPConnection.java	Wed Aug 26 17:04:04 2009 +0200
     1.2 +++ b/org/sonews/daemon/NNTPConnection.java	Fri Dec 25 15:42:46 2009 +0100
     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  }