All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.Nnrpd.NnrpdUtils

java.lang.Object
   |
   +----Acme.Nnrpd.NnrpdUtils

public class NnrpdUtils
extends Object
Constants and static utilities for NNRP daemon.

Fetch the software.
Fetch the entire Acme package.


Variable Index

 o CMD_ARTICLE
 o CMD_AUTHINFO
 o CMD_BODY
 o CMD_DATE
 o CMD_GROUP
 o CMD_HEAD
 o CMD_HELP
 o CMD_IHAVE
 o CMD_LAST
 o CMD_LIST
 o CMD_LISTGROUP
 o CMD_MODE
 o CMD_NEWGROUPS
 o CMD_NEWNEWS
 o CMD_NEXT
 o CMD_POST
 o CMD_QUIT
 o CMD_SLAVE
 o CMD_STAT
 o CMD_XGTITLE
 o CMD_XHDR
 o CMD_XMODE
 o CMD_XOVER
 o CMD_XREPLIC
 o CMD_XTHREAD
 o DEFAULT_ACACHESIZE
The default size of the article cache, in bytes.
 o DEFAULT_MAXARTSIZE
The default maximum-size article to cache, in bytes.
 o DEFAULT_OCACHESIZE
The default size of the overview cache, in entries.
 o DEFAULT_PORT
The default port to listen on and connect to.
 o INT_CHECKGROUPDESCS
How often to check the list of newsgroup descriptions.
 o INT_CHECKGROUPS
How often to check the list of newsgroups.
 o INT_CHECKOVERVIEW
How often to check a group's overview data.
 o INT_IDLETIMEOUT
Idle timeout, in milliseconds.
 o RES_BADCOMMAND
 o RES_NOCURRARTICLE
 o RES_NOCURRGROUP
 o RES_NOSUCHARTICLE
 o RES_NOSUCHARTICLENUM
 o RES_NOSUCHGROUP
 o RES_PROGFAULT
 o RES_SYNTAXERROR
 o RES_UNIMPLEMENTED
 o serverName
 o serverUrl
 o serverVersion

Constructor Index

 o NnrpdUtils()

Method Index

 o readText(DataInputStream)
Read text terminated by a "." on a line by itself.
 o rfc977DateTime(long)
Convert from Java time into YYMMDD MMHHSS GMT format.
 o rfc977DateTime(String, String, boolean, long)
Convert from YYMMDD HHMMSS [GMT] format into Java time.

Variables

 o serverName
 public static final String serverName
 o serverVersion
 public static final String serverVersion
 o serverUrl
 public static final String serverUrl
 o DEFAULT_PORT
 public static final int DEFAULT_PORT
The default port to listen on and connect to.

 o DEFAULT_ACACHESIZE
 public static final int DEFAULT_ACACHESIZE
The default size of the article cache, in bytes.

 o DEFAULT_MAXARTSIZE
 public static final int DEFAULT_MAXARTSIZE
The default maximum-size article to cache, in bytes.

 o DEFAULT_OCACHESIZE
 public static final int DEFAULT_OCACHESIZE
The default size of the overview cache, in entries.

 o INT_IDLETIMEOUT
 public static final long INT_IDLETIMEOUT
Idle timeout, in milliseconds.

 o INT_CHECKGROUPS
 public static final long INT_CHECKGROUPS
How often to check the list of newsgroups.

 o INT_CHECKGROUPDESCS
 public static final long INT_CHECKGROUPDESCS
How often to check the list of newsgroup descriptions.

 o INT_CHECKOVERVIEW
 public static final long INT_CHECKOVERVIEW
How often to check a group's overview data.

 o CMD_ARTICLE
 public static final String CMD_ARTICLE
 o CMD_AUTHINFO
 public static final String CMD_AUTHINFO
 o CMD_BODY
 public static final String CMD_BODY
 o CMD_DATE
 public static final String CMD_DATE
 o CMD_GROUP
 public static final String CMD_GROUP
 o CMD_HEAD
 public static final String CMD_HEAD
 o CMD_HELP
 public static final String CMD_HELP
 o CMD_IHAVE
 public static final String CMD_IHAVE
 o CMD_LAST
 public static final String CMD_LAST
 o CMD_LIST
 public static final String CMD_LIST
 o CMD_LISTGROUP
 public static final String CMD_LISTGROUP
 o CMD_MODE
 public static final String CMD_MODE
 o CMD_NEWGROUPS
 public static final String CMD_NEWGROUPS
 o CMD_NEWNEWS
 public static final String CMD_NEWNEWS
 o CMD_NEXT
 public static final String CMD_NEXT
 o CMD_POST
 public static final String CMD_POST
 o CMD_QUIT
 public static final String CMD_QUIT
 o CMD_SLAVE
 public static final String CMD_SLAVE
 o CMD_STAT
 public static final String CMD_STAT
 o CMD_XGTITLE
 public static final String CMD_XGTITLE
 o CMD_XHDR
 public static final String CMD_XHDR
 o CMD_XMODE
 public static final String CMD_XMODE
 o CMD_XOVER
 public static final String CMD_XOVER
 o CMD_XREPLIC
 public static final String CMD_XREPLIC
 o CMD_XTHREAD
 public static final String CMD_XTHREAD
 o RES_NOSUCHGROUP
 public static final String RES_NOSUCHGROUP
 o RES_NOCURRGROUP
 public static final String RES_NOCURRGROUP
 o RES_NOCURRARTICLE
 public static final String RES_NOCURRARTICLE
 o RES_NOSUCHARTICLENUM
 public static final String RES_NOSUCHARTICLENUM
 o RES_NOSUCHARTICLE
 public static final String RES_NOSUCHARTICLE
 o RES_BADCOMMAND
 public static final String RES_BADCOMMAND
 o RES_UNIMPLEMENTED
 public static final String RES_UNIMPLEMENTED
 o RES_SYNTAXERROR
 public static final String RES_SYNTAXERROR
 o RES_PROGFAULT
 public static final String RES_PROGFAULT

Constructors

 o NnrpdUtils
 public NnrpdUtils()

Methods

 o readText
 public static String readText(DataInputStream din) throws IOException
Read text terminated by a "." on a line by itself.

 o rfc977DateTime
 public static long rfc977DateTime(String dateStr,
                                   String timeStr,
                                   boolean gmt,
                                   long def)
Convert from YYMMDD HHMMSS [GMT] format into Java time.

 o rfc977DateTime
 public static String rfc977DateTime(long time)
Convert from Java time into YYMMDD MMHHSS GMT format.


All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs