Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3396351
D4217.id13612.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D4217.id13612.diff
View Options
diff --git a/native/cpp/CommonCpp/grpc/protos/tunnelbroker.proto b/native/cpp/CommonCpp/grpc/protos/tunnelbroker.proto
--- a/native/cpp/CommonCpp/grpc/protos/tunnelbroker.proto
+++ b/native/cpp/CommonCpp/grpc/protos/tunnelbroker.proto
@@ -76,17 +76,36 @@
repeated string blobHashes = 3;
}
-message OutboundMessage {
+// The messages from the Tunnelbroker to the Client
+
+message OutboundMessageStruct {
string toDeviceID = 1;
string payload = 2;
repeated string blobHashes = 3;
}
-message InboundMessage {
+message OutboundMessage {
+ string sessionID = 1;
+ oneof data {
+ OutboundMessageStruct payloadMessage = 2;
+ string newMessageID = 3;
+ }
+}
+
+// The messages from the Client to the Tunnelbroker
+
+message InboundMessageStruct {
string fromDeviceID = 1;
- string fromConnectionID = 2;
- string payload = 3;
- repeated string blobHashes = 4;
+ string payload = 2;
+ repeated string blobHashes = 3;
+}
+
+message InboundMessage {
+ string sessionID = 1;
+ oneof data {
+ InboundMessageStruct payloadMessage = 2;
+ int32 checkpointTime = 3;
+ }
}
// Old API structures
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 2, 11:55 AM (19 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2607501
Default Alt Text
D4217.id13612.diff (1 KB)
Attached To
Mode
D4217: [services] Tunnelbroker - Add messages request and confirmation method to grpc proto file
Attached
Detach File
Event Timeline
Log In to Comment