diff -r 2fdc9cc89502 -r 407c428adb5b org/sonews/daemon/command/Command.java --- a/org/sonews/daemon/command/Command.java Wed Jul 22 14:04:05 2009 +0200 +++ b/org/sonews/daemon/command/Command.java Tue Apr 27 21:51:12 2010 +0200 @@ -30,8 +30,17 @@ public interface Command { + /** + * @return true if this instance can be reused. + */ boolean hasFinished(); + /** + * Returns capability string that is implied by this command class. + * MAY return null if the command is required by the NNTP standard. + */ + String impliedCapability(); + boolean isStateful(); String[] getSupportedCommandStrings();