public abstract class PollingModule extends MessageBuilderModule
PARAM_DEFAULTS, PARAM_DELIMITERS, PARAM_ERROR_DIRECTORY, PARAM_FORMAT, PARAM_MIMETYPE, PARAM_RESEND_MAX_RETRIES, PARAM_SENT_DIRECTORY| Constructor and Description |
|---|
PollingModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
doStart() |
void |
doStop() |
void |
init(Session session,
Map<String,String> options)
Component lifecycle hook.
|
abstract void |
poll() |
buildMessageData, buildMessageMetadata, createMessage, processDocumentcanHandle, forceStop, handle, healthcheck, isRunning, start, stop, toStringdestroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithealthcheck, isRunning, start, stopcanHandle, handledestroy, getName, getParameters, getSessionpublic 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.