| Modifier and Type | Field and Description |
|---|---|
| private AFUNIXSocket |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Socket | connect(String
the hostname passed in the URL. It will be a single
hostname, as the driver parses multi-hosts (for failover) and
calls this method for each host connection attempt. hostname, int the port number to connect to (if required). portNumber, PropertySet properties passed to the driver via the URL and/or properties
instance. props, int login timeout in milliseconds loginTimeout)Implements com. Creates a new socket or channel using the given properties. |
| public Socket | performTlsHandshake(SocketConnection
current SocketConnection socketConnection, ServerSession current ServerSession serverSession)Implements com. If required, called by the driver during MySQL protocol handshake to transform original socket to SSL socket and perform TLS handshake. |
| rawSocket | back to summary |
|---|---|
| private AFUNIXSocket rawSocket | |
| AFUNIXDatabaseSocketFactoryCJ | back to summary |
|---|---|
| public AFUNIXDatabaseSocketFactoryCJ() Creates a new instance. | |
| connect | back to summary |
|---|---|
| public Socket connect(String hostname, int portNumber, PropertySet props, int loginTimeout) throws IOException Implements com. Doc from com. Creates a new socket or channel using the given properties. Properties are parsed by
the driver from the URL. All properties other than sensitive ones (user
and password) are passed to this method. The driver will instantiate the
socket factory with the class name given in the property
"socketFactory", where the standard is
| |
| performTlsHandshake | back to summary |
|---|---|
| public Socket performTlsHandshake(SocketConnection socketConnection, ServerSession serverSession) throws IOException Implements com. Doc from com. If required, called by the driver during MySQL protocol handshake to transform original socket to SSL socket and perform TLS handshake.
| |