diff options
author | fufesou <[email protected]> | 2022-07-26 21:54:18 +0800 |
---|---|---|
committer | fufesou <[email protected]> | 2022-07-26 23:03:30 +0800 |
commit | a4940f4634ab43568dedecacee2f31b5d2dc3907 (patch) | |
tree | 7e48e6f3ed6bc6d9a73758b2393a61b9536cc50d /libs | |
parent | 8c477c8cd04a12d02fc69849a3a337c011179fda (diff) | |
download | rustdesk-server-a4940f4634ab43568dedecacee2f31b5d2dc3907.tar.gz rustdesk-server-a4940f4634ab43568dedecacee2f31b5d2dc3907.zip |
peer_online_state: serve online state
Signed-off-by: fufesou <[email protected]>
Diffstat (limited to 'libs')
-rw-r--r-- | libs/hbb_common/protos/rendezvous.proto | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/hbb_common/protos/rendezvous.proto b/libs/hbb_common/protos/rendezvous.proto index 2c5f1b3..894eba1 100644 --- a/libs/hbb_common/protos/rendezvous.proto +++ b/libs/hbb_common/protos/rendezvous.proto @@ -148,6 +148,16 @@ message PeerDiscovery { string misc = 7; } +message OnlineRequest { + string id = 1; + repeated string peers = 2; +} + +message OnlineResponse { + repeated string onlines = 1; + repeated string offlines = 2; +} + message RendezvousMessage { oneof union { RegisterPeer register_peer = 6; @@ -167,5 +177,7 @@ message RendezvousMessage { TestNatRequest test_nat_request = 20; TestNatResponse test_nat_response = 21; PeerDiscovery peer_discovery = 22; + OnlineRequest online_request = 23; + OnlineResponse online_response = 24; } } |