| Package | Description |
|---|---|
| com.mysql.cj.protocol | |
| com.mysql.cj.protocol.a | |
| com.mysql.cj.protocol.x | |
| com.mysql.jdbc |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractSocketConnection |
| Modifier and Type | Field and Description |
|---|---|
protected SocketConnection |
AbstractProtocol.socketConnection |
| Modifier and Type | Method and Description |
|---|---|
SocketConnection |
Protocol.getSocketConnection() |
SocketConnection |
AbstractProtocol.getSocketConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
Protocol.init(Session session,
SocketConnection socketConnection,
PropertySet propertySet,
TransactionEventHandler transactionManager)
Init method takes the place of constructor.
|
void |
AbstractProtocol.init(Session sess,
SocketConnection phConnection,
PropertySet propSet,
TransactionEventHandler trManager) |
<T extends java.io.Closeable> |
SocketFactory.performTlsHandshake(SocketConnection socketConnection,
ServerSession serverSession)
If required, called by the driver during MySQL protocol handshake to transform
original socket to SSL socket and perform TLS handshake.
|
<T extends java.io.Closeable> |
StandardSocketFactory.performTlsHandshake(SocketConnection socketConnection,
ServerSession serverSession) |
<T extends java.io.Closeable> |
NamedPipeSocketFactory.performTlsHandshake(SocketConnection socketConnection,
ServerSession serverSession) |
default <T extends java.io.Closeable> |
SocketFactory.performTlsHandshake(SocketConnection socketConnection,
ServerSession serverSession,
Log log)
If required, called by the driver during MySQL protocol handshake to transform
original socket to SSL socket and perform TLS handshake.
|
<T extends java.io.Closeable> |
StandardSocketFactory.performTlsHandshake(SocketConnection socketConnection,
ServerSession serverSession,
Log log) |
<T extends java.io.Closeable> |
NamedPipeSocketFactory.performTlsHandshake(SocketConnection socketConnection,
ServerSession serverSession,
Log log) |
static java.net.Socket |
ExportControlled.performTlsHandshake(java.net.Socket rawSocket,
SocketConnection socketConnection,
ServerVersion serverVersion,
Log log)
Converts the socket being used in the given SocketConnection to an SSLSocket by performing the SSL/TLS handshake.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NativeSocketConnection |
static class |
SimplePacketReaderTest.FixedBufferSocketConnection |
static class |
SimplePacketReaderTest.MockSocketConnection |
| Modifier and Type | Field and Description |
|---|---|
protected SocketConnection |
SimplePacketReader.socketConnection |
| Modifier and Type | Method and Description |
|---|---|
static NativeProtocol |
NativeProtocol.getInstance(Session session,
SocketConnection socketConnection,
PropertySet propertySet,
Log log,
TransactionEventHandler transactionManager) |
void |
NativeProtocol.init(Session sess,
SocketConnection phConnection,
PropertySet propSet,
TransactionEventHandler trManager) |
| Constructor and Description |
|---|
SimplePacketReader(SocketConnection socketConnection,
RuntimeProperty<java.lang.Integer> maxAllowedPacket) |
| Modifier and Type | Method and Description |
|---|---|
void |
XProtocol.init(Session sess,
SocketConnection socketConn,
PropertySet propSet,
TransactionEventHandler trManager) |
| Modifier and Type | Method and Description |
|---|---|
<T extends java.io.Closeable> |
SocketFactoryWrapper.performTlsHandshake(SocketConnection socketConnection,
ServerSession serverSession,
Log log) |