|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.abstracthorizon.mercury.smtp.command.SMTPCommand
org.abstracthorizon.mercury.smtp.command.MailCommand
public class MailCommand
MAIL TO command.
Constructor Summary | |
---|---|
MailCommand()
Constructor |
Method Summary | |
---|---|
protected void |
execute(SMTPSession connection)
Executed the command |
protected void |
processMailFrom(SMTPSession connection,
Path path)
Sets from path to the session. |
protected void |
readExtraParameters(SMTPSession connection,
SMTPScanner scanner)
Obtains extra parameters. |
Methods inherited from class org.abstracthorizon.mercury.smtp.command.SMTPCommand |
---|
handleConnection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MailCommand()
Method Detail |
---|
protected void execute(SMTPSession connection) throws CommandException, IOException, ParserException
execute
in class SMTPCommand
connection
- smtp session
CommandException
IOException
ParserException
protected void readExtraParameters(SMTPSession connection, SMTPScanner scanner) throws IOException, ParserException, CommandException
session
- SMTP sessionscanner
- STMP scanner
IOException
- io exception
ParserException
- parsing exception
CommandException
- command exceptionprotected void processMailFrom(SMTPSession connection, Path path) throws IOException
path
- path to be stored in the sessionsession
- SMTP session
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |