Package com.icegreen.greenmail.pop3
Class Pop3Connection
- java.lang.Object
-
- com.icegreen.greenmail.pop3.Pop3Connection
-
public class Pop3Connection extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
log
-
Constructor Summary
Constructors Constructor Description Pop3Connection(Pop3Handler handler, java.net.Socket socket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.lang.String
getClientAddress()
void
print(java.io.Reader in)
void
println()
void
println(java.lang.String line)
void
quit()
java.lang.String
readLine()
-
-
-
Constructor Detail
-
Pop3Connection
public Pop3Connection(Pop3Handler handler, java.net.Socket socket) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
close
public void close() throws java.io.IOException
- Throws:
java.io.IOException
-
quit
public void quit()
-
println
public void println(java.lang.String line)
-
println
public void println()
-
print
public void print(java.io.Reader in) throws java.io.IOException
- Throws:
java.io.IOException
-
readLine
public java.lang.String readLine() throws java.io.IOException
- Throws:
java.io.IOException
-
getClientAddress
public java.lang.String getClientAddress()
-
-