2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.openflowplugin.openflow.md.queue;
10 import org.opendaylight.openflowplugin.api.openflow.md.core.ConnectionConductor;
11 import org.opendaylight.openflowplugin.api.openflow.md.queue.QueueItem;
12 import org.opendaylight.openflowplugin.api.openflow.md.queue.QueueKeeper.QueueType;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader;
16 * QueueItem implementation based on {@link OfHeader}
18 public class QueueItemOFImpl implements QueueItem<OfHeader> {
20 private OfHeader message;
21 private ConnectionConductor connectionConductor;
22 private QueueType queueType;
28 * @param connectionConductor
31 public QueueItemOFImpl(OfHeader message,
32 ConnectionConductor connectionConductor, QueueType queueType) {
33 this.message = message;
34 this.connectionConductor = connectionConductor;
35 this.queueType = queueType;
39 public OfHeader getMessage() {
44 public ConnectionConductor getConnectionConductor() {
45 return connectionConductor;
49 public QueueType getQueueType() {