]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - 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
diff --git a/bundles/org.simantics.databoard/src/org/simantics/databoard/method/protocol.txt b/bundles/org.simantics.databoard/src/org/simantics/databoard/method/protocol.txt
new file mode 100644 (file)
index 0000000..74bcebd
--- /dev/null
@@ -0,0 +1,42 @@
+Handshake\r
+=========\r
+Peer to peer: (See Handshake.java)\r
+  Version : number \r
+  recvMsgLimit : int32\r
+  sendMsgLimit : int32\r
+  methods : MethodDescription[] \r
+\r
+MessageTypes\r
+=============\r
+\r
+Both peers may issue requests and responses\r
+\r
+Request:  \r
+  0\r
+  RequestId : int32\r
+  Request : byte[]\r
+  \r
+Response:\r
+  1\r
+  RequestId : int32\r
+  Response : byte[]\r
+\r
+InvokeError  \r
+  2\r
+  RequestId : int32\r
+  Error : byte[]\r
+\r
+InvalidMethodError\r
+  3\r
+  RequestId : int32\r
+  \r
+Exception_\r
+  4\r
+  RequestId : int32\r
+  message : String\r
+\r
+ResponseTooLargeError\r
+  5\r
+  RequestId : int32\r
+\r
+  
\ No newline at end of file