com.sun.grizzly.ssl
Class BlockingSSLHandshaker
java.lang.Object
com.sun.grizzly.ssl.BlockingSSLHandshaker
- All Implemented Interfaces:
- SSLHandshaker
public class BlockingSSLHandshaker
- extends Object
- implements SSLHandshaker
Blocking SSLHandshaker implementation.
- Author:
- Alexey Stashok
- See Also:
SSLHandshaker
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockingSSLHandshaker
public BlockingSSLHandshaker()
handshake
public Future<SSLEngine> handshake(SSLStreamReader reader,
SSLStreamWriter writer,
SSLEngineConfigurator configurator)
throws IOException
- Execute SSL handshake using given
Connection's
SSLStreamReader and SSLStreamWriter.
- Specified by:
handshake in interface SSLHandshaker
- Parameters:
reader - SSLStreamReaderwriter - SSLStreamWriterconfigurator - SSLEngineConfigurator SSLEngine configuration
- Returns:
Future to monitor handshake state.
- Throws:
IOException- See Also:
BlockingSSLHandshaker,
SSLStreamReader,
SSLStreamWriter
Copyright © 2009 SUN Microsystems. All Rights Reserved.