SocketReceiver that supports SSL.
| Modifier and Type | Field and Description |
|---|---|
| private SocketFactory | |
| private SSLConfiguration |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected SocketFactory | Returns: socket factoryOverrides ch. SocketFactory that produces SSL sockets using an
SSLContext that is derived from the receiver's configuration.
|
| public SSLConfiguration | Returns: SSL configuration; if no configuration has been set, a default configuration is returnedImplements ch. |
| public void | setSsl(SSLConfiguration
the SSL configuration to set ssl)Implements ch. |
| protected boolean | shouldStart()
Overrides ch. |
| socketFactory | back to summary |
|---|---|
| private SocketFactory socketFactory | |
| ssl | back to summary |
|---|---|
| private SSLConfiguration ssl | |
| SSLSocketReceiver | back to summary |
|---|---|
| public SSLSocketReceiver() | |
| getSocketFactory | back to summary |
|---|---|
| protected SocketFactory getSocketFactory() Overrides ch. Gets an
| |
| getSsl | back to summary |
|---|---|
| public SSLConfiguration getSsl() Implements ch. Gets the SSL configuration.
| |
| setSsl | back to summary |
|---|---|
| public void setSsl(SSLConfiguration ssl) Implements ch. Sets the SSL configuration.
| |
| shouldStart | back to summary |
|---|---|
| protected boolean shouldStart() Overrides ch. Doc from ch. Determines whether this receiver should start.
Subclasses will implement this method to do any subclass-specific validation.
The subclass's
| |