(NntpCommand command, Collection<String> params)
| 134 | } |
| 135 | |
| 136 | private Collection<String> process(NntpCommand command, Collection<String> params) { |
| 137 | Processor processor = ProcessorResolver.processor(command); |
| 138 | if (processor == null) { |
| 139 | logger.l4("Can't find processor for command '" + command + "'."); |
| 140 | throw new ProcessorNotFoundException(); |
| 141 | } |
| 142 | return processor.process(params, selectedGroupId, selectedArticleId, auth); |
| 143 | } |
| 144 | |
| 145 | /** |
| 146 | * Send response to client. |