< prev index next >

src/java.base/share/classes/javax/net/ssl/HandshakeCompletedEvent.java

Print this page

        

@@ -54,16 +54,16 @@
     private transient SSLSession session;
 
     /**
      * Constructs a new HandshakeCompletedEvent.
      *
-     * @param sock the SSLSocket acting as the source of the event
+     * @param source the source of the event
      * @param s the SSLSession this event is associated with
      */
-    public HandshakeCompletedEvent(SSLSocket sock, SSLSession s)
+    public HandshakeCompletedEvent(Object source, SSLSession s)
     {
-        super(sock);
+        super(source);
         session = s;
     }
 
 
     /**
< prev index next >