mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Roll forward to cl/328359974
Change-Id: If2b57ecc852aecf7dea454648f485fd7c08e72a9
This commit is contained in:
@@ -81,8 +81,8 @@ class EndpointManager {
|
||||
// FrameProcessor* instances are of dynamic duration and survive all sessions.
|
||||
// returns unique handle to be used for unregistering.
|
||||
// Blocks until registration is complete.
|
||||
FrameProcessor::Handle RegisterFrameProcessor(
|
||||
V1Frame::FrameType frame_type, FrameProcessor* processor);
|
||||
FrameProcessor::Handle RegisterFrameProcessor(V1Frame::FrameType frame_type,
|
||||
FrameProcessor* processor);
|
||||
void UnregisterFrameProcessor(V1Frame::FrameType frame_type,
|
||||
const void* handle, bool sync = false);
|
||||
|
||||
@@ -91,6 +91,7 @@ class EndpointManager {
|
||||
// Blocks until registration is complete.
|
||||
void RegisterEndpoint(ClientProxy* client, const std::string& endpoint_id,
|
||||
const ConnectionResponseInfo& info,
|
||||
const ConnectionOptions& options,
|
||||
std::unique_ptr<EndpointChannel> channel,
|
||||
const ConnectionListener& listener);
|
||||
// Called when a client explicitly asks to disconnect from this endpoint. In
|
||||
@@ -201,8 +202,7 @@ class EndpointManager {
|
||||
|
||||
EndpointChannelManager* channel_manager_;
|
||||
|
||||
absl::flat_hash_map<V1Frame::FrameType, FrameProcessor*>
|
||||
frame_processors_;
|
||||
absl::flat_hash_map<V1Frame::FrameType, FrameProcessor*> frame_processors_;
|
||||
|
||||
// We keep track of all registered channel endpoints here.
|
||||
absl::flat_hash_map<std::string, EndpointState> endpoints_;
|
||||
|
||||
Reference in New Issue
Block a user