java.lang.Object
org.newsclub.net.mysql.AFUNIXDatabaseSocketFactory
- All Implemented Interfaces:
com.mysql.jdbc.SocketFactory
Connect to mysql databases (and compatibles) using UNIX domain sockets.
NOTE: This SocketFactory currently implements the "old" Connector/J SocketFactory. This may
change in the future.
For the time being, see AFUNIXDatabaseSocketFactoryCJ to forcibly use the new "CJ"-style
SocketFactory.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AFUNIXDatabaseSocketFactory
public AFUNIXDatabaseSocketFactory()Creates a new instance.
-
-
Method Details
-
afterHandshake
- Specified by:
afterHandshakein interfacecom.mysql.jdbc.SocketFactory- Throws:
SocketExceptionIOException
-
beforeHandshake
- Specified by:
beforeHandshakein interfacecom.mysql.jdbc.SocketFactory- Throws:
SocketExceptionIOException
-
connect
public Socket connect(String host, int portNumber, Properties props) throws SocketException, IOException - Specified by:
connectin interfacecom.mysql.jdbc.SocketFactory- Throws:
SocketExceptionIOException
-