|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAMETAS.util.context.AMETASMessageRetriever
Retrieves messages from the mailbox. This enhances the standard retrieving mechanism.
| Constructor Summary | |
AMETASMessageRetriever(AMETASPlaceUser pu)
Constructor. |
|
AMETASMessageRetriever(AMETASPlaceUser pu,
boolean bRecordMessageIDs)
Constructor. |
|
AMETASMessageRetriever(AMETASPlaceUser pu,
boolean bRecordMessageIDs,
AMETASRetrievePolicy rp)
Constructor. |
|
| Method Summary | |
AMETASMessage |
getNextMessage()
Returns the next message. |
AMETASMessage |
getRecentMessage()
Delivers the message most recently retrieved by getNextMessage. |
boolean |
pushbackLastMessage()
Pushes back the recently retrieved message. |
void |
setRetrievePolicy(AMETASRetrievePolicy rp)
Sets the retrieve policy for messages. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AMETASMessageRetriever(AMETASPlaceUser pu)
pu - Reference to the Place User.
public AMETASMessageRetriever(AMETASPlaceUser pu,
boolean bRecordMessageIDs)
pu - Reference to the Place User.bRecordMessageIDs - If true, the message IDs will be recorded so that
multiple message reads (for undeletable messages) are avoided.
public AMETASMessageRetriever(AMETASPlaceUser pu,
boolean bRecordMessageIDs,
AMETASRetrievePolicy rp)
pu - Reference to the Place User.bRecordMessageIDs - If true, the message IDs will be recorded so that
multiple message reads (for undeletable messages) are avoided.rp - Retrieve policy for getting messages.| Method Detail |
public void setRetrievePolicy(AMETASRetrievePolicy rp)
rp - Retrieve policy.public AMETASMessage getNextMessage()
public AMETASMessage getRecentMessage()
public boolean pushbackLastMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||