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:
parent
0a6cefcf59
commit
4bbcaa45db
3 changed files with 201 additions and 92 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue