Class TLSSocketChannel
- All Implemented Interfaces:
Closeable,AutoCloseable,ByteChannel,Channel,GatheringByteChannel,InterruptibleChannel,NetworkChannel,ReadableByteChannel,ScatteringByteChannel,WritableByteChannel
TLSSocketChannel
- Version:
- 0.0.1
- Author:
- scx567888
-
Field Summary
Fields inherited from class cool.scx.tcp.tls.AbstractSocketChannel
socketChannel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidintread(ByteBuffer dst) voidunwrap(boolean forceRead) wrap(ByteBuffer src) intwrite(ByteBuffer src) Methods inherited from class cool.scx.tcp.tls.AbstractSocketChannel
bind, connect, finishConnect, getLocalAddress, getOption, getRemoteAddress, implConfigureBlocking, isConnected, isConnectionPending, read, setOption, shutdownInput, shutdownOutput, socket, supportedOptions, writeMethods inherited from class java.nio.channels.SocketChannel
open, open, open, read, validOps, writeMethods inherited from class java.nio.channels.spi.AbstractSelectableChannel
blockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, registerMethods inherited from class java.nio.channels.SelectableChannel
registerMethods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, close, end, isOpen
-
Constructor Details
-
TLSSocketChannel
-
-
Method Details
-
startHandshake
- Throws:
IOException
-
read
- Specified by:
readin interfaceReadableByteChannel- Specified by:
readin classSocketChannel- Throws:
IOException
-
write
- Specified by:
writein interfaceWritableByteChannel- Specified by:
writein classSocketChannel- Throws:
IOException
-
implCloseSelectableChannel
- Specified by:
implCloseSelectableChannelin classAbstractSelectableChannel- Throws:
IOException
-
wrap
- Throws:
IOException
-
unwrap
- Throws:
IOException
-