|
Sun Adapter for e-Mail API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EmailClientApplication
Email Application interface.
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. |
Method Detail |
---|
EmailMessage getEmailMessage() throws EmailApplicationException
EmailApplicationException
- upon error.EmailConfiguration getEmailConfiguration() throws EmailApplicationException
EmailApplicationException
- upon error.void sendMessage() throws EmailApplicationException
EmailApplicationException
- upon error.getEmailMessage()
void receiveMessage() throws EmailApplicationException
EmailApplicationException
- upon error.#getEmailMessage.
boolean hasMessage() throws EmailApplicationException
configuration
- The EmailConfiguration instance containing
connection specific information.
EmailApplicationException
- upon error.receiveMessage()
void reset() throws EmailApplicationException
EmailApplicationException
- upon error.
|
Sun Adapter for e-Mail API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |