Commit 776e85be authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 3e4d0dd7
...@@ -491,12 +491,15 @@ type NotifyTransactionFinished struct { ...@@ -491,12 +491,15 @@ type NotifyTransactionFinished struct {
MaxTID zodb.Tid MaxTID zodb.Tid
} }
// XXX move vvv
/*
// Lock information on a transaction. PM -> S. // Lock information on a transaction. PM -> S.
// Notify information on a transaction locked. S -> PM. // Notify information on a transaction locked. S -> PM.
type LockInformation struct { type LockInformation struct {
Ttid zodb.Tid Ttid zodb.Tid
Tid zodb.Tid Tid zodb.Tid
} }
*/
// XXX AnswerInformationLocked ? // XXX AnswerInformationLocked ?
type AnswerLockInformation struct { type AnswerLockInformation struct {
...@@ -517,12 +520,11 @@ type UnlockInformation struct { ...@@ -517,12 +520,11 @@ type UnlockInformation struct {
// Ask new object IDs. C -> PM. // Ask new object IDs. C -> PM.
// Answer new object IDs. PM -> C. // Answer new object IDs. PM -> C.
type GenerateOIDs struct { type AskNewOIDs struct {
NumOIDs uint32 // PNumber NumOIDs uint32 // PNumber
} }
// XXX answer_new_oids ? type AnswerNewOIDs struct {
type AnswerGenerateOIDs struct {
OidList []zodb.Oid OidList []zodb.Oid
} }
...@@ -592,16 +594,18 @@ type StoreTransaction struct { ...@@ -592,16 +594,18 @@ type StoreTransaction struct {
Description string Description string
Extension string Extension string
OidList []zodb.Oid OidList []zodb.Oid
// TODO _answer = PFEmpty
} }
type AnswerStoreTransaction struct {}
// Ask to store a transaction. C -> S. // Ask to store a transaction. C -> S.
// Answer if transaction has been stored. S -> C. // Answer if transaction has been stored. S -> C.
type VoteTransaction struct { type VoteTransaction struct {
Tid zodb.Tid Tid zodb.Tid
// TODO _answer = PFEmpty
} }
type AnswerVoteTransaction struct {}
// Ask a stored object by its OID and a serial or a TID if given. If a serial // Ask a stored object by its OID and a serial or a TID if given. If a serial
// is specified, the specified revision of an object will be returned. If // is specified, the specified revision of an object will be returned. If
// a TID is specified, an object right before the TID will be returned. C -> S. // a TID is specified, an object right before the TID will be returned. C -> S.
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment