libfilezilla
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
socket_event_source Class Reference

All classes sending socket events should derive from this. More...

#include <socket.hpp>

Inheritance diagram for socket_event_source:
Inheritance graph
[legend]
Collaboration diagram for socket_event_source:
Collaboration graph
[legend]

Public Member Functions

socket_event_sourceroot () const
 Gets the root source. More...
 

Protected Member Functions

 socket_event_source (socket_event_source *root)
 

Protected Attributes

socket_event_source *const root_ {}
 

Detailed Description

All classes sending socket events should derive from this.

Allows implementing socket layers, e.g. for TLS.

See also
fz::RemoveSocketEvents
fz::ChangeSocketEventHandler
Examples
raw_https.cpp.

Member Function Documentation

◆ root()

socket_event_source* root ( ) const
inline

Gets the root source.

In a layered stack of sources this would be the socket itself.


The documentation for this class was generated from the following file: