public class SmtpHandler extends AbstractSocketProtocolHandler
| Modifier and Type | Field and Description |
|---|---|
protected SmtpConnection |
conn |
protected String |
currentLine |
protected SmtpManager |
manager |
protected SmtpCommandRegistry |
registry |
protected SmtpState |
state |
closeMonitor, log, quitting, socket| Constructor and Description |
|---|
SmtpHandler(SmtpCommandRegistry registry,
SmtpManager manager,
Socket socket) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
commandLegalSize() |
protected void |
handleCommand() |
void |
run() |
protected void |
sendGreetings() |
close, getSoTimeout, isQuitting, setQuittingprotected SmtpCommandRegistry registry
protected SmtpManager manager
protected SmtpConnection conn
protected SmtpState state
protected String currentLine
public SmtpHandler(SmtpCommandRegistry registry, SmtpManager manager, Socket socket)
public void run()
protected void sendGreetings()
protected void handleCommand()
throws IOException
IOExceptionprotected boolean commandLegalSize()
Copyright © 2006–2022 Icegreen Technologies. All rights reserved.