| Package | Description |
|---|---|
| com.mysql.cj.protocol | |
| com.mysql.jdbc | |
| testsuite | |
| testsuite.regression |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SocketFactory
Interface to allow pluggable socket creation in the driver
|
| Modifier and Type | Class and Description |
|---|---|
class |
NamedPipeSocketFactory
A socket factory for named pipes (on Windows)
|
class |
SocksProxySocketFactory
A socket factory used to create sockets connecting through a SOCKS proxy.
|
class |
StandardSocketFactory
Socket factory for vanilla TCP/IP sockets (the standard)
|
| Modifier and Type | Class and Description |
|---|---|
class |
SocketFactoryWrapper
Wraps the legacy com.mysql.jdbc.SocketFactory implementations so they can be used as
SocketFactory |
| Modifier and Type | Class and Description |
|---|---|
class |
InjectedSocketFactory |
class |
UnreliableSocketFactory
Configure "socketFactory" to use this class in your JDBC URL, and it will operate as normal, unless you map some host aliases to actual IP addresses, and
then have the test driver call hangOnConnect/Read/Write() which simulate the given failure condition for the host with the alias argument, and will
honor connect or socket timeout properties.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectionRegressionTest.PortNumberSocketFactory |
static class |
ConnectionRegressionTest.TestBug73053SocketFactory |
class |
NonLocalSocketFactory |