From: erubow Date: Sun, 18 Mar 2007 08:42:12 +0000 (+0000) Subject: Description of client/server protocol for reads, moves, and transactions. X-Git-Tag: preEdgeChange~654 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c3f5c6e735dbe2f03a4404d381a7834fba829aea;p=IRC.git Description of client/server protocol for reads, moves, and transactions. --- 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 +