Component, ActiveModule, ProcessorModule, ReceiverModuleDirectoryPollingModulepublic abstract class PollingModule extends MessageBuilderModule
PARAM_DEFAULTS, PARAM_DELIMITERS, PARAM_ERROR_DIRECTORY, PARAM_FORMAT, PARAM_MIMETYPE, PARAM_RESEND_MAX_RETRIES, PARAM_SENT_DIRECTORY| Constructor | Description |
|---|---|
PollingModule() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
doStart() |
|
void |
doStop() |
|
void |
init(Session session,
Map<String,String> options) |
Component lifecycle hook.
|
abstract void |
poll() |
healthcheck, isRunning, start, stopcanHandle, forceStop, handle, healthcheck, isRunning, start, stop, toStringdestroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameterdestroy, getName, getParameters, getSessionbuildMessageData, buildMessageMetadata, createMessage, processDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanHandle, handlepublic void init(Session session, Map<String,String> options) throws OpenAS2Exception
Componentinit in interface Componentinit in class MessageBuilderModulesession - the component uses this object to access other componentsoptions - configuration values for the componentOpenAS2Exception - If an error occurs while initializing the componentSessionpublic abstract void poll()
public void doStart()
throws OpenAS2Exception
doStart in class BaseActiveModuleOpenAS2Exceptionpublic void doStop()
throws OpenAS2Exception
doStop in class BaseActiveModuleOpenAS2ExceptionCopyright © 2018. All rights reserved.