diff -r 2fdc9cc89502 -r 15d14b110240 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 Sat May 01 14:27:30 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();