Package org.jppf.nio

Class AbstractSSLHandler

java.lang.Object
org.jppf.nio.AbstractSSLHandler
All Implemented Interfaces:
SSLHandler
Direct Known Subclasses:
SSLHandlerImpl

public abstract class AbstractSSLHandler extends Object implements SSLHandler
Wrapper for an SSLEngine and an associated channel.
  • Constructor Details

    • AbstractSSLHandler

      public AbstractSSLHandler(SocketChannel channel, SSLEngine sslEngine) throws Exception
      Instantiate this SSLHandler with the specified channel and SSL engine.
      Parameters:
      channel - the channel from which data is read or to which data is written.
      sslEngine - performs the SSL-related operations before sending data/after receiving data.
      Throws:
      Exception - if any error occurs.
  • Method Details