Package org.sonews.daemon.command
Class ModeReaderCommand
java.lang.Object
org.sonews.daemon.command.ModeReaderCommand
- All Implemented Interfaces:
Command
Class handling the MODE READER command. This command actually does nothing
but returning a success status code.
- Since:
- sonews/0.5.0
- Author:
- Christian Lins
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
boolean
Returns capability string that is implied by this command class.boolean
void
processLine
(NNTPConnection conn, String line, byte[] raw)
-
Constructor Details
-
ModeReaderCommand
public ModeReaderCommand()
-
-
Method Details
-
getSupportedCommandStrings
- Specified by:
getSupportedCommandStrings
in interfaceCommand
-
hasFinished
public boolean hasFinished()- Specified by:
hasFinished
in interfaceCommand
- Returns:
- true if this instance can be reused.
-
impliedCapability
Description copied from interface:Command
Returns capability string that is implied by this command class. MAY return null if the command is required by the NNTP standard.- Specified by:
impliedCapability
in interfaceCommand
-
isStateful
public boolean isStateful()- Specified by:
isStateful
in interfaceCommand
-
processLine
public void processLine(NNTPConnection conn, String line, byte[] raw) throws IOException, StorageBackendException - Specified by:
processLine
in interfaceCommand
- Throws:
IOException
StorageBackendException
-