public abstract class AbstractActiveNetModule extends AbstractActiveReceiverModule
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractActiveNetModule.ConnectionThread |
protected static class |
AbstractActiveNetModule.MainThread |
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_ADDRESS |
static String |
ATTR_ERROR_DIRECTORY |
static String |
ATTR_ERROR_FORMAT |
static String |
ATTR_ERROR_STORE_BODY |
static String |
ATTR_PORT |
static String |
DEFAULT_ERROR_FORMAT |
static String |
DISP_DECOMPRESSION_ERROR |
static String |
DISP_DECRYPTION_ERROR |
static String |
DISP_PARSING_MIME_FAILED |
static String |
DISP_PARTNERSHIP_NOT_FOUND |
static String |
DISP_STORAGE_FAILED |
static String |
DISP_SUCCESS |
static String |
DISP_VALIDATION_FAILED |
static String |
DISP_VERIFY_SIGNATURE_FAILED |
static String |
DP_DECRYPTED |
static String |
DP_HEADER |
static String |
DP_VERIFIED |
static String |
MSG_DATE |
static String |
MSG_RECEIVER |
static String |
MSG_SENDER |
static String |
MSG_SOURCE_ADDRESS |
static String |
MSG_SUBJECT |
m_aRWLock| Constructor and Description |
|---|
AbstractActiveNetModule() |
| Modifier and Type | Method and Description |
|---|---|
abstract INetModuleHandler |
createHandler() |
void |
doStart()
Implement the internal start logic.
|
void |
doStop()
Implement the internal stop logic.
|
void |
handleError(IMessage aMsg,
OpenAS2Exception aSrcEx) |
void |
initDynamicComponent(IAS2Session aSession,
com.helger.commons.collection.attr.IStringMap aOptions)
After creating a Component object, this method should be called to set any
parameters used by the component.
|
canHandle, forceStop, handle, isRunning, start, stop, toStringattrs, equals, getAttributeAsIntRequired, getAttributeAsStringRequired, getName, getSession, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitisRunning, start, stopcanHandle, handleattrs, getName, getSessionpublic static final String ATTR_ADDRESS
public static final String ATTR_PORT
public static final String ATTR_ERROR_DIRECTORY
public static final String ATTR_ERROR_FORMAT
public static final String DEFAULT_ERROR_FORMAT
public static final String ATTR_ERROR_STORE_BODY
public static final String MSG_SENDER
public static final String MSG_RECEIVER
public static final String MSG_DATE
public static final String MSG_SUBJECT
public static final String MSG_SOURCE_ADDRESS
public static final String DP_HEADER
public static final String DP_DECRYPTED
public static final String DP_VERIFIED
public static final String DISP_PARTNERSHIP_NOT_FOUND
public static final String DISP_PARSING_MIME_FAILED
public static final String DISP_DECRYPTION_ERROR
public static final String DISP_DECOMPRESSION_ERROR
public static final String DISP_VERIFY_SIGNATURE_FAILED
public static final String DISP_VALIDATION_FAILED
public static final String DISP_STORAGE_FAILED
public static final String DISP_SUCCESS
public void doStart()
throws OpenAS2Exception
AbstractActiveModuledoStart in class AbstractActiveModuleOpenAS2Exception - In case of an error.public void doStop()
throws OpenAS2Exception
AbstractActiveModuledoStop in class AbstractActiveModuleOpenAS2Exception - In case of an error.public void initDynamicComponent(@Nonnull IAS2Session aSession, @Nullable com.helger.commons.collection.attr.IStringMap aOptions) throws OpenAS2Exception
IDynamicComponentinitDynamicComponent in interface IDynamicComponentinitDynamicComponent in class AbstractDynamicComponentaSession - the component uses this object to access other componentsaOptions - configuration values for the component. All parameters will be
stored as attributes of this component. All attributes existing
before this method is called will be removed!OpenAS2Exception - If an error occurs while initializing the componentInvalidParameterException - If a required parameter is null in the parameters MapIAS2Session@Nonnull public abstract INetModuleHandler createHandler()
public void handleError(@Nonnull IMessage aMsg, @Nonnull OpenAS2Exception aSrcEx)
Copyright © 2013–2019 Philip Helger. All rights reserved.