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

◆ set_endpoint_id_allocator()

template<typename Transport>
void MayaFlux::Core::StreamBackend< Transport >::set_endpoint_id_allocator ( std::function< uint64_t()> allocator)
inlineoverridevirtual

Set the endpoint id allocator (called by NetworkSubsystem).

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

Reimplemented from MayaFlux::Core::INetworkBackend.

Definition at line 210 of file StreamBackend.hpp.

211 {
213 }
std::function< uint64_t()> m_allocate_endpoint_id
Connection-oriented reliable message transport over an Asio stream protocol.