public class NativeSocketConnection extends AbstractSocketConnection implements SocketConnection
exceptionInterceptor, host, mysqlInput, mysqlOutput, mysqlSocket, port, propertySet, socketFactory| Constructor and Description |
|---|
NativeSocketConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(java.lang.String hostName,
int portNumber,
PropertySet propSet,
ExceptionInterceptor excInterceptor,
Log log,
int loginTimeout)
Connect to the MySQL server and setup a stream connection.
|
void |
performTlsHandshake(ServerSession serverSession) |
createSocketFactory, forceClose, getExceptionInterceptor, getHost, getMysqlInput, getMysqlOutput, getMysqlSocket, getNetworkResources, getPort, getPropertySet, getSocketFactory, isSSLEstablished, setMysqlInput, setSocketFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforceClose, getExceptionInterceptor, getHost, getMysqlInput, getMysqlOutput, getMysqlSocket, getNetworkResources, getPort, getPropertySet, getSocketFactory, isSSLEstablished, setMysqlInput, setSocketFactorypublic void connect(java.lang.String hostName,
int portNumber,
PropertySet propSet,
ExceptionInterceptor excInterceptor,
Log log,
int loginTimeout)
SocketConnectionconnect in interface SocketConnectionhostName - the hostname to connect toportNumber - the port number that the server is listening onpropSet - the PropertySet with required connection optionsexcInterceptor - exception interceptorlog - loggerloginTimeout - the driver login time limit in millisecondspublic void performTlsHandshake(ServerSession serverSession) throws SSLParamsException, FeatureNotAvailableException, java.io.IOException
performTlsHandshake in interface SocketConnectionSSLParamsExceptionFeatureNotAvailableExceptionjava.io.IOException