Cross-Platform C++

ot::ssl
class HandshakeCompletedEvent

#include "ot/ssl/HandshakeCompletedEvent.h"

Encapsulates the SSL socket and session involved in a completed SSL handshake. An instance of this class is used to communicate a completed SSL handshake to registered HandshakeCompletedListener objects.




Constructor/Destructor Summary
HandshakeCompletedEvent(SSLSocket* pSocket, SSLSession* pSession)
         Constructor which creates a HandshakeCompletedEvent for the provided SSLSocket and SSLSession.

Method Summary
 RefPtr< SSLSession > getSession() const
         Returns the SSLSession involved in the SSL handshake which has completed.
 RefPtr< SSLSocket > getSocket() const
         Returns the SSLSocket involved in the SSL handshake which has completed.

Constructor/Destructor Detail

HandshakeCompletedEvent

 HandshakeCompletedEvent(SSLSocket* pSocket,
                         SSLSession* pSession)
Constructor which creates a HandshakeCompletedEvent for the provided SSLSocket and SSLSession.

Exceptions:
NullPointerException - if pSocket or pSession are null.

Method Detail

getSession

RefPtr< SSLSessiongetSession() const
Returns the SSLSession involved in the SSL handshake which has completed. This method returns the same SSLSession which was passed to the constructor.


getSocket

RefPtr< SSLSocketgetSocket() const
Returns the SSLSocket involved in the SSL handshake which has completed. This method returns the same SSLSocket which was passed to the constructor.



Cross-Platform C++

Found a bug or missing feature? Please email us at support@elcel.com

Copyright © 2000-2005 ElCel Technology   Trademark Acknowledgements