|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.abstracthorizon.mercury.smtp.command.SMTPCommand
public abstract class SMTPCommand
Base SMTP comamnd. It defines handling of exceptions from commands
Constructor Summary | |
---|---|
SMTPCommand()
Constructor |
Method Summary | |
---|---|
protected abstract void |
execute(SMTPSession connection)
Executed the command |
void |
handleConnection(org.abstracthorizon.danube.connection.Connection connection)
Executed the command calling execute(SMTPSession) method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SMTPCommand()
Method Detail |
---|
public void handleConnection(org.abstracthorizon.danube.connection.Connection connection)
execute(SMTPSession)
method
handleConnection
in interface org.abstracthorizon.danube.connection.ConnectionHandler
connection
- smtp sessionprotected abstract void execute(SMTPSession connection) throws CommandException, IOException, ParserException
connection
- smtp session
CommandException
IOException
ParserException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |