-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change adds Orchestrator logic directing Ingest nodes to relay streams to Edge nodes that are subscribed, plus a simple unit test to validate this logic. Relay nodes are not yet considered when constructing routes.
- Loading branch information
Showing
11 changed files
with
440 additions
and
343 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* @file ChannelSubscription.h | ||
* @author Hayden McAfee ([email protected]) | ||
* @date 2020-11-23 | ||
* @copyright Copyright (c) 2020 Hayden McAfee | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include "FtlTypes.h" | ||
#include "IConnection.h" | ||
|
||
#include <memory> | ||
#include <vector> | ||
|
||
/** | ||
* @brief Represents a subscription a node holds to a particular channel | ||
*/ | ||
template <class TConnection> | ||
struct ChannelSubscription | ||
{ | ||
std::shared_ptr<TConnection> SubscribedConnection; | ||
ftl_channel_id_t ChannelId; | ||
std::vector<std::byte> StreamKey; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.