Commit 306e1e66 authored by Guillaume Roguez's avatar Guillaume Roguez Committed by gerrit2

tls: add isServer() method to TlsSession

This method returns a bool indicating if the TlsSession was
created as Server (true) or as Client (false).

Change-Id: I14f1c50d584430fc959134512ce11edaf029c198
Tuleap: #660
parent 2233202d
......@@ -138,6 +138,8 @@ public:
// Returns the TLS session type ('server' or 'client')
const char* typeName() const;
bool isServer() const { return isServer_; }
// Request TLS thread to stop and quit. IO are not possible after that.
void shutdown();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment