|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infoservice.mailsystem.forwarder.MailForwarder
public class MailForwarder
This class reads a mail from the input pipe and forwards it to the mailsystem main process. The port where the main process is listening is read from the configuration file specified in the command line.
Field Summary | |
---|---|
private static int |
BUFFER_SIZE
This is the size of the buffer in bytes used when reading the mail from the input pipe and forwarding it to the main process. |
private static java.lang.String |
DEFAULT_CONFIG_FILE
This is the default name and location of the mailsystem configuration file. |
Constructor Summary | |
---|---|
MailForwarder()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] a_args)
The main method for the mailsystem. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String DEFAULT_CONFIG_FILE
private static final int BUFFER_SIZE
Constructor Detail |
---|
public MailForwarder()
Method Detail |
---|
public static void main(java.lang.String[] a_args) throws java.lang.Exception
a_args
- The command-line options.
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |