Class PacketChannel
java.lang.Object
com.github.shyiko.mysql.binlog.network.protocol.PacketChannel
- All Implemented Interfaces:
Closeable,AutoCloseable,Channel
- Author:
- Stanley Shyiko
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()booleanisOpen()booleanisSSL()byte[]read()voidvoidupgradeToSSL(SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier) void
-
Constructor Details
-
PacketChannel
- Throws:
IOException
-
PacketChannel
- Throws:
IOException
-
-
Method Details
-
getInputStream
-
getOutputStream
-
authenticationComplete
public void authenticationComplete() -
read
- Throws:
IOException
-
write
- Throws:
IOException
-
upgradeToSSL
public void upgradeToSSL(SSLSocketFactory sslSocketFactory, HostnameVerifier hostnameVerifier) throws IOException - Throws:
IOException
-
isSSL
public boolean isSSL() -
setShouldUseSoLinger0
public void setShouldUseSoLinger0() -
isOpen
public boolean isOpen() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Throws:
IOException
-