TSDuck v3.44-4659
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::SocketHandlerInterface Class Referenceabstract

Interface class for notification of open/close on sockets. More...

#include <tsSocketHandlerInterface.h>

Public Member Functions

virtual void handleSocketClose (Socket &sock)=0
 Called at the end of a socket close session.
 
virtual void handleSocketOpen (Socket &sock)=0
 Called at the beginning of a socket open session.
 

Detailed Description

Interface class for notification of open/close on sockets.

Interface class for UDP receive operation Reactor handlers.

Member Function Documentation

◆ handleSocketOpen()

virtual void ts::SocketHandlerInterface::handleSocketOpen ( Socket sock)
pure virtual

Called at the beginning of a socket open session.

Parameters
[in,out]sockSocket for which the handler is invoked.

◆ handleSocketClose()

virtual void ts::SocketHandlerInterface::handleSocketClose ( Socket sock)
pure virtual

Called at the end of a socket close session.

Parameters
[in,out]sockSocket for which the handler is invoked.

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