public class SmtpAdapter extends java.lang.Object implements SmtpListener
SmtpConnectedEvent
SmtpDisconnectedEvent
SmtpCommandEvent
SmtpResponseEvent
Constructor and Description |
---|
SmtpAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
commandSent(SmtpCommandEvent event)
Invoked when command is sent to the SMTP server
|
void |
connected(SmtpConnectedEvent event)
Invoked when connection to SMTP server is established.
|
void |
disconnected(SmtpDisconnectedEvent event)
Invoked when connection to SMTP server is released.
|
void |
responseReceived(SmtpResponseEvent event)
Invoked when a response is received from SMTP server
|
public void connected(SmtpConnectedEvent event)
connected
in interface SmtpListener
event
- a SmtpConnectedEvent
SmtpConnectedEvent
public void disconnected(SmtpDisconnectedEvent event)
disconnected
in interface SmtpListener
event
- a SmtpDisconnectedEvent
SmtpDisconnectedEvent
public void commandSent(SmtpCommandEvent event)
commandSent
in interface SmtpListener
event
- a SmtpCommandEvent
SmtpCommandEvent
public void responseReceived(SmtpResponseEvent event)
responseReceived
in interface SmtpListener
event
- a SmtpResponseEvent
SmtpResponseEvent
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved