Fray Engine
Loading...
Searching...
No Matches
message_router.hpp File Reference
#include <optional>
#include "log_manager.hpp"
#include "message.hpp"

Go to the source code of this file.

Namespaces

namespace  fray
namespace  fray::routing

Enumerations

enum class  fray::routing::Destination { fray::routing::engine , fray::routing::relay , fray::routing::unsupported }
 Where an incoming message should be handled. More...

Functions

Destination fray::routing::routeMessage (const message::Prefix &prefix)
 Decides where an incoming message goes from its prefix destination. Pure apart from logging; may run on any thread.