Class AFUNIXDatabaseSocketFactoryCJ

  • All Implemented Interfaces:
    com.mysql.cj.protocol.SocketFactory, com.mysql.cj.protocol.SocketMetadata

    public class AFUNIXDatabaseSocketFactoryCJ
    extends Object
    implements com.mysql.cj.protocol.SocketFactory
    Connect to mysql databases (and compatibles) using UNIX domain sockets.
    • Constructor Detail

      • AFUNIXDatabaseSocketFactoryCJ

        public AFUNIXDatabaseSocketFactoryCJ()
    • Method Detail

      • connect

        public <T extends Closeable> T connect​(String hostname,
                                               int portNumber,
                                               com.mysql.cj.conf.PropertySet props,
                                               int loginTimeout)
                                        throws IOException
        Specified by:
        connect in interface com.mysql.cj.protocol.SocketFactory
        Throws:
        IOException
      • performTlsHandshake

        public <T extends Closeable> T performTlsHandshake​(com.mysql.cj.protocol.SocketConnection socketConnection,
                                                           com.mysql.cj.protocol.ServerSession serverSession)
                                                    throws IOException
        Specified by:
        performTlsHandshake in interface com.mysql.cj.protocol.SocketFactory
        Throws:
        IOException