diff -r 2fdc9cc89502 -r 2ff819fa5be1 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 Wed Aug 26 17:04:04 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();