Class SslCloseCompletionEvent

  • All Implemented Interfaces:
    ProtocolEvent

    public final class SslCloseCompletionEvent
    extends SslCompletionEvent
    Event that is fired once the close_notify was received or if a failure happens before it was received.
    • Constructor Detail

      • SslCloseCompletionEvent

        public SslCloseCompletionEvent​(SSLSession session)
        Creates a new event that indicates a successful receiving of close_notify.
        Parameters:
        session - the SSLSession that is used.
      • SslCloseCompletionEvent

        public SslCloseCompletionEvent​(SSLSession session,
                                       Throwable cause)
        Creates a new event that indicates a close_notify was not received because of a previous error.
        Parameters:
        session - the SSLSession that is used.
        cause - the cause of the failure.