author | chris <chris@marvin> |
Tue, 20 Jan 2009 10:21:03 +0100 | |
changeset 0 | f907866f0e4b |
permissions | -rw-r--r-- |
chris@0 | 1 |
/* |
chris@0 | 2 |
* StarOffice News Server |
chris@0 | 3 |
* see AUTHORS for the list of contributors |
chris@0 | 4 |
* |
chris@0 | 5 |
* This program is free software: you can redistribute it and/or modify |
chris@0 | 6 |
* it under the terms of the GNU General Public License as published by |
chris@0 | 7 |
* the Free Software Foundation, either version 3 of the License, or |
chris@0 | 8 |
* (at your option) any later version. |
chris@0 | 9 |
* |
chris@0 | 10 |
* This program is distributed in the hope that it will be useful, |
chris@0 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
chris@0 | 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
chris@0 | 13 |
* GNU General Public License for more details. |
chris@0 | 14 |
* |
chris@0 | 15 |
* You should have received a copy of the GNU General Public License |
chris@0 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
chris@0 | 17 |
*/ |
chris@0 | 18 |
|
chris@0 | 19 |
package com.so.news.command; |
chris@0 | 20 |
|
chris@0 | 21 |
import com.so.news.NNTPConnection; |
chris@0 | 22 |
|
chris@0 | 23 |
/** |
chris@0 | 24 |
* The CAPABILITIES command allows a client to determine the |
chris@0 | 25 |
capabilities of the server at any given time. |
chris@0 | 26 |
|
chris@0 | 27 |
This command MAY be issued at any time; the server MUST NOT require |
chris@0 | 28 |
it to be issued in order to make use of any capability. The response |
chris@0 | 29 |
generated by this command MAY change during a session because of |
chris@0 | 30 |
other state information (which, in turn, may be changed by the |
chris@0 | 31 |
effects of other commands or by external events). An NNTP client is |
chris@0 | 32 |
only able to get the current and correct information concerning |
chris@0 | 33 |
available capabilities at any point during a session by issuing a |
chris@0 | 34 |
CAPABILITIES command at that point of that session and processing the |
chris@0 | 35 |
response. |
chris@0 | 36 |
* @author chris |
chris@0 | 37 |
*/ |
chris@0 | 38 |
public class CapabilitiesCommand extends Command |
chris@0 | 39 |
{ |
chris@0 | 40 |
public CapabilitiesCommand(NNTPConnection connection) |
chris@0 | 41 |
{ |
chris@0 | 42 |
super(connection); |
chris@0 | 43 |
} |
chris@0 | 44 |
|
chris@0 | 45 |
public boolean process(String[] command) |
chris@0 | 46 |
throws Exception |
chris@0 | 47 |
{ |
chris@0 | 48 |
return false; |
chris@0 | 49 |
} |
chris@0 | 50 |
} |