Savarese.Org HomeORO HomeSavarese.Org/ORO Logo

com.oroinc.net.nntp
Class NNTPCommand

java.lang.Object
  |
  +--com.oroinc.net.nntp.NNTPCommand

public final class NNTPCommand
extends java.lang.Object

NNTPCommand stores a set of constants for NNTP command codes. To interpret the meaning of the codes, familiarity with RFC 977 is assumed.

Author:
Daniel F. Savarese

Field Summary
static int ARTICLE
           
static int BODY
           
static int GROUP
           
static int HEAD
           
static int HELP
           
static int IHAVE
           
static int LAST
           
static int LIST
           
static int NEWGROUPS
           
static int NEWNEWS
           
static int NEXT
           
static int POST
           
static int QUIT
           
static int SLAVE
           
static int STAT
           
 
Method Summary
static java.lang.String getCommand(int command)
          Retrieve the NNTP protocol command string corresponding to a specified command code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARTICLE

public static final int ARTICLE

BODY

public static final int BODY

GROUP

public static final int GROUP

HEAD

public static final int HEAD

HELP

public static final int HELP

IHAVE

public static final int IHAVE

LAST

public static final int LAST

LIST

public static final int LIST

NEWGROUPS

public static final int NEWGROUPS

NEWNEWS

public static final int NEWNEWS

NEXT

public static final int NEXT

POST

public static final int POST

QUIT

public static final int QUIT

SLAVE

public static final int SLAVE

STAT

public static final int STAT
Method Detail

getCommand

public static final java.lang.String getCommand(int command)
Retrieve the NNTP protocol command string corresponding to a specified command code.

Parameters:
The - command code.
Returns:
The NNTP protcol command string corresponding to a specified command code.

Savarese.Org HomeORO HomeSavarese.Org/ORO Logo

Copyright © 1997-2002 Daniel F. Savarese. All Rights Reserved.