summaryrefslogtreecommitdiff
path: root/library/proto
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-03-15 15:33:19 +0400
committerAlexander Gavrilov2012-03-15 15:33:19 +0400
commit4eb481177737fe47cda80808dc4a62bd864a15e0 (patch)
treee41f625df61c782a110a68042593312c88e98b7b /library/proto
parent605ee9669a5cd4d2f69ca8adcbe96c9e62671b87 (diff)
downloaddfhack-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.proto8
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;