From 036d4ee490ea99f0f809d37ecb1e9afe03047c85 Mon Sep 17 00:00:00 2001 From: hai007 Date: Fri, 30 Jun 2023 09:56:55 -0700 Subject: [PATCH] Exchange ClientIntroductionFrame/ClientIntroductionAckFrame after reconnected successfully PiperOrigin-RevId: 544683178 --- .../implementation/proto/offline_wire_formats.proto | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/connections/implementation/proto/offline_wire_formats.proto b/connections/implementation/proto/offline_wire_formats.proto index 3280459b..018d4e18 100644 --- a/connections/implementation/proto/offline_wire_formats.proto +++ b/connections/implementation/proto/offline_wire_formats.proto @@ -46,6 +46,7 @@ message V1Frame { AUTHENTICATION_MESSAGE = 8; AUTHENTICATION_RESULT = 9; AUTO_RESUME = 10; + AUTO_RECONNECT = 11; } optional FrameType type = 1; @@ -60,6 +61,7 @@ message V1Frame { optional AuthenticationMessageFrame authentication_message = 9; optional AuthenticationResultFrame authentication_result = 10; optional AutoResumeFrame auto_resume = 11; + optional AutoReconnectFrame auto_reconnect = 12; } message ConnectionRequestFrame { @@ -357,6 +359,16 @@ message AutoResumeFrame { optional int32 next_payload_chunk_index = 3; } +message AutoReconnectFrame { + enum EventType { + UNKNOWN_EVENT_TYPE = 0; + CLIENT_INTRODUCTION = 1; + CLIENT_INTRODUCTION_ACK = 2; + } + optional string endpoint_id = 1; + optional EventType event_type = 2; +} + message MediumMetadata { // True if local device supports 5GHz. optional bool supports_5_ghz = 1;