Klasse ArticleCommand

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

@Component public class ArticleCommand extends Object implements Command
Class handling the ARTICLE, BODY and HEAD commands.
Seit:
n3tpd/0.1
Autor:
Christian Lins, Dennis Schwerdel
  • Konstruktordetails

    • ArticleCommand

      public ArticleCommand()
  • Methodendetails

    • getSupportedCommandStrings

      public String[] getSupportedCommandStrings()
      Angegeben von:
      getSupportedCommandStrings in Schnittstelle Command
    • 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
    • processLine

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