public abstract class NetModule extends BaseReceiverModule
| Modifier and Type | Class and Description |
|---|---|
protected class |
NetModule.ConnectionThread |
protected class |
NetModule.HTTPServerThread |
| Modifier and Type | Field and 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 and Description |
|---|
NetModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
doStart() |
void |
doStop() |
protected abstract NetModuleHandler |
getHandler() |
protected void |
handleError(Message msg,
OpenAS2Exception oae) |
void |
init(Session session,
Map<String,String> options)
Component lifecycle hook.
|
canHandle, forceStop, handle, isRunning, start, stop, toStringdestroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisRunning, start, stopcanHandle, handledestroy, getName, getParameters, getSessionpublic 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 componentSessionprotected abstract NetModuleHandler getHandler()
protected void handleError(Message msg, OpenAS2Exception oae)
Copyright © 2017. All rights reserved.