From c3f5c6e735dbe2f03a4404d381a7834fba829aea Mon Sep 17 00:00:00 2001 From: erubow Date: Sun, 18 Mar 2007 08:42:12 +0000 Subject: [PATCH] Description of client/server protocol for reads, moves, and transactions. --- Robust/src/Runtime/DSTM/docs/messages | 70 +++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 Robust/src/Runtime/DSTM/docs/messages diff --git a/Robust/src/Runtime/DSTM/docs/messages b/Robust/src/Runtime/DSTM/docs/messages new file mode 100644 index 00000000..b27bceb7 --- /dev/null +++ b/Robust/src/Runtime/DSTM/docs/messages @@ -0,0 +1,70 @@ +control = 1 byte, number = 2 bytes + +Client messages: +OBJECT_FOUND - control, object +>OBJECT_NOT_FOUND - control +>OBJECTS_FOUND - control, number, objects +>OBJECTS_NOT_FOUND - control, number, oids +>TRANS_AGREE - control +>TRANS_DISAGREE - control +>TRANS_SUCCESSFUL - control + +possible conversations (conversation means a tcp connection is maintained throughout): + +OBJECT_FOUND + +OBJECT_NOT_FOUND + +OBJECTS_FOUND + +OBJECTS_NOT_FOUND + +(some objects found, others not) +OBJECTS_NOT_FOUND +>OBJECTS_FOUND + +OBJECT_FOUND + +OBJECT_NOT_FOUND + +OBJECTS_FOUND + +OBJECTS_NOT_FOUND + +(some objects found, others not) +OBJECTS_NOT_FOUND +>OBJECTS_FOUND + +TRANS_DISAGREE +TRANS_AGREE +TRANS_AGREE +TRANS_SUCCESSFUL + -- 2.34.1