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, validOps
public SSLSocketChannelWrapper(SSLContext sslContext, SocketChannel sc, boolean client) throws Exception
Exception
public int write(ByteBuffer input) throws IOException
write
in interface SocketChannelWrapper
write
in class DefaultSocketChannelWrapper
IOException
public int read(ByteBuffer output) throws IOException
read
in interface SocketChannelWrapper
read
in class DefaultSocketChannelWrapper
IOException
public void close() throws IOException
close
in interface SocketChannelWrapper
close
in interface Closeable
close
in interface AutoCloseable
close
in class DefaultSocketChannelWrapper
IOException
public String toString()
toString
in class DefaultSocketChannelWrapper
Copyright © 2014 Hazelcast, Inc.. All rights reserved.