Class AbstractActiveNetModule
java.lang.Object
com.helger.as2lib.AbstractDynamicComponent
com.helger.as2lib.processor.module.AbstractProcessorModule
com.helger.as2lib.processor.module.AbstractActiveModule
com.helger.as2lib.processor.receiver.AbstractActiveReceiverModule
com.helger.as2lib.processor.receiver.AbstractActiveNetModule
- All Implemented Interfaces:
IDynamicComponent
,IProcessorActiveModule
,IProcessorModule
,IProcessorReceiverModule
- Direct Known Subclasses:
AS2MDNReceiverModule
,AS2ReceiverModule
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final class
protected static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
Attribute name for quoting header values (boolean)static final String
static final boolean
Default quote header values: falsestatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class com.helger.as2lib.AbstractDynamicComponent
m_aRWLock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract INetModuleHandler
void
doStart()
Implement the internal start logic.void
doStop()
Implement the internal stop logic.boolean
final String
final String
final String
final int
getPort()
void
handleError
(IMessage aMsg, AS2Exception aSrcEx) int
hashCode()
final boolean
final boolean
final void
setAddress
(String sAddress) final void
setErrorDirectory
(String sErrorDirectory) final void
setErrorFormat
(String sErrorFormat) final void
setErrorStoreBody
(boolean bErrorStoreBody) final void
setPort
(int nPort) final void
setQuoteHeaderValues
(boolean bQuoteHeaderValues) Methods inherited from class com.helger.as2lib.processor.module.AbstractActiveModule
canHandle, forceStop, handle, isRunning, start, stop, toString
Methods inherited from class com.helger.as2lib.AbstractDynamicComponent
attrs, getAttributeAsIntRequired, getAttributeAsStringRequired, getName, getSession, initDynamicComponent
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.module.IProcessorActiveModule
isRunning, start, stop
Methods inherited from interface com.helger.as2lib.processor.module.IProcessorModule
canHandle, handle
-
Field Details
-
ATTR_ADDRESS
- See Also:
-
ATTR_PORT
- See Also:
-
ATTR_ERROR_DIRECTORY
- See Also:
-
ATTR_ERROR_FORMAT
- See Also:
-
DEFAULT_ERROR_FORMAT
- See Also:
-
ATTR_ERROR_STORE_BODY
- See Also:
-
ATTR_QUOTE_HEADER_VALUES
Attribute name for quoting header values (boolean)- See Also:
-
DEFAULT_QUOTE_HEADER_VALUES
public static final boolean DEFAULT_QUOTE_HEADER_VALUESDefault quote header values: false- See Also:
-
MSG_SENDER
- See Also:
-
MSG_RECEIVER
- See Also:
-
MSG_DATE
- See Also:
-
MSG_SUBJECT
- See Also:
-
MSG_SOURCE_ADDRESS
- See Also:
-
DP_HEADER
- See Also:
-
DP_DECRYPTED
- See Also:
-
DP_VERIFIED
- See Also:
-
DISP_PARTNERSHIP_NOT_FOUND
- See Also:
-
DISP_PARSING_MIME_FAILED
- See Also:
-
DISP_DECRYPTION_ERROR
- See Also:
-
DISP_DECOMPRESSION_ERROR
- See Also:
-
DISP_VERIFY_SIGNATURE_FAILED
- See Also:
-
DISP_VALIDATION_FAILED
- See Also:
-
DISP_STORAGE_FAILED
- See Also:
-
DISP_SUCCESS
- See Also:
-
-
Constructor Details
-
AbstractActiveNetModule
public AbstractActiveNetModule()
-
-
Method Details
-
getAddress
-
setAddress
-
getPort
public final int getPort() -
setPort
public final void setPort(int nPort) -
getErrorDirectory
-
setErrorDirectory
-
getErrorFormat
-
setErrorFormat
-
isErrorStoreBody
public final boolean isErrorStoreBody() -
setErrorStoreBody
public final void setErrorStoreBody(boolean bErrorStoreBody) -
isQuoteHeaderValues
public final boolean isQuoteHeaderValues() -
setQuoteHeaderValues
public final void setQuoteHeaderValues(boolean bQuoteHeaderValues) -
doStart
Description copied from class:AbstractActiveModule
Implement the internal start logic.- Specified by:
doStart
in classAbstractActiveModule
- Throws:
AS2Exception
- In case of an error.
-
doStop
Description copied from class:AbstractActiveModule
Implement the internal stop logic.- Specified by:
doStop
in classAbstractActiveModule
- Throws:
AS2Exception
- In case of an error.
-
createHandler
-
handleError
-
equals
- Overrides:
equals
in classAbstractActiveModule
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractActiveModule
-