Component, ActiveModule, ProcessorModule, ReceiverModuleAS2MDNReceiverModule, AS2ReceiverModule, HealthCheckModulepublic abstract class NetModule extends BaseReceiverModule
| Modifier and Type | Class | Description |
|---|---|---|
protected class |
NetModule.ConnectionHandler |
|
protected class |
NetModule.HTTPServerThread |
| Modifier and Type | Field | Description |
|---|---|---|
static String |
DEFAULT_ERRORS |
|
static String |
PARAM_ADDRESS |
|
static String |
PARAM_ERROR_DIRECTORY |
|
static String |
PARAM_ERRORS |
|
static String |
PARAM_PORT |
|
static String |
PARAM_PROTOCOL |
|
static String |
PARAM_SSL_KEYSTORE |
|
static String |
PARAM_SSL_KEYSTORE_PASSWORD |
|
static String |
PARAM_SSL_PROTOCOL |
| Constructor | Description |
|---|---|
NetModule() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
doStart() |
|
void |
doStop() |
|
protected abstract NetModuleHandler |
getHandler() |
|
protected void |
handleError(Message msg,
OpenAS2Exception oae) |
|
boolean |
healthcheck(List<String> failures) |
When invoked, the module must run a self check to verify it is functioning correctly.
|
void |
init(Session session,
Map<String,String> options) |
Component lifecycle hook.
|
isRunning, start, stopcanHandle, forceStop, handle, isRunning, start, stop, toStringdestroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameterdestroy, getName, getParameters, getSessionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanHandle, handlepublic static final String PARAM_ADDRESS
public static final String PARAM_PORT
public static final String PARAM_PROTOCOL
public static final String PARAM_SSL_KEYSTORE
public static final String PARAM_SSL_KEYSTORE_PASSWORD
public static final String PARAM_SSL_PROTOCOL
public static final String PARAM_ERROR_DIRECTORY
public static final String PARAM_ERRORS
public static final String DEFAULT_ERRORS
public void doStart()
throws OpenAS2Exception
doStart in class BaseActiveModuleOpenAS2Exceptionpublic void doStop()
throws OpenAS2Exception
doStop in class BaseActiveModuleOpenAS2Exceptionpublic void init(Session session, Map<String,String> options) throws OpenAS2Exception
Componentinit in interface Componentinit in class BaseComponentsession - the component uses this object to access other componentsoptions - configuration values for the componentOpenAS2Exception - If an error occurs while initializing the componentSessionpublic boolean healthcheck(List<String> failures)
ActiveModulehealthcheck in interface ActiveModulehealthcheck in class BaseActiveModulefailures - - a list of failures if any occurprotected abstract NetModuleHandler getHandler()
protected void handleError(Message msg, OpenAS2Exception oae)
Copyright © 2018. All rights reserved.