public class SocketLogger extends BaseLogger
| Modifier and Type | Field and Description |
|---|---|
static int |
iQUEUESIZE |
static String |
PARAM_IPADDDR |
static String |
PARAM_PORTID |
PARAM_EXCEPTIONS, PARAM_SHOW, VALUE_SHOW_ALL, VALUE_SHOW_EXCEPTIONS, VALUE_SHOW_INFO, VALUE_SHOW_TERMINATED| Constructor and Description |
|---|
SocketLogger() |
| Modifier and Type | Method and Description |
|---|---|
void |
doLog(Level level,
String msgText,
Message as2Msg) |
protected void |
doLog(Throwable t,
boolean terminated) |
protected String |
getShowDefaults() |
void |
init(Session session,
Map<String,String> parameters)
Component lifecycle hook.
|
void |
sendToSocket(String msgText) |
getFormatter, isLogging, isShowing, log, log, setFormatterdestroy, getName, getParameter, getParameter, getParameterInt, getParameters, getSession, setParameter, setParameterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getName, getParameters, getSessionpublic static final String PARAM_PORTID
public static final String PARAM_IPADDDR
public static final int iQUEUESIZE
public void init(Session session, Map<String,String> parameters) throws OpenAS2Exception
Componentinit in interface Componentinit in class BaseComponentsession - the component uses this object to access other componentsparameters - configuration values for the componentOpenAS2Exception - If an error occurs while initializing the componentSessionpublic void doLog(Level level, String msgText, Message as2Msg)
doLog in class BaseLoggerpublic void sendToSocket(String msgText)
protected String getShowDefaults()
getShowDefaults in class BaseLoggerprotected void doLog(Throwable t, boolean terminated)
doLog in class BaseLoggerCopyright © 2017. All rights reserved.