|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.connector.Connector
com.ibm.di.connector.MailboxConnector
public class MailboxConnector
Simple access to POP/IMAP based mailboxes.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.connector.Connector |
|---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
| Constructor Summary | |
|---|---|
MailboxConnector()
Constructor for the MailboxConnector object |
|
| Method Summary | |
|---|---|
void |
deleteEntry(Entry aEntry,
SearchCriteria aSearch)
Deletes an existing entry. |
Entry |
findEntry(SearchCriteria aSearch)
Finds an existing entry. |
Entry |
getNextEntry()
Gets the next message from an open MailboxConnector object |
String |
getVersion()
Return version information |
void |
initialize(Object aObj)
Reads connector parameter's values and initialize the Connector. |
void |
messagesAdded(javax.mail.event.MessageCountEvent aMce)
Gets notification for added message |
void |
messagesRemoved(javax.mail.event.MessageCountEvent aMce)
Gets notification for removed message |
void |
selectEntries()
Prepare the Connector for sequential read |
void |
terminate()
Terminate the connector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ibm.di.connector.ConnectorInterface |
|---|
getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextClient, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, modEntry, pushback, putEntry, queryOperations, queryReply, querySchema, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminateServer |
| Constructor Detail |
|---|
public MailboxConnector()
| Method Detail |
|---|
public void initialize(Object aObj)
throws Exception
initialize in interface ConnectorInterfaceinitialize in class ConnectoraObj - Null, Socket or ConnectorMode class
Exception - If invalid Connector parameter values are supplied.
public Entry getNextEntry()
throws Exception
getNextEntry in interface ConnectorInterfacegetNextEntry in class ConnectorException - If retrieving the next Entry fails.Connector.selectEntries()public void messagesAdded(javax.mail.event.MessageCountEvent aMce)
messagesAdded in interface javax.mail.event.MessageCountListeneraMce - MessageCountEventpublic void messagesRemoved(javax.mail.event.MessageCountEvent aMce)
messagesRemoved in interface javax.mail.event.MessageCountListeneraMce - MessageCountEvent
public void selectEntries()
throws Exception
selectEntries in interface ConnectorInterfaceselectEntries in class ConnectorException
public Entry findEntry(SearchCriteria aSearch)
throws Exception
findEntry in interface ConnectorInterfacefindEntry in class ConnectoraSearch - The search criteria used to locate the entry to be
modified, search criteria can be /mail.messagenumber,
mail.from, mail.to, mail.cc, mail.subject, mail.messageid
Exception - Any exceptions thrown by the connector's underlying
classes
public void deleteEntry(Entry aEntry,
SearchCriteria aSearch)
throws Exception
deleteEntry in interface ConnectorInterfacedeleteEntry in class ConnectoraEntry - The entry dataaSearch - The search criteria used to locate the entry to be deleted
Exception - Any exceptions thrown by the connector's underlying
classes
public void terminate()
throws Exception
terminate in interface ConnectorInterfaceterminate in class ConnectorExceptionpublic String getVersion()
getVersion in interface VersionInfoInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||