Symple module
Server::RoutingPolicy
RoutingPolicy
#include <src/symple/src/server/detail.h>struct RoutingPolicyDefined in src/symple/src/server/detail.h:78
List of all members
| Name | Kind | Owner |
|---|---|---|
sharesAnyRoom | function | Declared here |
canDirectMessage | function | Declared here |
canDirectMessage | function | Declared here |
canBroadcastToRoom | function | Declared here |
Public Static Methods
| Return | Name | Description |
|---|---|---|
bool | sharesAnyRoom static | |
bool | canDirectMessage static | |
bool | canDirectMessage static | |
bool | canBroadcastToRoom static |
sharesAnyRoom
static
static bool sharesAnyRoom(const std::unordered_set< std::string > & a, const std::unordered_set< std::string > & b)Defined in src/symple/src/server/detail.h:80
canDirectMessage
static
static bool canDirectMessage(const ServerPeer & sender, const ServerPeer & recipient)Defined in src/symple/src/server/detail.h:82
canDirectMessage
static
static bool canDirectMessage(const ServerPeer & sender, const VirtualPeer & recipient)Defined in src/symple/src/server/detail.h:84
canBroadcastToRoom
static
static bool canBroadcastToRoom(const ServerPeer & sender, const std::string & room)