Class AFUNIXDatabaseSocketFactoryCJ

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T extends java.io.Closeable>
      T
      connect​(java.lang.String hostname, int portNumber, com.mysql.cj.conf.PropertySet props, int loginTimeout)  
      <T extends java.io.Closeable>
      T
      performTlsHandshake​(com.mysql.cj.protocol.SocketConnection socketConnection, com.mysql.cj.protocol.ServerSession serverSession)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.mysql.cj.protocol.SocketFactory

        afterHandshake, beforeHandshake
      • Methods inherited from interface com.mysql.cj.protocol.SocketMetadata

        isLocallyConnected, isLocallyConnected
    • Constructor Detail

      • AFUNIXDatabaseSocketFactoryCJ

        public AFUNIXDatabaseSocketFactoryCJ()
    • Method Detail

      • connect

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

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