Package org.conscrypt

Class HandshakeListener


  • public abstract class HandshakeListener
    extends java.lang.Object
    Similar in concept to HandshakeCompletedListener, but used for listening directly to the engine. Allows the caller to be notified immediately upon completion of the TLS handshake.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void onHandshakeFinished()
      Called by the engine when the TLS handshake has completed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HandshakeListener

        public HandshakeListener()
    • Method Detail

      • onHandshakeFinished

        public abstract void onHandshakeFinished()
                                          throws javax.net.ssl.SSLException
        Called by the engine when the TLS handshake has completed.
        Throws:
        javax.net.ssl.SSLException