Merge "Introduction of XSQL"
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / src / main / java / org / opendaylight / controller / remote / rpc / messages / InvokeRoutedRpc.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 package org.opendaylight.controller.remote.rpc.messages;
9
10 import org.opendaylight.yangtools.yang.common.QName;
11 import org.opendaylight.yangtools.yang.data.api.CompositeNode;
12 import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
13
14 import java.io.Serializable;
15
16 public class InvokeRoutedRpc implements Serializable {
17
18   private QName rpc;
19   private InstanceIdentifier identifier;
20   private CompositeNode input;
21
22   public InvokeRoutedRpc(QName rpc, InstanceIdentifier identifier, CompositeNode input) {
23     this.rpc = rpc;
24     this.identifier = identifier;
25     this.input = input;
26   }
27
28   public InvokeRoutedRpc(QName rpc, CompositeNode input) {
29     this.rpc = rpc;
30     this.input = input;
31   }
32
33   public QName getRpc() {
34     return rpc;
35   }
36
37   public InstanceIdentifier getIdentifier() {
38     return identifier;
39   }
40
41   public CompositeNode getInput() {
42     return input;
43   }
44 }