org/sonews/daemon/command/Command.java
changeset 28 15d14b110240
parent 3 2fdc9cc89502
     1.1 --- a/org/sonews/daemon/command/Command.java	Wed Jul 22 14:04:05 2009 +0200
     1.2 +++ b/org/sonews/daemon/command/Command.java	Sat May 01 14:27:30 2010 +0200
     1.3 @@ -30,8 +30,17 @@
     1.4  public interface Command
     1.5  {
     1.6  
     1.7 +  /**
     1.8 +   * @return true if this instance can be reused.
     1.9 +   */
    1.10    boolean hasFinished();
    1.11  
    1.12 +  /**
    1.13 +   * Returns capability string that is implied by this command class.
    1.14 +   * MAY return null if the command is required by the NNTP standard.
    1.15 +   */
    1.16 +  String impliedCapability();
    1.17 +
    1.18    boolean isStateful();
    1.19  
    1.20    String[] getSupportedCommandStrings();