public abstract class AbstractActiveModule extends AbstractProcessorModule implements IProcessorActiveModule
IProcessorActiveModule derived from
AbstractProcessorModule.m_aRWLock| Constructor and Description |
|---|
AbstractActiveModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
abstract void |
doStart()
Implement the internal start logic.
|
abstract void |
doStop()
Implement the internal stop logic.
|
boolean |
equals(Object o) |
void |
forceStop(Exception aCause) |
void |
handle(String sAction,
IMessage aMsg,
Map<String,Object> aOptions) |
int |
hashCode() |
boolean |
isRunning() |
void |
start() |
void |
stop() |
String |
toString() |
attrs, getAttributeAsIntRequired, getAttributeAsStringRequired, getName, getSession, initDynamicComponentclone, finalize, getClass, notify, notifyAll, wait, wait, waitattrs, getName, getSession, initDynamicComponentpublic final boolean isRunning()
isRunning in interface IProcessorActiveModule@OverrideOnDemand public boolean canHandle(@Nonnull String sAction, @Nonnull IMessage aMsg, @Nullable Map<String,Object> aOptions)
canHandle in interface IProcessorModulepublic void handle(@Nonnull String sAction, @Nonnull IMessage aMsg, @Nullable Map<String,Object> aOptions) throws AS2Exception
handle in interface IProcessorModuleAS2Exceptionpublic abstract void doStart()
throws AS2Exception
AS2Exception - In case of an error.public void start()
throws AS2Exception
start in interface IProcessorActiveModuleAS2Exceptionpublic abstract void doStop()
throws AS2Exception
AS2Exception - In case of an error.public void stop()
throws AS2Exception
stop in interface IProcessorActiveModuleAS2Exceptionpublic boolean equals(Object o)
equals in class AbstractDynamicComponentpublic int hashCode()
hashCode in class AbstractDynamicComponentpublic String toString()
toString in class AbstractDynamicComponentCopyright © 2013–2022 Philip Helger. All rights reserved.