Class NoopTransportObserver.NoopSecurityHandshakeObserver
- java.lang.Object
-
- io.servicetalk.transport.netty.internal.NoopTransportObserver.NoopSecurityHandshakeObserver
-
- All Implemented Interfaces:
ConnectionObserver.SecurityHandshakeObserver
- Enclosing class:
- NoopTransportObserver
public static final class NoopTransportObserver.NoopSecurityHandshakeObserver extends java.lang.Object implements ConnectionObserver.SecurityHandshakeObserver
Noop version ofConnectionObserver.SecurityHandshakeObserver
.
-
-
Field Summary
Fields Modifier and Type Field Description static ConnectionObserver.SecurityHandshakeObserver
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handshakeComplete(javax.net.ssl.SSLSession sslSession)
Callback when the handshake is complete successfully.void
handshakeFailed(java.lang.Throwable cause)
Callback when the handshake is failed.
-
-
-
Field Detail
-
INSTANCE
public static final ConnectionObserver.SecurityHandshakeObserver INSTANCE
-
-
Method Detail
-
handshakeFailed
public void handshakeFailed(java.lang.Throwable cause)
Description copied from interface:ConnectionObserver.SecurityHandshakeObserver
Callback when the handshake is failed.- Specified by:
handshakeFailed
in interfaceConnectionObserver.SecurityHandshakeObserver
- Parameters:
cause
- the cause of handshake failure
-
handshakeComplete
public void handshakeComplete(javax.net.ssl.SSLSession sslSession)
Description copied from interface:ConnectionObserver.SecurityHandshakeObserver
Callback when the handshake is complete successfully.- Specified by:
handshakeComplete
in interfaceConnectionObserver.SecurityHandshakeObserver
- Parameters:
sslSession
- theSSLSession
for this connection
-
-