org.glassfish.grizzly.ssl
Class BlockingSSLHandshaker

java.lang.Object
  extended by org.glassfish.grizzly.ssl.BlockingSSLHandshaker
All Implemented Interfaces:
SSLHandshaker

public class BlockingSSLHandshaker
extends Object
implements SSLHandshaker

Blocking SSLHandshaker implementation.

Author:
Alexey Stashok
See Also:
SSLHandshaker

Constructor Summary
BlockingSSLHandshaker()
           
 
Method Summary
 Future<SSLEngine> handshake(SSLStreamReader reader, SSLStreamWriter writer, SSLEngineConfigurator configurator)
          Execute SSL handshake using given Connection's SSLStreamReader and SSLStreamWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockingSSLHandshaker

public BlockingSSLHandshaker()
Method Detail

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 - SSLStreamReader
writer - SSLStreamWriter
configurator - SSLEngineConfigurator SSLEngine configuration
Returns:
Future to monitor handshake state.
Throws:
IOException
See Also:
BlockingSSLHandshaker, SSLStreamReader, SSLStreamWriter


Copyright © 2009 SUN Microsystems. All Rights Reserved.