diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2022-10-18 20:22:47 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2022-10-25 11:55:44 +0300 |
commit | 33aea95f02b025ecaf5917b10975119c07c353b3 (patch) | |
tree | 7dcb9d569c5fcfc58680dc8944065f564364aac9 /protocol/agl_shell.proto | |
parent | 0eedfd70b4682a51c81b4b8738ab42f665dc8798 (diff) |
Add more grpc - Asyncstuffsandbox/mvlad/switch-to-grpc
Switch to a more better structure
protocol: Add support for sending out app_state events over gRPC
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I2765d53a2123be0d52225d92c964d39c63ec4902
Diffstat (limited to 'protocol/agl_shell.proto')
-rw-r--r-- | protocol/agl_shell.proto | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/protocol/agl_shell.proto b/protocol/agl_shell.proto index 721fac2..414162b 100644 --- a/protocol/agl_shell.proto +++ b/protocol/agl_shell.proto @@ -3,10 +3,11 @@ import "google/protobuf/empty.proto"; package agl_shell_ipc; service AglShellManagerService { - rpc ActivateApp(ActivateRequest) returns (google.protobuf.Empty) {} - rpc DeactivateApp(DeactivateRequest) returns (google.protobuf.Empty) {} - rpc SetAppSplit(SplitRequest) returns (google.protobuf.Empty) {} - rpc SetAppFloat(FloatRequest) returns (google.protobuf.Empty) {} + rpc ActivateApp(ActivateRequest) returns (google.protobuf.Empty) {} + rpc DeactivateApp(DeactivateRequest) returns (google.protobuf.Empty) {} + rpc SetAppSplit(SplitRequest) returns (google.protobuf.Empty) {} + rpc SetAppFloat(FloatRequest) returns (google.protobuf.Empty) {} + rpc AppStatusState(google.protobuf.Empty) returns (stream AppState) {} } message ActivateRequest { @@ -27,3 +28,7 @@ message FloatRequest { string app_id = 1; } +message AppState { + int32 state = 1; + string app_id = 2; +} |