]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.databoard/src/org/simantics/databoard/method/protocol.txt
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.databoard / src / org / simantics / databoard / method / protocol.txt
1 Handshake\r
2 =========\r
3 Peer to peer: (See Handshake.java)\r
4   Version : number \r
5   recvMsgLimit : int32\r
6   sendMsgLimit : int32\r
7   methods : MethodDescription[] \r
8 \r
9 MessageTypes\r
10 =============\r
11 \r
12 Both peers may issue requests and responses\r
13 \r
14 Request:  \r
15   0\r
16   RequestId : int32\r
17   Request : byte[]\r
18   \r
19 Response:\r
20   1\r
21   RequestId : int32\r
22   Response : byte[]\r
23 \r
24 InvokeError  \r
25   2\r
26   RequestId : int32\r
27   Error : byte[]\r
28 \r
29 InvalidMethodError\r
30   3\r
31   RequestId : int32\r
32   \r
33 Exception_\r
34   4\r
35   RequestId : int32\r
36   message : String\r
37 \r
38 ResponseTooLargeError\r
39   5\r
40   RequestId : int32\r
41 \r
42