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
@NotThreadSafe public class AsyncMessageProcessor extends AbstractMessageProcessor
An implementation ofAbstractMessageProcessorthat 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
Constructors Constructor Description AsyncMessageProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)com.helger.commons.callback.CallbackList<com.helger.commons.callback.exception.IExceptionCallback<Throwable>>exceptionCallbacks()protected ThreadgetProcessortThread()voidhandle(String sAction, IMessage aMsg, Map<String,Object> aOptions)inthashCode()-
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
-
-
-
-
Method Detail
-
exceptionCallbacks
@Nonnull @ReturnsMutableObject public final com.helger.commons.callback.CallbackList<com.helger.commons.callback.exception.IExceptionCallback<Throwable>> exceptionCallbacks()
-
handle
public void handle(@Nonnull String sAction, @Nonnull IMessage aMsg, @Nullable Map<String,Object> aOptions) throws AS2Exception
- Throws:
AS2Exception
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractMessageProcessor
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractMessageProcessor
-
-