public class SSLSocketReceiver extends SocketReceiver implements SSLComponent
SocketReceiver that supports SSL.context| Constructor and Description |
|---|
SSLSocketReceiver() |
| Modifier and Type | Method and Description |
|---|---|
protected SocketFactory |
getSocketFactory()
Gets an
SocketFactory that produces SSL sockets using an
SSLContext that is derived from the receiver's configuration. |
SSLConfiguration |
getSsl()
Gets the SSL configuration.
|
void |
setSsl(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, stopaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextprotected 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 SSLConfiguration getSsl()
getSsl in interface SSLComponentpublic void setSsl(SSLConfiguration ssl)
setSsl in interface SSLComponentssl - the SSL configuration to setCopyright © 2005–2017 QOS.ch. All rights reserved.