Merge "Fix for Bug 2290."
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / resources / Cohort.proto
1 package org.opendaylight.controller.mdsal;
2
3 option java_package = "org.opendaylight.controller.protobuff.messages.cohort3pc";
4 option java_outer_classname = "ThreePhaseCommitCohortMessages";
5
6
7 message CanCommitTransaction{
8   optional string transactionId = 1;
9 }
10
11 message CanCommitTransactionReply{
12   required bool canCommit = 1;
13
14 }
15
16 message AbortTransaction{
17   optional string transactionId = 1;
18 }
19
20 message AbortTransactionReply {
21
22 }
23
24 message CommitTransaction{
25   optional string transactionId = 1;
26 }
27
28 message CommitTransactionReply{
29
30 }
31
32 message PreCommitTransaction{
33
34 }
35 message PreCommitTransactionReply{
36
37 }