- java.lang.Object
-
- io.netty5.handler.ssl.SslCompletionEvent
-
- io.netty5.handler.ssl.SslCloseCompletionEvent
-
- All Implemented Interfaces:
ProtocolEvent
public final class SslCloseCompletionEvent extends SslCompletionEvent
Event that is fired once theclose_notify
was received or if a failure happens before it was received.
-
-
Constructor Summary
Constructors Constructor Description SslCloseCompletionEvent(SSLSession session)
Creates a new event that indicates a successful receiving ofclose_notify
.SslCloseCompletionEvent(SSLSession session, Throwable cause)
Creates a new event that indicates aclose_notify
was not received because of a previous error.
-
Method Summary
-
Methods inherited from class io.netty5.handler.ssl.SslCompletionEvent
cause, session, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.netty5.handler.codec.ProtocolEvent
isFailed, isSuccess
-
-
-
-
Constructor Detail
-
SslCloseCompletionEvent
public SslCloseCompletionEvent(SSLSession session)
Creates a new event that indicates a successful receiving ofclose_notify
.- Parameters:
session
- theSSLSession
that is used.
-
SslCloseCompletionEvent
public SslCloseCompletionEvent(SSLSession session, Throwable cause)
Creates a new event that indicates aclose_notify
was not received because of a previous error.- Parameters:
session
- theSSLSession
that is used.cause
- the cause of the failure.
-
-