public class SSLEngineNioHelper extends Object
| Constructor and Description |
|---|
SSLEngineNioHelper(SocketChannel channel,
SSLEngine engine,
OneTimeCallback callback,
SSLClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginHandshake() |
void |
clearBuff() |
SSLEngine |
getSSLEngine() |
boolean |
handshakeInProgress() |
Runnable |
process() |
int |
read(ByteBuffer buff) |
void |
write(ByteBuffer buff) |
public SSLEngineNioHelper(SocketChannel channel, SSLEngine engine, OneTimeCallback callback, SSLClient client)
public void beginHandshake()
throws SSLException
SSLExceptionpublic int read(ByteBuffer buff) throws IOException
IOExceptionpublic void write(ByteBuffer buff) throws IOException
IOExceptionpublic Runnable process() throws IOException, ClientConnectionException
IOExceptionClientConnectionExceptionpublic boolean handshakeInProgress()
public void clearBuff()
public SSLEngine getSSLEngine()
Copyright © 2018. All Rights Reserved.