ePOST API

rice.email.proxy.smtp
Class SmtpState

java.lang.Object
  extended by rice.email.proxy.smtp.SmtpState

public class SmtpState
extends java.lang.Object


Constructor Summary
SmtpState(Workspace workspace, UserManager manager, Environment env)
           
 
Method Summary
 void clearMessage()
          To destroy a half-contructed message.
 Environment getEnvironment()
           
 MovingMessage getMessage()
           
 java.lang.String getPassword(java.lang.String username)
           
 java.net.InetAddress getRemote()
           
 User getUser()
           
 User getUser(java.lang.String username)
           
 void setRemote(java.net.InetAddress remote)
           
 void setUser(User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmtpState

public SmtpState(Workspace workspace,
                 UserManager manager,
                 Environment env)
Method Detail

getEnvironment

public Environment getEnvironment()

getMessage

public MovingMessage getMessage()

clearMessage

public void clearMessage()
To destroy a half-contructed message.


getUser

public User getUser(java.lang.String username)
             throws UserException
Throws:
UserException

getUser

public User getUser()

getRemote

public java.net.InetAddress getRemote()

setRemote

public void setRemote(java.net.InetAddress remote)

getPassword

public java.lang.String getPassword(java.lang.String username)
                             throws UserException
Throws:
UserException

setUser

public void setUser(User user)
             throws UserException
Throws:
UserException

ePOST API

Copyright © 2001-2005 - Rice Pastry.