org.apache.lenya.inbox
Interface Inbox
- All Known Implementing Classes:
- XmlSourceInbox
public interface Inbox
An inbox.
getMessages
InboxMessage[] getMessages()
- Returns:
- All messages in this inbox.
add
InboxMessage add(Message message)
- Parameters:
message
- The message to add.
- Returns:
- The inbox message which wraps the message.
remove
void remove(InboxMessage message)
- Parameters:
message
- The message to remove.
getMessage
InboxMessage getMessage(java.lang.String id)
- Parameters:
id
- The ID.
- Returns:
- The message with this ID.
Copyright © $ Apache Software Foundation. All Rights Reserved.