public class SSLSocketReceiver extends SocketReceiver implements ch.qos.logback.core.net.ssl.SSLComponent
SocketReceiver that supports SSL.| Constructor and Description |
|---|
SSLSocketReceiver() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.net.SocketFactory |
getSocketFactory()
Gets an
SocketFactory that produces SSL sockets using an
SSLContext that is derived from the receiver's configuration. |
ch.qos.logback.core.net.ssl.SSLConfiguration |
getSsl()
Gets the SSL configuration.
|
void |
setSsl(ch.qos.logback.core.net.ssl.SSLConfiguration ssl)
Sets the SSL configuration.
|
protected boolean |
shouldStart()
Determines whether this receiver should start.
|
connectionFailed, getRunnableTask, newConnector, onStop, run, setAcceptConnectionTimeout, setPort, setReconnectionDelay, setRemoteHostisStarted, start, stopprotected javax.net.SocketFactory getSocketFactory()
SocketFactory that produces SSL sockets using an
SSLContext that is derived from the receiver's configuration.getSocketFactory in class SocketReceiverprotected boolean shouldStart()
Subclasses will implement this method to do any subclass-specific
validation. The subclass's ReceiverBase.getRunnableTask() method will be
invoked (and the task returned will be submitted to the executor)
if and only if this method returns true
shouldStart in class SocketReceiverpublic ch.qos.logback.core.net.ssl.SSLConfiguration getSsl()
getSsl in interface ch.qos.logback.core.net.ssl.SSLComponentpublic void setSsl(ch.qos.logback.core.net.ssl.SSLConfiguration ssl)
setSsl in interface ch.qos.logback.core.net.ssl.SSLComponentssl - the SSL configuration to set