Package ch.qos.logback.classic.net
Class SSLSocketReceiver
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.classic.net.ReceiverBase
-
- ch.qos.logback.classic.net.SocketReceiver
-
- ch.qos.logback.classic.net.SSLSocketReceiver
-
- All Implemented Interfaces:
SocketConnector.ExceptionHandler,SSLComponent,ContextAware,LifeCycle,java.lang.Runnable
public class SSLSocketReceiver extends SocketReceiver implements SSLComponent
ASocketReceiverthat supports SSL.
-
-
Constructor Summary
Constructors Constructor Description SSLSocketReceiver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SSLConfigurationgetSsl()Gets the SSL configuration.voidsetSsl(SSLConfiguration ssl)Sets the SSL configuration.-
Methods inherited from class ch.qos.logback.classic.net.SocketReceiver
connectionFailed, run, setAcceptConnectionTimeout, setPort, setReconnectionDelay, setRemoteHost
-
Methods inherited from class ch.qos.logback.classic.net.ReceiverBase
isStarted, start, stop
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
-
-
-
-
Method Detail
-
getSsl
public SSLConfiguration getSsl()
Gets the SSL configuration.- Specified by:
getSslin interfaceSSLComponent- 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:
setSslin interfaceSSLComponent- Parameters:
ssl- the SSL configuration to set
-
-