![]() |
TSDuck v3.45-4725
MPEG Transport Stream Toolkit
|
Interface class for TLV-messages connection Reactor handlers. More...
#include <tsReactiveTLVConnectionHandlerInterface.h>
Public Member Functions | |
| virtual void | handleReceivedMessage (ReactiveTLVConnection &sock, const tlv::MessagePtr &msg, int error_code)=0 |
| Handle the reception of one valid message. | |
Interface class for TLV-messages connection Reactor handlers.
An application shall use ReactiveTCPConnectionHandlerInterface for the non-TLV parts of the connection.
|
pure virtual |
Handle the reception of one valid message.
| [in,out] | sock | TCP socket for which the handler is invoked. |
| [in] | msg | Pointer to a received decoded message. Can be null in case of error. |
| [in] | error_code | System-specific error code, SYS_SUCCESS on success, SYS_EOF if the peer has disconnected, SYS_ERROR in case of unknown error. |