Top Description Constructors Methods
io.netty5.handler.ssl

public final Class SslCloseCompletionEvent

extends SslCompletionEvent
Class Inheritance
Imports
javax.net.ssl.SSLSession

Event that is fired once the close_notify was received or if a failure happens before it was received.

Constructor Summary

AccessConstructor and Description
public
SslCloseCompletionEvent(SSLSession
the SSLSession that is used.
session
)

Creates a new event that indicates a successful receiving of close_notify.

public
SslCloseCompletionEvent(SSLSession
the SSLSession that is used.
session
,
Throwable
the cause of the failure.
cause
)

Creates a new event that indicates a close_notify was not received because of a previous error.

Method Summary

Inherited from io.netty5.handler.ssl.SslCompletionEvent:
causesessiontoString

Constructor Detail

SslCloseCompletionEventback to summary
public SslCloseCompletionEvent(SSLSession session)

Creates a new event that indicates a successful receiving of close_notify.

Parameters
session:SSLSession

the SSLSession that is used.

SslCloseCompletionEventback to summary
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:SSLSession

the SSLSession that is used.

cause:Throwable

the cause of the failure.