diff options
| author | Alexander Gavrilov | 2012-03-15 15:33:19 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-03-15 15:33:19 +0400 |
| commit | 4eb481177737fe47cda80808dc4a62bd864a15e0 (patch) | |
| tree | e41f625df61c782a110a68042593312c88e98b7b /library/proto | |
| parent | 605ee9669a5cd4d2f69ca8adcbe96c9e62671b87 (diff) | |
| download | dfhack-4eb481177737fe47cda80808dc4a62bd864a15e0.tar.gz dfhack-4eb481177737fe47cda80808dc4a62bd864a15e0.tar.bz2 dfhack-4eb481177737fe47cda80808dc4a62bd864a15e0.tar.xz | |
Make the DF suspend lock recursive, and add RPC calls for batch suspend.
The idea is that if you have to execute many RPC calls, it is
faster to suspend once. The service class takes care to auto-resume
in the destructor in case the client just disappears.
Diffstat (limited to 'library/proto')
| -rw-r--r-- | library/proto/CoreProtocol.proto | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/library/proto/CoreProtocol.proto b/library/proto/CoreProtocol.proto index 3ebe17a2..efe38c3b 100644 --- a/library/proto/CoreProtocol.proto +++ b/library/proto/CoreProtocol.proto @@ -45,6 +45,14 @@ message CoreErrorNotification { message EmptyMessage {} +message IntMessage { + required int32 value = 1; +} + +message StringMessage { + required string value = 1; +} + message CoreBindRequest { required string method = 1; required string input_msg = 2; |
