Merge "Bug 8873 - Bundle based reconciliation to enable bundling of messages"
[openflowplugin.git] / openflowplugin / src / test / java / org / opendaylight / openflowplugin / openflow / md / core / plan / SwitchTestWaitForRpcEventImpl.java
1 /**
2  * Copyright (c) 2013 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.openflowplugin.openflow.md.core.plan;
10
11 /**
12  * @author mirehak
13  */
14 public class SwitchTestWaitForRpcEventImpl implements SwitchTestWaitForRpcEvent {
15
16     private String rpcName;
17     private long xid;
18
19     @Override
20     public String getRpcName() {
21         return rpcName;
22     }
23
24     @Override
25     public long getXid() {
26         return xid;
27     }
28
29     /**
30      * @param rpcName
31      *            the rpcName to set
32      */
33     public void setRpcName(String rpcName) {
34         this.rpcName = rpcName;
35     }
36
37     /**
38      * @param xid
39      *            the xid to set
40      */
41     public void setXid(long xid) {
42         this.xid = xid;
43     }
44
45     @Override
46     public String toString() {
47         return "SwitchTestWaitForRpcEventImpl [rpcName=" + rpcName + ", xid=" + xid
48                 + "]";
49     }
50 }