Package com.helger.as2lib.processor
Class AsyncMessageProcessor
java.lang.Object
com.helger.as2lib.AbstractDynamicComponent
com.helger.as2lib.processor.AbstractMessageProcessor
com.helger.as2lib.processor.AsyncMessageProcessor
- All Implemented Interfaces:
IDynamicComponent
,IMessageProcessor
An implementation of
AbstractMessageProcessor
that uses a separate
thread for performing the main actions.- Author:
- Philip Helger
-
Field Summary
Fields inherited from class com.helger.as2lib.AbstractDynamicComponent
m_aRWLock
Fields inherited from interface com.helger.as2lib.processor.IMessageProcessor
ATTR_PENDINGMDN, ATTR_PENDINGMDNINFO
-
Constructor Summary
-
Method Summary
Methods inherited from class com.helger.as2lib.processor.AbstractMessageProcessor
addModule, executeAction, getAllActiveModules, getAllModules, getAllModulesOfClass, getModuleCount, getModuleOfClass, removeModule, startActiveModules, stopActiveModules
Methods inherited from class com.helger.as2lib.AbstractDynamicComponent
attrs, getAttributeAsIntRequired, getAttributeAsStringRequired, getName, getSession, initDynamicComponent, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.helger.as2lib.IDynamicComponent
attrs, getName, getSession, initDynamicComponent
Methods inherited from interface com.helger.as2lib.processor.IMessageProcessor
getPendingMDNFolder, getPendingMDNInfoFolder, setPendingMDNFolder, setPendingMDNInfoFolder
-
Constructor Details
-
AsyncMessageProcessor
public AsyncMessageProcessor()
-
-
Method Details
-
getProcessortThread
-
exceptionCallbacks
-
handle
public void handle(@Nonnull String sAction, @Nonnull IMessage aMsg, @Nullable Map<String, Object> aOptions) throws AS2Exception- Throws:
AS2Exception
-
equals
- Overrides:
equals
in classAbstractMessageProcessor
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractMessageProcessor
-