X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fmessages%2FPreCommitTransactionReply.java;h=d158049409a9a7e23230da76c16ab5b514377ae6;hb=ff0ca2ab34a016be25fc13fc05bfbd6aa698cee0;hp=f499c720d234f817c1d7254cb5e164d4e4b2c5f4;hpb=7d753ff9887cb803bdcd222aec2ab2a0a9c87906;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/PreCommitTransactionReply.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/PreCommitTransactionReply.java index f499c720d2..d158049409 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/PreCommitTransactionReply.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/PreCommitTransactionReply.java @@ -8,5 +8,15 @@ package org.opendaylight.controller.cluster.datastore.messages; -public class PreCommitTransactionReply { +import org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages; + +public class PreCommitTransactionReply implements SerializableMessage{ + + public static final Class SERIALIZABLE_CLASS = + ThreePhaseCommitCohortMessages.PreCommitTransactionReply.class; + + @Override + public Object toSerializable() { + return ThreePhaseCommitCohortMessages.PreCommitTransactionReply.newBuilder().build(); + } }