- java.lang.Object
-
- org.newsclub.net.mysql.AFUNIXDatabaseSocketFactory
-
- All Implemented Interfaces:
com.mysql.jdbc.SocketFactory
public class AFUNIXDatabaseSocketFactory extends java.lang.Object implements com.mysql.jdbc.SocketFactoryConnect 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:
AFUNIXDatabaseSocketFactoryCJ
-
-
Constructor Summary
Constructors Constructor Description AFUNIXDatabaseSocketFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.SocketafterHandshake()java.net.SocketbeforeHandshake()java.net.Socketconnect(java.lang.String host, int portNumber, java.util.Properties props)
-
-
-
Method Detail
-
afterHandshake
public java.net.Socket afterHandshake() throws java.net.SocketException, java.io.IOException- Specified by:
afterHandshakein interfacecom.mysql.jdbc.SocketFactory- Throws:
java.net.SocketExceptionjava.io.IOException
-
beforeHandshake
public java.net.Socket beforeHandshake() throws java.net.SocketException, java.io.IOException- Specified by:
beforeHandshakein interfacecom.mysql.jdbc.SocketFactory- Throws:
java.net.SocketExceptionjava.io.IOException
-
connect
public java.net.Socket connect(java.lang.String host, int portNumber, java.util.Properties props) throws java.net.SocketException, java.io.IOException- Specified by:
connectin interfacecom.mysql.jdbc.SocketFactory- Throws:
java.net.SocketExceptionjava.io.IOException
-
-