Home
Symple module

Server::RoutingPolicy

RoutingPolicy

#include <src/symple/src/server/detail.h>
struct RoutingPolicy

Defined in src/symple/src/server/detail.h:78

List of all members

NameKindOwner
sharesAnyRoomfunctionDeclared here
canDirectMessagefunctionDeclared here
canDirectMessagefunctionDeclared here
canBroadcastToRoomfunctionDeclared here

Public Static Methods

ReturnNameDescription
boolsharesAnyRoom static
boolcanDirectMessage static
boolcanDirectMessage static
boolcanBroadcastToRoom 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)

Defined in src/symple/src/server/detail.h:86