Klasse HelpCommand

java.lang.Object
org.sonews.daemon.command.HelpCommand
Alle implementierten Schnittstellen:
Command

@Component @Scope("prototype") public class HelpCommand extends Object implements Command
This command provides a short summary of the commands that are understood by this implementation of the server. The help text will be presented as a multi-line data block following the 100 response code (taken from RFC).
Seit:
sonews/0.5.0
Autor:
Christian Lins
  • Felddetails

    • log

      private final org.slf4j.Logger log
    • context

      @Autowired private org.springframework.context.ApplicationContext context
  • Konstruktordetails

    • HelpCommand

      public HelpCommand()
  • Methodendetails

    • hasFinished

      public boolean hasFinished()
      Angegeben von:
      hasFinished in Schnittstelle Command
      Gibt zurück:
      true if this instance can be reused.
    • impliedCapability

      public String impliedCapability()
      Beschreibung aus Schnittstelle kopiert: Command
      Returns capability string that is implied by this command class. MAY return null if the command is required by the NNTP standard.
      Angegeben von:
      impliedCapability in Schnittstelle Command
    • isStateful

      public boolean isStateful()
      Angegeben von:
      isStateful in Schnittstelle Command
    • getSupportedCommandStrings

      public String[] getSupportedCommandStrings()
      Angegeben von:
      getSupportedCommandStrings in Schnittstelle Command
    • processLine

      public void processLine(NNTPConnection conn, String line, byte[] raw) throws IOException
      Angegeben von:
      processLine in Schnittstelle Command
      Löst aus:
      IOException