diff -r 2fdc9cc89502 -r 6ae5e4f8329b 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 Mon Aug 24 13:00:05 2009 +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();