Name
HandshakeCompletedListener
Synopsis
This interface is implemented by any
class that wants to receive notifications (in the form of a call to
handshakeCompleted(
)
method) when an SSLSocket
completes the SSL handshake. Register a
HandshakeCompletedListener for an
SSLSocket by passing it to the
addHandshakeCompletedListener( ) method of the
socket. When the socket completes the handshake phase of connection,
it will call the handshakeCompleted( ) method of
all registered listeners, passing in a
HandshakeCompletedEvent object.
Figure 18-3. javax.net.ssl.HandshakeCompletedListener
public interface HandshakeCompletedListener extends java.util.EventListener { // Public Instance Methods void handshakeCompleted(HandshakeCompletedEvent event); }
Passed To
SSLSocket.{addHandshakeCompletedListener( ),
removeHandshakeCompletedListener( )}
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access