NormalizedNode serialization using protocol buffer
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / messages / CreateTransactionReply.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.controller.cluster.datastore.messages;
10
11 import akka.actor.ActorPath;
12
13 /**
14  * This is being deprecated to use sal-protocolbuff-encoding ShardTransactionMessages.CreateTransactionReply
15  * This classes will be removed once complete integration of distribute datastore with
16  * sal-protocolbuff-encoding is done.
17  */
18
19 @Deprecated
20 public class CreateTransactionReply {
21     private final ActorPath transactionPath;
22     private final String transactionId;
23
24     public CreateTransactionReply(ActorPath transactionPath,
25         String transactionId) {
26         this.transactionPath = transactionPath;
27         this.transactionId = transactionId;
28     }
29
30     public ActorPath getTransactionPath() {
31         return transactionPath;
32     }
33
34     public String getTransactionId() {
35         return transactionId;
36     }
37 }