Bug 1764 - moved Session related interfaces to openflowplugin-api
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / md / queue / QueueItem.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 package org.opendaylight.openflowplugin.api.openflow.md.queue;
9
10 import org.opendaylight.openflowplugin.api.openflow.md.core.ConnectionConductor;
11
12 /**
13  * @param <IN> input message type 
14  */
15 public interface QueueItem<IN> {
16     
17     /**
18      * @return wrapped message
19      */
20     IN getMessage();
21     
22     /**
23      * @return conductor the message arrived to
24      */
25     ConnectionConductor getConnectionConductor();
26     
27     /**
28      * @return queue type associated to this item 
29      */
30     QueueKeeper.QueueType getQueueType();
31 }