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
SSLException
public int read(ByteBuffer buff) throws IOException
IOException
public void write(ByteBuffer buff) throws IOException
IOException
public Runnable process() throws IOException, ClientConnectionException
IOException
ClientConnectionException
public boolean handshakeInProgress()
public void clearBuff()
public SSLEngine getSSLEngine()
Copyright © 2016. All rights reserved.