commenting some things

fb-authenticated
Claudius Holeksa 2022-03-29 22:23:36 +02:00
parent ffed345df1
commit a5cfca7a12
2 changed files with 9 additions and 0 deletions

View File

@ -30,6 +30,9 @@ public:
virtual Conveyor<AuthenticatedIoStream> accept() = 0;
};
/**
* Authenticated Network class which provides a peer identity when connecting
*/
class AuthenticatedNetwork {
public:
virtual ~AuthenticatedNetwork() = default;
@ -46,4 +49,6 @@ public:
*/
virtual Own<AuthenticatedServer> listen() = 0;
};
} // namespace saw

View File

@ -35,6 +35,10 @@ public:
Own<Datagram> datagram(NetworkAddress& address) override;
};
/**
* Tls context class.
* Provides tls network class which ensures the usage of tls encrypted connections
*/
class Tls {
private:
class Impl;