|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API Vruta::Event MayaFlux::Kriya::on_message_from | ( | std::shared_ptr< Vruta::NetworkSource > | source, |
| std::string | sender_address, | ||
| std::function< void(const Core::NetworkMessage &)> | callback | ||
| ) |
Creates an Event coroutine that fires only for messages from a specific sender.
| source | Shared ownership of the NetworkSource |
| sender_address | IP address string matched against NetworkMessage::sender_address |
| callback | Invoked with each matching message |
Definition at line 26 of file NetworkEvents.cpp.
Referenced by MayaFlux::on_network_message_from().
Here is the caller graph for this function: