public class DBMailbox extends AbstractMailbox
| Modifier and Type | Field and Description |
|---|---|
protected Connection |
connection |
listeners| Constructor and Description |
|---|
DBMailbox(Connection con,
String propertiesFile) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMessageCount() |
Vector |
getMessages() |
void |
put(Object message) |
void |
remove(Object message) |
void |
removeAll() |
protected Connection connection
public DBMailbox(Connection con, String propertiesFile) throws Exception
Exceptionpublic void put(Object message)
put in interface Mailboxput in class AbstractMailboxpublic Vector getMessages()
getMessages in interface MailboxgetMessages in class AbstractMailboxpublic void remove(Object message)
remove in interface Mailboxremove in class AbstractMailboxpublic int getMessageCount()
public void removeAll()
removeAll in interface MailboxremoveAll in class AbstractMailboxCopyright © 2016 Imatia Innovation S.L.. All rights reserved.