package noriega.expresso.structures;
/*
* Copyright (c) 1999 Noriega
*
* $Author: ngreen $
* $Date: 1999/04/11 17:38:29 $
* $Id: ExpressoConstants.java,v 1.10 1999/04/11 17:38:29 ngreen Exp $
*/
/**
* A container for a wide variety of constants used throughout the system,
* on both the client and server side.
*
* @author $Author: ngreen $
* Date: $Date: 1999/04/11 17:38:29 $
*/
public class ExpressoConstants {
// ------------ FIELDS ------------
// Server RMI Constants
/** The port to start the rmiregistry
on */
public static final int EXPRESSO_PORT = 5556;
/** The name under which the ExpressoServer
should be
* bound. */
public static final String EXPRESSO_SERVER_NAME = "eXpresso";
// Service Name Constants
/** The name by which the IMAPService
should be stored
* in the ServiceDirectory
.*/
public static final String IMAP_SERVICE_NAME = "IMAP";
/** The name by which the SmtpService
should be stored
* in the ServiceDirectory
.*/
public static final String SMTP_SERVICE_NAME = "SMTP";
/** The name by which the FlagService
should be stored
* in the ServiceDirectory
.*/
public static final String FLAG_SERVICE_NAME = "Set Flags";
// Mailbox Constants
/** The name by which the inbox should be known */
public static final String INBOX_NAME = "INBOX";
/** The name by which the outbox should be known */
public static final String OUTBOX_NAME = "OUTBOX";
/** The name by which the trash should be known */
public static final String TRASH_NAME = "TRASH";
/** The name by which the flag on Message
for whether
* the message is new should be stored. */
public static final String ISNEW_NAME = "IsNew";
/** The name by which the flag on Message
for whether
* the message is read should be stored. */
public static final String ISREAD_NAME = "IsRead";
// POP3 Service Constants
/** The default host to get mail from via POP3Service
*/
public static final String POP_DEFAULT_HOST =
"ralphbunche.rbs.edu";
/** The default port for the POP3Service
*/
public static final int POP_DEFAULT_PORT = 110;
/** The default header size for the POP3Service
*/
public static final int POP_HEADER_SIZE = 7;
/** The line to find "from" in the POP3Service
*/
public static final int POP_FROM = 1;
/** The line to find "to" in the POP3Service
*/
public static final int POP_TO = 2;
/** The line to find "subject" in the POP3Service
*/
public static final int POP_SUBJ = 3;
/** The line to find "date" in the POP3Service
*/
public static final int POP_DATE = 0;
// SMTP Service Constants
/** The default port for the SmtpService
*/
public static final int SMTP_DEFAULT_PORT = 25;
public static final String SMTP_DEFAULT_HOST = "smtp.columbia.edu";
}
/*
* Version Control Log:
* $Log: ExpressoConstants.java,v $
* Revision 1.10 1999/04/11 17:38:29 ngreen
* added SMTP default host
*
* Revision 1.9 1999/04/08 21:25:04 jew23
* Added some more globals.
*
* Revision 1.8 1999/04/07 02:24:11 ngreen
* fully javadoc'd and ready to go!
*
* Revision 1.7 1999/04/06 17:40:20 ngreen
* added more constants
*
* Revision 1.6 1999/04/05 22:10:20 ngreen
* made service names into constants
*
* Revision 1.5 1999/04/05 08:42:23 jew23
* Added SMTP Service Constants.
*
* Revision 1.4 1999/04/03 22:07:06 jew23
* Added constants for POP3 service.
*
* Revision 1.3 1999/04/03 18:58:27 ngreen
* renamed DEFAULT_EXPRESSO_PORT to EXPRESSO_PORT
*
* Revision 1.2 1999/03/29 04:21:02 ngreen
* added some constants for mailbox names
*
* Revision 1.1 1999/03/29 04:00:35 ngreen
* initial checkin
*
*/