diff options
| author | Alexander Gavrilov | 2012-03-16 14:11:46 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-03-16 14:11:46 +0400 |
| commit | 976fa18d721df59d8cb4a0c5b500dec2b3634dcc (patch) | |
| tree | 429a1d20fec870ad2cbb1b7720293df451a9e0f9 /library/proto | |
| parent | aa7f13266bf9a9ebdbf0eb4f7340400260b225e0 (diff) | |
| download | dfhack-976fa18d721df59d8cb4a0c5b500dec2b3634dcc.tar.gz dfhack-976fa18d721df59d8cb4a0c5b500dec2b3634dcc.tar.bz2 dfhack-976fa18d721df59d8cb4a0c5b500dec2b3634dcc.tar.xz | |
A number of interface tweaks in RemoteClient.
- Associate a default output stream with the whole connection.
If not explicitly specified in the constructor, uses stdout.
- Add methods that use this default stream to RemoteFunction.
- Add easily usable wrappers for CoreSuspend and CoreResume.
Diffstat (limited to 'library/proto')
| -rw-r--r-- | library/proto/CoreProtocol.proto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/library/proto/CoreProtocol.proto b/library/proto/CoreProtocol.proto index efe38c3b..6f3b8451 100644 --- a/library/proto/CoreProtocol.proto +++ b/library/proto/CoreProtocol.proto @@ -32,6 +32,7 @@ message CoreTextNotification { message CoreErrorNotification { enum ErrorCode { + CR_LINK_FAILURE = -3; CR_WOULD_BREAK = -2; CR_NOT_IMPLEMENTED = -1; CR_OK = 0; @@ -49,10 +50,18 @@ message IntMessage { required int32 value = 1; } +message IntListMessage { + repeated int32 value = 1; +} + message StringMessage { required string value = 1; } +message StringListMessage { + repeated string value = 1; +} + message CoreBindRequest { required string method = 1; required string input_msg = 2; |
