public interface IMailQueue
Modifier and Type | Method and Description |
---|---|
MailItem |
consume()
Get a mail item from the list and remove it from the queue
|
void |
send(MailItem item)
Put a mail item into the list of the queue
|
int |
size() |
MailItem consume()
void send(MailItem item)
item
- The mail item to add to the queueint size()
Copyright © 2020 City of Paris. All rights reserved.