diff -r 91dc9acb03ed -r 6ae5e4f8329b org/sonews/daemon/command/Command.java --- a/org/sonews/daemon/command/Command.java Fri Aug 21 17:40:54 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();