public class SSLSocketChannelWrapper extends DefaultSocketChannelWrapper
socketChannel| Constructor and Description |
|---|
SSLSocketChannelWrapper(SSLContext sslContext,
SocketChannel sc,
boolean client) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read(ByteBuffer output) |
String |
toString() |
int |
write(ByteBuffer input) |
configureBlocking, connect, finishConnect, isBlocking, isConnected, isConnectionPending, isOpen, keyFor, register, socket, validOpspublic SSLSocketChannelWrapper(SSLContext sslContext, SocketChannel sc, boolean client) throws Exception
Exceptionpublic int write(ByteBuffer input) throws IOException
write in interface SocketChannelWrapperwrite in class DefaultSocketChannelWrapperIOExceptionpublic int read(ByteBuffer output) throws IOException
read in interface SocketChannelWrapperread in class DefaultSocketChannelWrapperIOExceptionpublic void close()
throws IOException
close in interface SocketChannelWrapperclose in interface Closeableclose in interface AutoCloseableclose in class DefaultSocketChannelWrapperIOExceptionpublic String toString()
toString in class DefaultSocketChannelWrapperCopyright © 2021 Hazelcast, Inc.. All rights reserved.