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%2FCloseTransactionReply.java;h=1c47a1827f11f86f26ee13c2d81237adcdd55f6b;hb=daaef05cbf70e6cbec9af181258faead6d9620a6;hp=4910a3ea0e57316075fd1dd65cae3b831eb732f9;hpb=c1362c86eb19e92e6c64d10099a45deb499c6db1;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionReply.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionReply.java index 4910a3ea0e..1c47a1827f 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionReply.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionReply.java @@ -8,5 +8,19 @@ package org.opendaylight.controller.cluster.datastore.messages; -public class CloseTransactionReply { +import org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages; + +public class CloseTransactionReply implements SerializableMessage { + public static final Class SERIALIZABLE_CLASS = + ShardTransactionMessages.CloseTransactionReply.class; + + private static final Object SERIALIZED_INSTANCE = + ShardTransactionMessages.CloseTransactionReply.newBuilder().build(); + + public static final CloseTransactionReply INSTANCE = new CloseTransactionReply(); + + @Override + public Object toSerializable() { + return SERIALIZED_INSTANCE; + } }