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
-
Field Summary
Fields inherited from class AbstractServerSocketAppender
DEFAULT_BACKLOG, DEFAULT_CLIENT_QUEUE_SIZEFields inherited from class AppenderBase
name, startedFields inherited from class ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ServerSocketFactoryGets the factory used to createServerSocketobjects.getSsl()Gets the SSL configuration.voidsetSsl(SSLConfiguration ssl) Sets the SSL configuration.voidstart()Methods inherited from class AbstractServerSocketAppender
append, createServerListener, createServerRunner, getAddress, getBacklog, getClientQueueSize, getInetAddress, getPort, getPST, postProcessEvent, setAddress, setBacklog, setClientQueueSize, setPort, stopMethods inherited from class AppenderBase
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringMethods inherited from class ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Constructor Details
-
SSLServerSocketAppenderBase
public SSLServerSocketAppenderBase()
-
-
Method Details
-
getServerSocketFactory
Description copied from class:AbstractServerSocketAppenderGets the factory used to createServerSocketobjects.The default implementation delegates to
ServerSocketFactory.getDefault(). Subclasses may override to private a different socket factory implementation.- Overrides:
getServerSocketFactoryin classAbstractServerSocketAppender<E>- Returns:
- socket factory.
-
start
-
getSsl
Gets the SSL configuration.- Specified by:
getSslin interfaceSSLComponent- Returns:
- SSL configuration; if no configuration has been set, a default configuration is returned
-
setSsl
Sets the SSL configuration.- Specified by:
setSslin interfaceSSLComponent- Parameters:
ssl- the SSL configuration to set
-