|
jSyncManager Simple Java Server | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageStoreInterface
An interface to define the methods used to store and retrieve messages from some medium.
Method Summary | |
---|---|
Message[] |
getMessages(User user)
Returns an array of all the messages stored in a valid user's mbox. |
void |
storeMessage(Message msg,
Address to)
Stores a single Message object to some medium where it can later be retrieved. |
void |
storeMessages(Message[] msgs)
Stores an array of Message objects to some medium where they can later be retrieved. |
Method Detail |
---|
Message[] getMessages(User user) throws java.io.IOException
user
- the User who's messages will be retrieved.
java.io.IOException
void storeMessages(Message[] msgs) throws java.io.IOException
msgs
- the array of Message objects which will each be stored.
java.io.IOException
- exceptionvoid storeMessage(Message msg, Address to) throws java.io.IOException
msg
- the Message object which will be stored.
java.io.IOException
- exception
|
jSyncManager Simple Java Server | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |