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.openflow.md.core.ConnectionConductor;
11 import org.opendaylight.openflowplugin.openflow.md.queue.QueueKeeper.QueueType;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader;
15 * QueueItem implementation based on {@link OfHeader}
17 public class QueueItemOFImpl implements QueueItem<OfHeader> {
19 private OfHeader message;
20 private ConnectionConductor connectionConductor;
21 private QueueType queueType;
27 * @param connectionConductor
30 public QueueItemOFImpl(OfHeader message,
31 ConnectionConductor connectionConductor, QueueType queueType) {
32 this.message = message;
33 this.connectionConductor = connectionConductor;
34 this.queueType = queueType;
38 public OfHeader getMessage() {
43 public ConnectionConductor getConnectionConductor() {
44 return connectionConductor;
48 public QueueType getQueueType() {