mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Add ConnectionAttemptMetadata for ConnectionAttempt in AnalyticsRecorder.
PiperOrigin-RevId: 413682624
This commit is contained in:
committed by
Copybara-Service
parent
28ed3c75a4
commit
b48610144b
@@ -458,9 +458,15 @@ class BasePcpHandler : public PcpHandler,
|
||||
// array.
|
||||
std::string GetHashedConnectionToken(const ByteArray& token_bytes);
|
||||
|
||||
static void LogConnectionAttempt(ClientProxy* client, Medium medium,
|
||||
const std::string& endpoint_id,
|
||||
bool is_incoming, absl::Time start_time);
|
||||
static void LogConnectionAttemptFailure(ClientProxy* client, Medium medium,
|
||||
const std::string& endpoint_id,
|
||||
bool is_incoming,
|
||||
absl::Time start_time,
|
||||
EndpointChannel* endpoint_channel);
|
||||
|
||||
static void LogConnectionAttemptSuccess(
|
||||
const std::string& endpoint_id,
|
||||
const PendingConnectionInfo& connection_info);
|
||||
|
||||
// Returns true if the client cancels the operation in progress through the
|
||||
// endpoint id. This is done by CancellationFlag.
|
||||
|
||||
Reference in New Issue
Block a user