com.icegreen.greenmail.smtp
Class SmtpConnection

java.lang.Object
  extended by com.icegreen.greenmail.smtp.SmtpConnection

public class SmtpConnection
extends Object


Constructor Summary
SmtpConnection(com.icegreen.greenmail.smtp.SmtpHandler handler, Socket sock)
           
 
Method Summary
 String getClientAddress()
           
 String getHeloName()
           
 BufferedReader getReader()
           
 InetAddress getServerAddress()
           
 String getServerGreetingsName()
           
 void println(String line)
           
 void quit()
           
 String readLine()
           
 void setHeloName(String n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmtpConnection

public SmtpConnection(com.icegreen.greenmail.smtp.SmtpHandler handler,
                      Socket sock)
               throws IOException
Throws:
IOException
Method Detail

println

public void println(String line)

getReader

public BufferedReader getReader()

readLine

public String readLine()
                throws IOException
Throws:
IOException

getClientAddress

public String getClientAddress()

getServerAddress

public InetAddress getServerAddress()

getServerGreetingsName

public String getServerGreetingsName()

getHeloName

public String getHeloName()

setHeloName

public void setHeloName(String n)

quit

public void quit()