Package org.sonews.daemon.command
Class GroupCommand
java.lang.Object
org.sonews.daemon.command.GroupCommand
- All Implemented Interfaces:
Command
Class handling the GROUP command.
Syntax GROUP group Responses 211 number low high group Group successfully selected 411 No such newsgroup Parameters group Name of newsgroup number Estimated number of articles in the group low Reported low water mark high Reported high water mark(from RFC 3977)
- Since:
- n3tpd/0.1
- Author:
- Christian Lins, Dennis Schwerdel
-
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
-
GroupCommand
public GroupCommand()
-
-
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
-