Bug 5540 - PacketOutConvertor
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / core / sal / convertor / data / PacketOutConvertorData.java
1 /*
2  * Copyright (c) 2016 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.sal.convertor.data;
10
11 /**
12  * Convertor data used in {@link org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.PacketOutConvertor}
13  * containing Openflow version and XID
14  */
15 public class PacketOutConvertorData extends VersionDatapathIdConvertorData {
16     private Long xid;
17
18     /**
19      * Instantiates a new Packet out convertor data.
20      *
21      * @param version the version
22      */
23     public PacketOutConvertorData(short version) {
24         super(version);
25     }
26
27     /**
28      * Gets xid.
29      *
30      * @return the xid
31      */
32     public Long getXid() {
33         return xid;
34     }
35
36     /**
37      * Sets xid.
38      *
39      * @param xid the xid
40      */
41     public void setXid(Long xid) {
42         this.xid = xid;
43     }
44 }