|
Sun Adapter for e-Mail API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stc.connector.emailadapter.appconn.EmailClientApplicationImpl
public class EmailClientApplicationImpl
Implements EmailClientApplication which exposes the email client application.
| Constructor Summary | |
|---|---|
EmailClientApplicationImpl(EmailApplicationConnection appConn)
Constructor. |
|
| Method Summary | |
|---|---|
EmailConfiguration |
getEmailConfiguration()
Get the EmailConfiguration object for setting Email connection information. |
EmailMessage |
getEmailMessage()
Get the EmailMessage instance. |
boolean |
hasMessage()
Determines whether there are any message(s) to be received. |
void |
receiveMessage()
Receives the next email message. |
void |
reset()
Initializes the email configuration to the default configuration and initializes the email message to an empty message. |
void |
sendMessage()
Sends the email message set in the EmailMessage. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmailClientApplicationImpl(EmailApplicationConnection appConn)
throws EmailApplicationException
appConn - The EmailApplicationConnection instance.
EmailApplicationException - upon error.| Method Detail |
|---|
public EmailMessage getEmailMessage()
throws EmailApplicationException
getEmailMessage in interface EmailClientApplicationEmailApplicationException - upon error.
public EmailConfiguration getEmailConfiguration()
throws EmailApplicationException
getEmailConfiguration in interface EmailClientApplicationEmailApplicationException - upon error.
public void sendMessage()
throws EmailApplicationException
sendMessage in interface EmailClientApplicationEmailApplicationException - upon error.getEmailMessage()
public void receiveMessage()
throws EmailApplicationException
receiveMessage in interface EmailClientApplicationEmailApplicationException - upon error.getEmailMessage(),
#hasMessages
public boolean hasMessage()
throws EmailApplicationException
hasMessage in interface EmailClientApplicationconfiguration - The EmailConfiguration instance containing
connection specific information.
EmailApplicationException - upon error.receiveMessage()
public void reset()
throws EmailApplicationException
reset in interface EmailClientApplicationEmailApplicationException - upon error.
|
Sun Adapter for e-Mail API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||