|
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
public class 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 :
SmtpConnectedEvent
SmtpDisconnectedEvent
SmtpCommandEvent
SmtpResponseEvent
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 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
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |