|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jscape.inet.smtp.SmtpAdapter
Implements methods for capturing events sourced from Smtp class. This class
is intended to provide vertical compatibility with SmtpListener interface.
Typicaly your application will use this class instead of SmtpListener
interface to capture the following events :
SmtpConnectedEventSmtpDisconnectedEventSmtpCommandEventSmtpResponseEvent
| Constructor Summary | |
SmtpAdapter()
|
|
| Method Summary | |
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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SmtpAdapter()
| Method Detail |
public void connected(SmtpConnectedEvent event)
connected in interface SmtpListenerevent - a SmtpConnectedEventSmtpConnectedEventpublic void disconnected(SmtpDisconnectedEvent event)
disconnected in interface SmtpListenerevent - a SmtpDisconnectedEventSmtpDisconnectedEventpublic void commandSent(SmtpCommandEvent event)
commandSent in interface SmtpListenerevent - a SmtpCommandEventSmtpCommandEventpublic void responseReceived(SmtpResponseEvent event)
responseReceived in interface SmtpListenerevent - a SmtpResponseEventSmtpResponseEvent
|
Secure iNet Factory | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||