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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
finish
(MailboxReader.Context<T> context) Called once after iterating finished, regardless of error.void
init
(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, wait
Methods inherited from interface ch.tocco.nice2.messaging.mail.api.MailboxReaderHandler
onMessage
-
Constructor Details
-
AbstractMailboxReaderHandler
public AbstractMailboxReaderHandler()
-
-
Method Details
-
init
Description copied from interface:MailboxReaderHandler
Called once before the reading process starts.- Specified by:
init
in interfaceMailboxReaderHandler<T>
-
finish
Description copied from interface:MailboxReaderHandler
Called once after iterating finished, regardless of error.- Specified by:
finish
in interfaceMailboxReaderHandler<T>
-