![]() |
Ark Server API (ASE) - Wiki
|
#include <Session.h>
Inheritance diagram for Poco::Net::Session:
Collaboration diagram for Poco::Net::Session:Public Types | |
| using | Ptr = Poco::AutoPtr<Session> |
Public Member Functions | |
| SSL_SESSION * | sslSession () const |
Public Member Functions inherited from Poco::RefCountedObject | |
| RefCountedObject () | |
| void | duplicate () const |
| void | release () const noexcept |
| Increments the object's reference count. | |
| int | referenceCount () const |
Protected Member Functions | |
| Session (SSL_SESSION *pSession) | |
| Returns the stored OpenSSL SSL_SESSION object. | |
| ~Session () | |
Protected Member Functions inherited from Poco::RefCountedObject | |
| virtual | ~RefCountedObject () |
| Returns the reference count. | |
Private Member Functions | |
| Session () | |
Private Attributes | |
| SSL_SESSION * | _pSession |
Friends | |
| class | SecureSocketImpl |
This class encapsulates a SSL session object used with session caching on the client side.
For session caching to work, a client must save the session object from an existing connection, if it wants to reuse it with a future connection.
| using Poco::Net::Session::Ptr = Poco::AutoPtr<Session> |
|
protected |
Returns the stored OpenSSL SSL_SESSION object.
|
protected |
Creates a new Session object, using the given SSL_SESSION object.
The SSL_SESSION's reference count is not changed.
|
private |
Destroys the Session.
Calls SSL_SESSION_free() on the stored SSL_SESSION object.
|
inline |
|
private |