ePOST API

rice.email.proxy.smtp.commands
Class HeloCommand

java.lang.Object
  extended by rice.email.proxy.smtp.commands.SmtpCommand
      extended by rice.email.proxy.smtp.commands.HeloCommand
Direct Known Subclasses:
EhloCommand

public class HeloCommand
extends SmtpCommand

EHLO/HELO command.

TODO: What does HELO do if it's already been called before?

The spec is at http://asg.web.cmu.edu/rfc/rfc2821.html#sec-4.1.1.1 .


Constructor Summary
HeloCommand()
           
 
Method Summary
 boolean authenticationRequired()
           
 void execute(SmtpConnection conn, SmtpState state, SmtpManager manager, java.lang.String commandLine)
           
protected  void extractHeloName(SmtpConnection conn, java.lang.String commandLine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeloCommand

public HeloCommand()
Method Detail

authenticationRequired

public boolean authenticationRequired()
Specified by:
authenticationRequired in class SmtpCommand

execute

public void execute(SmtpConnection conn,
                    SmtpState state,
                    SmtpManager manager,
                    java.lang.String commandLine)
Specified by:
execute in class SmtpCommand

extractHeloName

protected void extractHeloName(SmtpConnection conn,
                               java.lang.String commandLine)

ePOST API

Copyright © 2001-2005 - Rice Pastry.