org.apache.lenya.inbox
Interface Inbox

All Known Implementing Classes:
XmlSourceInbox

public interface Inbox

An inbox.


Method Summary
 InboxMessage add(Message message)
           
 InboxMessage getMessage(java.lang.String id)
           
 InboxMessage[] getMessages()
           
 void remove(InboxMessage message)
           
 

Method Detail

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.