public class SSLServerSocketReceiver extends ServerSocketReceiver implements SSLComponent
ServerSocketReceiver
that supports SSL.DEFAULT_BACKLOG
context
Constructor and Description |
---|
SSLServerSocketReceiver() |
Modifier and Type | Method and Description |
---|---|
protected ServerSocketFactory |
getServerSocketFactory()
Gets the server socket factory.
|
SSLConfiguration |
getSsl()
Gets the server's SSL configuration.
|
void |
setSsl(SSLConfiguration ssl)
Gets the server's SSL configuration.
|
createServerListener, createServerRunner, getAddress, getBacklog, getInetAddress, getPort, getRunnableTask, onStop, setAddress, setBacklog, setPort, shouldStart
isStarted, start, stop
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
protected ServerSocketFactory getServerSocketFactory() throws Exception
Subclasses may override to provide a custom factory.
getServerSocketFactory
in class ServerSocketReceiver
Exception
public SSLConfiguration getSsl()
getSsl
in interface SSLComponent
public void setSsl(SSLConfiguration ssl)
setSsl
in interface SSLComponent
ssl
- the SSL configuration to set.Copyright © 2005–2021 QOS.ch. All rights reserved.