org.newsclub.net.mysql
Class AFUNIXDatabaseSocketFactory
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.SocketFactory
Connect to mysql databases (and compatibles) using UNIX domain sockets.
- Author:
- Christian Kohlsch??tter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AFUNIXDatabaseSocketFactory
public AFUNIXDatabaseSocketFactory()
afterHandshake
public java.net.Socket afterHandshake()
throws java.net.SocketException,
java.io.IOException
- Specified by:
afterHandshake
in interface com.mysql.jdbc.SocketFactory
- Throws:
java.net.SocketException
java.io.IOException
beforeHandshake
public java.net.Socket beforeHandshake()
throws java.net.SocketException,
java.io.IOException
- Specified by:
beforeHandshake
in interface com.mysql.jdbc.SocketFactory
- Throws:
java.net.SocketException
java.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:
connect
in interface com.mysql.jdbc.SocketFactory
- Throws:
java.net.SocketException
java.io.IOException