Class AbstractMailboxReaderHandler<T>
java.lang.Object
ch.tocco.nice2.messaging.mail.api.AbstractMailboxReaderHandler<T>
- All Implemented Interfaces:
MailboxReaderHandler<T>
- Direct Known Subclasses:
CompositeMailReaderHandler,IncomeMailHandler,LoggingHandler,MailProcessorHandler,MessageDeleteHandler
public abstract class AbstractMailboxReaderHandler<T>
extends Object
implements MailboxReaderHandler<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinish(MailboxReader.Context<T> context) Called once after iterating finished, regardless of error.voidinit(MailboxReader.Context<T> context) Called once before the reading process starts.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.messaging.mail.api.MailboxReaderHandler
onMessage
-
Constructor Details
-
AbstractMailboxReaderHandler
public AbstractMailboxReaderHandler()
-
-
Method Details
-
init
Description copied from interface:MailboxReaderHandlerCalled once before the reading process starts.- Specified by:
initin interfaceMailboxReaderHandler<T>
-
finish
Description copied from interface:MailboxReaderHandlerCalled once after iterating finished, regardless of error.- Specified by:
finishin interfaceMailboxReaderHandler<T>
-