Class AFUNIXDatabaseSocketFactoryCJ

java.lang.Object
org.newsclub.net.mysql.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 Summary

    Constructors
    Constructor
    Description
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    connect(String hostname, int portNumber, com.mysql.cj.conf.PropertySet props, int loginTimeout)
     
    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, performTlsHandshake

    Methods inherited from interface com.mysql.cj.protocol.SocketMetadata

    isLocallyConnected, isLocallyConnected
  • Constructor Details

    • AFUNIXDatabaseSocketFactoryCJ

      public AFUNIXDatabaseSocketFactoryCJ()
      Creates a new instance.
  • Method Details

    • connect

      public Socket 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 Socket 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