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