Class BinaryLogSSLSocketFactory
java.lang.Object
org.apache.nifi.cdc.mysql.processors.ssl.BinaryLogSSLSocketFactory
- All Implemented Interfaces:
com.github.shyiko.mysql.binlog.network.SSLSocketFactory
public class BinaryLogSSLSocketFactory
extends Object
implements com.github.shyiko.mysql.binlog.network.SSLSocketFactory
Binary Log SSLSocketFactory wrapping standard Java SSLSocketFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSocket(Socket socket) Create SSL Socket layers provided Socket using Java SSLSocketFactory
-
Field Details
-
AUTO_CLOSE_ENABLED
private static final boolean AUTO_CLOSE_ENABLED- See Also:
-
sslSocketFactory
-
-
Constructor Details
-
BinaryLogSSLSocketFactory
-
-
Method Details
-
createSocket
Create SSL Socket layers provided Socket using Java SSLSocketFactory- Specified by:
createSocketin interfacecom.github.shyiko.mysql.binlog.network.SSLSocketFactory- Parameters:
socket- Socket to be layered- Returns:
- SSL Socket
- Throws:
SocketException- Thrown when IOException encountered from SSLSocketFactory.createSocket()
-