ch.qos.logback.core.net.server
Class SSLServerSocketAppenderBase<E>
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.AppenderBase<E>
ch.qos.logback.core.net.server.AbstractServerSocketAppender<E>
ch.qos.logback.core.net.server.SSLServerSocketAppenderBase<E>
- All Implemented Interfaces:
- Appender<E>, SSLComponent, ContextAware, FilterAttachable<E>, LifeCycle
public abstract class SSLServerSocketAppenderBase<E>
- extends AbstractServerSocketAppender<E>
- implements SSLComponent
This is the base class for module specific ServerSocketAppender
implementations.
- Author:
- Carl Harris
| Methods inherited from class ch.qos.logback.core.net.server.AbstractServerSocketAppender |
append, createServerListener, createServerRunner, getAddress, getBacklog, getClientQueueSize, getInetAddress, getPort, getPST, postProcessEvent, setAddress, setBacklog, setClientQueueSize, setPort, stop |
| Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
SSLServerSocketAppenderBase
public SSLServerSocketAppenderBase()
getServerSocketFactory
protected ServerSocketFactory getServerSocketFactory()
- Description copied from class:
AbstractServerSocketAppender
- Gets the factory used to create
ServerSocket objects.
The default implementation delegates to
ServerSocketFactory.getDefault(). Subclasses may override to
private a different socket factory implementation.
- Overrides:
getServerSocketFactory in class AbstractServerSocketAppender<E>
- Returns:
- socket factory.
start
public void start()
-
- Specified by:
start in interface LifeCycle- Overrides:
start in class AbstractServerSocketAppender<E>
getSsl
public SSLConfiguration getSsl()
- Gets the SSL configuration.
- Specified by:
getSsl in interface SSLComponent
- Returns:
- SSL configuration; if no configuration has been set, a
default configuration is returned
setSsl
public void setSsl(SSLConfiguration ssl)
- Sets the SSL configuration.
- Specified by:
setSsl in interface SSLComponent
- Parameters:
ssl - the SSL configuration to set
Copyright © 2005-2014 QOS.ch. All Rights Reserved.