1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-06 03:50:04 +02:00

Separate ForwardManager into its own file and attempt to make it a bit more resilient.

This commit is contained in:
Simo Kinnunen 2014-10-14 20:00:49 +09:00
parent 0a6cefcf59
commit 4bbcaa45db
3 changed files with 201 additions and 92 deletions

View file

@ -70,6 +70,8 @@ enum MessageType {
AccountGetMessage = 62;
AccountRemoveMessage = 55;
SdStatusMessage = 61;
DeviceForwardAddEvent = 72;
DeviceForwardRemoveEvent = 73;
}
message Envelope {
@ -406,6 +408,18 @@ message ForwardRemoveMessage {
required uint32 devicePort = 1;
}
message DeviceForwardAddEvent {
required string serial = 1;
required uint32 devicePort = 2;
required string targetHost = 3;
required uint32 targetPort = 4;
}
message DeviceForwardRemoveEvent {
required string serial = 1;
required uint32 devicePort = 2;
}
message BrowserOpenMessage {
required string url = 1;
optional string browser = 2;