TSDuck v3.45-4725
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::ReactiveServerSessionInterface Class Referenceabstract

This interface shall be implemented by all server-side client sessions used by ReactiveServer. More...

#include <tsReactiveServerSessionInterface.h>

Public Member Functions

virtual ReactiveTCPConnectiongetConnection ()=0
 Get the associated ReactiveTCPConnection.
 

Detailed Description

This interface shall be implemented by all server-side client sessions used by ReactiveServer.

A session object is created each time a new incoming client is accepted. This object shall contain a ReactiveTCPConnection object (or from a subclass of it). This interface is defined to access this internal ReactiveTCPConnection. Accessing this ReactiveTCPConnection is required by ReactiveServer to initialize the incoming connection.

Each client session is created by an instance of ReactiveServerFactoryInterface.

Member Function Documentation

◆ getConnection()

virtual ReactiveTCPConnection & ts::ReactiveServerSessionInterface::getConnection ( )
pure virtual

Get the associated ReactiveTCPConnection.

Returns
A reference to the associated ReactiveTCPConnection object.

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