diff options
author | Tim Cooper <tim.cooper@layeh.com> | 2015-06-18 20:40:12 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2016-05-08 17:45:52 +0300 |
commit | b5afebee04aaccdaf95f8b871bf00a4ca8ad076c (patch) | |
tree | 6595e8270a9ffab2197c0efe18440ee30f6fbf85 /src/murmur/MurmurRPC.proto | |
parent | 2acd97ae065dc6f0970d620ffb62e3dc17cb797e (diff) |
grpc: implement MetaService.Events
Diffstat (limited to 'src/murmur/MurmurRPC.proto')
-rw-r--r-- | src/murmur/MurmurRPC.proto | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/murmur/MurmurRPC.proto b/src/murmur/MurmurRPC.proto index 5192bef43..cc56c8179 100644 --- a/src/murmur/MurmurRPC.proto +++ b/src/murmur/MurmurRPC.proto @@ -73,18 +73,19 @@ service ServerService { message Event { enum Type { - ServerStarted = 0; - ServerStopped = 1; + ServerStopped = 0; + ServerStarted = 1; }; optional Type type = 1; optional Server server = 2; } service MetaService { - // Get murmur's uptime. + // GetUptime returns murmur's uptime. rpc GetUptime(Void) returns(Uptime); - // Get murmur's version. + // GetVersion returns murmur's version. rpc GetVersion(Void) returns(Version); + // Events returns a stream of murmur events. rpc Events(Void) returns(stream Event); } |