public class MovingMessage extends Object
acquire().
As soon as it has finished processing, that object must call
releaseContent(). For example usage, see foedus.processing.OutgoingImpl.
| Constructor and Description |
|---|
MovingMessage(Workspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
void |
acquire() |
void |
addRecipient(MailAddress s) |
Reader |
getContent() |
javax.mail.internet.MimeMessage |
getMessage() |
Iterator |
getRecipientIterator() |
MailAddress |
getReturnPath() |
void |
readDotTerminatedContent(BufferedReader in)
Reads the contents of the stream until
<CRLF>.<CRLF> is encountered.
|
void |
releaseContent() |
void |
removeRecipient(MailAddress s) |
void |
setReturnPath(MailAddress fromAddress) |
public MovingMessage(Workspace workspace)
public javax.mail.internet.MimeMessage getMessage()
public Reader getContent() throws IOException
IOExceptionpublic void acquire()
public void releaseContent()
public MailAddress getReturnPath()
public void setReturnPath(MailAddress fromAddress)
public void addRecipient(MailAddress s)
public void removeRecipient(MailAddress s)
public Iterator getRecipientIterator()
public void readDotTerminatedContent(BufferedReader in) throws IOException
IOExceptionCopyright © 2005–2017 Alfresco Software. All rights reserved.