Top Description Fields Constructors Methods
ch.qos.logback.core.net.server

public abstract Class SSLServerSocketAppenderBase<E>

extends AbstractServerSocketAppender<E>
implements SSLComponent
Class Inheritance
All Implemented Interfaces
ch.qos.logback.core.net.ssl.SSLComponent
Imports
javax.net.ServerSocketFactory, javax.net.ssl.SSLContext, ch.qos.logback.core.net.ssl.ConfigurableSSLServerSocketFactory, .SSLComponent, .SSLConfiguration, .SSLParametersConfiguration

This is the base class for module specific ServerSocketAppender implementations.
Author
Carl Harris

Field Summary

Modifier and TypeField and Description
private ServerSocketFactory
private SSLConfiguration
Inherited from ch.qos.logback.core.net.server.AbstractServerSocketAppender:
DEFAULT_BACKLOGDEFAULT_CLIENT_QUEUE_SIZE

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ServerSocketFactory
public SSLConfiguration

Returns:

SSL configuration; if no configuration has been set, a default configuration is returned
getSsl
()

Implements ch.qos.logback.core.net.ssl.SSLComponent.getSsl.

Gets the SSL configuration.
public void
setSsl(SSLConfiguration
the SSL configuration to set
ssl
)

Implements ch.qos.logback.core.net.ssl.SSLComponent.setSsl.

Sets the SSL configuration.
public void
Inherited from ch.qos.logback.core.net.server.AbstractServerSocketAppender:
appendcreateServerListenercreateServerRunnergetAddressgetBackloggetClientQueueSizegetInetAddressgetPortgetPSTpostProcessEventsetAddresssetBacklogsetClientQueueSizesetPortstop

Field Detail

socketFactoryback to summary
private ServerSocketFactory socketFactory
sslback to summary
private SSLConfiguration ssl

Constructor Detail

SSLServerSocketAppenderBaseback to summary
public SSLServerSocketAppenderBase()

Method Detail

getServerSocketFactoryback to summary
protected ServerSocketFactory getServerSocketFactory()

Overrides ch.qos.logback.core.net.server.AbstractServerSocketAppender.getServerSocketFactory.

Doc from ch.qos.logback.core.net.server.AbstractServerSocketAppender.getServerSocketFactory.

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.

Returns:ServerSocketFactory

socket factory.

Annotations
@Override
getSslback to summary
public SSLConfiguration getSsl()

Implements ch.qos.logback.core.net.ssl.SSLComponent.getSsl.

Gets the SSL configuration.

Returns:SSLConfiguration

SSL configuration; if no configuration has been set, a default configuration is returned

setSslback to summary
public void setSsl(SSLConfiguration ssl)

Implements ch.qos.logback.core.net.ssl.SSLComponent.setSsl.

Sets the SSL configuration.

Parameters
ssl:SSLConfiguration

the SSL configuration to set

startback to summary
public void start()

Overrides ch.qos.logback.core.net.server.AbstractServerSocketAppender.start.

Implements ch.qos.logback.core.spi.LifeCycle.start.

Annotations
@Override