Roll forward to cl/333580336

Signed-off-by: Josh Nohle <nohle@google.com>
This commit is contained in:
Josh Nohle
2020-09-24 13:15:16 -07:00
parent af150850cd
commit f53f38144d
56 changed files with 1070 additions and 801 deletions
+5 -4
View File
@@ -11,14 +11,15 @@ namespace connections {
PcpManager::PcpManager(Mediums& mediums,
EndpointChannelManager& channel_manager,
EndpointManager& endpoint_manager) {
EndpointManager& endpoint_manager,
BwuManager& bwu_manager) {
handlers_[Pcp::kP2pCluster] = std::make_unique<P2pClusterPcpHandler>(
&mediums, &endpoint_manager, &channel_manager);
&mediums, &endpoint_manager, &channel_manager, &bwu_manager);
handlers_[Pcp::kP2pStar] = std::make_unique<P2pStarPcpHandler>(
mediums, endpoint_manager, channel_manager);
mediums, endpoint_manager, channel_manager, bwu_manager);
handlers_[Pcp::kP2pPointToPoint] =
std::make_unique<P2pPointToPointPcpHandler>(mediums, endpoint_manager,
channel_manager);
channel_manager, bwu_manager);
}
void PcpManager::DisconnectFromEndpointManager() {