MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ start()

void MayaFlux::Core::TCPBackend::start ( )
overridevirtual

Start receive threads and accept connections.

After this call the backend actively delivers received data via the registered callback and accepts new inbound connections (TCP).

Implements MayaFlux::Core::INetworkBackend.

Definition at line 39 of file TCPBackend.cpp.

40{
41 if (m_running.load()) {
42 return;
43 }
44
45 m_running.store(true);
46
48 "TCP backend started");
49}
#define MF_DEBUG(comp, ctx,...)
std::atomic< bool > m_running
@ NetworkBackend
Network transport backend (UDP, TCP, SHM)
@ Core
Core engine, backend, subsystems.

References MayaFlux::Journal::Core, m_running, MF_DEBUG, and MayaFlux::Journal::NetworkBackend.