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

◆ set_endpoint_id_allocator()

void MayaFlux::Core::TCPBackend::set_endpoint_id_allocator ( std::function< uint64_t()>  allocator)
inline

Set the endpoint id allocator (called by NetworkSubsystem)

Required for listener-accepted connections that need globally unique ids. Set before start().

Definition at line 234 of file TCPBackend.hpp.

235 {
236 m_allocate_endpoint_id = std::move(allocator);
237 }
std::function< uint64_t()> m_allocate_endpoint_id
Pointer to subsystem's endpoint id allocator.