- Timestamp:
- 09/01/11 07:05:41 (21 months ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2
- Children:
- 3b11e65
- Parents:
- 1307e3f5
- File:
-
- 1 edited
-
libs/protobuf/plugin.proto (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libs/protobuf/plugin.proto
rb38e845 r81e420c 23 23 optional bool bool_data = 5; 24 24 } 25 26 message KeyValue { 27 required string key = 1; 28 required string value = 2; 29 repeated string data = 3; 30 } 25 31 26 32 … … 30 36 31 37 message Header { 32 enum Type { 33 QUERY_REQUEST = 1; 34 QUERY_RESPONSE = 2; 35 36 EXEC_REQUEST = 3; 37 EXEC_RESPONSE = 4; 38 39 LOG_MESSAGE = 5; 40 }; 41 required Type type = 1; 42 required Common.Version version = 2; 43 optional Common.Version max_supported_version = 3; 44 45 optional string sender = 17; 46 optional string recipient = 18; 47 optional int64 id = 19; 48 }; 49 38 39 required Common.Version version = 1; 40 optional Common.Version max_supported_version = 2; 41 42 optional string sender = 3; 43 optional string recipient = 4; 44 45 optional int64 id = 16; 46 47 repeated Common.KeyValue metadata = 5; 48 repeated string tags = 6; 49 }; 50 51 message Attachment { 52 53 optional int64 id = 1; 54 required string type = 2; 55 repeated Common.KeyValue metadata = 3; 56 repeated string tags = 4; 57 required string data = 5; 58 }; 59 50 60 message PerformanceData { 51 61 message IntValue { … … 97 107 required string command = 2; 98 108 repeated string arguments = 3; 109 repeated Common.Attachment attachments = 17; 99 110 }; 100 111 101 112 required Common.Header header = 1; 102 113 repeated Request payload = 2; 114 repeated Common.Attachment attachments = 3; 103 115 } 104 116 message QueryResponseMessage { … … 112 124 required Common.ResultCode result = 3; 113 125 required string message = 4; 114 optional string legacyPerf = 17;115 126 repeated Common.PerformanceData perf = 5; 127 repeated Common.Attachment attachments = 17; 116 128 117 129 } … … 119 131 required Common.Header header = 1; 120 132 repeated Response payload = 2; 133 repeated Common.Attachment attachments = 3; 121 134 } 122 135 … … 160 173 required string command = 2; 161 174 repeated string arguments = 3; 175 repeated Common.Attachment attachments = 17; 162 176 }; 163 177 164 178 required Common.Header header = 1; 165 179 repeated Request payload = 2; 180 repeated Common.Attachment attachments = 3; 166 181 } 167 182 message ExecuteResponseMessage { … … 190 205 191 206 optional ResponseData data = 11; 207 repeated Common.Attachment attachments = 17; 192 208 193 209 } 194 210 required Common.Header header = 1; 195 211 repeated Response payload = 2; 212 repeated Common.Attachment attachments = 3; 196 213 } 197 214 … … 206 223 required Common.Header header = 1; 207 224 repeated QueryResponseMessage.Response payload = 2; 225 repeated Common.Attachment attachments = 3; 208 226 } 209 227
Note: See TracChangeset
for help on using the changeset viewer.








