Class SSLServerSocketReceiver
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.classic.net.ReceiverBase
ch.qos.logback.classic.net.server.ServerSocketReceiver
ch.qos.logback.classic.net.server.SSLServerSocketReceiver
- All Implemented Interfaces:
SSLComponent, ContextAware, LifeCycle
A
ServerSocketReceiver that supports SSL.-
Field Summary
FieldsFields inherited from class ServerSocketReceiver
DEFAULT_BACKLOGFields inherited from class ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ServerSocketFactoryGets the server socket factory.getSsl()Gets the server's SSL configuration.voidsetSsl(SSLConfiguration ssl) Gets the server's SSL configuration.Methods inherited from class ServerSocketReceiver
createServerListener, createServerRunner, getAddress, getBacklog, getInetAddress, getPort, getRunnableTask, onStop, setAddress, setBacklog, setPort, shouldStartMethods inherited from class ReceiverBase
isStarted, start, stopMethods inherited from class ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Field Details
-
ssl
-
socketFactory
-
-
Constructor Details
-
SSLServerSocketReceiver
public SSLServerSocketReceiver()
-
-
Method Details
-
getServerSocketFactory
Gets the server socket factory.Subclasses may override to provide a custom factory.
- Overrides:
getServerSocketFactoryin classServerSocketReceiver- Returns:
- server socket factory
- Throws:
Exception
-
getSsl
Gets the server's SSL configuration.- Specified by:
getSslin interfaceSSLComponent- Returns:
- SSL configuration; if no SSL configuration was provided a default configuration is returned
-
setSsl
Gets the server's SSL configuration.- Specified by:
setSslin interfaceSSLComponent- Parameters:
ssl- the SSL configuration to set.
-