rice.email.proxy.smtp
Class SmtpConnection
java.lang.Object
rice.email.proxy.smtp.SmtpConnection
-
public class SmtpConnection
- extends java.lang.Object
Field Summary |
java.io.StreamTokenizer |
in
|
protected Logger |
logger
|
java.io.PrintWriter |
out
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected Logger logger
out
public java.io.PrintWriter out
in
public java.io.StreamTokenizer in
SmtpConnection
public SmtpConnection(rice.email.proxy.smtp.SmtpHandler handler,
java.net.Socket sock,
SmtpServer server)
throws java.io.IOException
-
Throws:
java.io.IOException
getServer
public SmtpServer getServer()
-
getTokenizer
public java.io.StreamTokenizer getTokenizer()
-
println
public void println(java.lang.String line)
-
readLine
public java.lang.String readLine()
throws java.io.IOException
-
-
Throws:
java.io.IOException
getClientAddress
public java.lang.String getClientAddress()
-
getServerAddress
public java.net.InetAddress getServerAddress()
-
getServerGreetingsName
public java.lang.String getServerGreetingsName()
-
getHeloName
public java.lang.String getHeloName()
-
setHeloName
public void setHeloName(java.lang.String n)
-
quit
public void quit()
-
isLocal
public boolean isLocal()
throws java.io.IOException
-
-
Throws:
java.io.IOException
Copyright © 2001-2005 - Rice Pastry.