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

Interface class for Telnet connection Reactor handlers. More...

#include <tsReactiveTelnetConnectionHandlerInterface.h>

Public Member Functions

virtual void handleTelnetLine (ReactiveTelnetConnection &sock, const UString &line, int error_code)=0
 Handle the reception of one Telnet line.
 

Detailed Description

Interface class for Telnet connection Reactor handlers.

An application shall use ReactiveTCPConnectionHandlerInterface for the non-Telnet parts of the connection.

Member Function Documentation

◆ handleTelnetLine()

virtual void ts::ReactiveTelnetConnectionHandlerInterface::handleTelnetLine ( ReactiveTelnetConnection sock,
const UString line,
int  error_code 
)
pure virtual

Handle the reception of one Telnet line.

Parameters
[in,out]sockTCP socket for which the handler is invoked.
[in]lineReceived text line, without end-of-line markers.
[in]error_codeSystem-specific error code, SYS_SUCCESS on success, SYS_EOF if the peer has disconnected, SYS_ERROR in case of unknown error.

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