Internal change

PiperOrigin-RevId: 385574533
This commit is contained in:
hai007
2021-07-19 09:39:19 -07:00
committed by Copybara-Service
parent 7c1f423014
commit c6a170b71b
+7
View File
@@ -34,6 +34,7 @@ message SocketControlFrame {
UNKNOWN_CONTROL_FRAME_TYPE = 0;
INTRODUCTION = 1;
DISCONNECTION = 2;
PACKET_ACKNOWLEDGEMENT = 3;
}
optional ControlFrameType type = 1;
@@ -41,6 +42,7 @@ message SocketControlFrame {
// Exactly one of the following fields will be set.
optional IntroductionFrame introduction = 2;
optional DisconnectionFrame disconnection = 3;
optional PacketAcknowledgementFrame packet_acknowledgement = 4;
}
message IntroductionFrame {
@@ -51,3 +53,8 @@ message IntroductionFrame {
message DisconnectionFrame {
optional bytes service_id_hash = 1;
}
message PacketAcknowledgementFrame {
optional bytes service_id_hash = 1;
optional int32 received_size = 2;
}