BUG-1075: ingress back pressure
[openflowplugin.git] / openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / queue / Ticket.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.openflow.md.queue;
9
10 import org.opendaylight.openflowplugin.openflow.md.core.ConnectionConductor;
11 import org.opendaylight.openflowplugin.openflow.md.queue.QueueKeeper.QueueType;
12
13 /**
14  * @author mirehak
15  *
16  * @param <IN> source type of process ticket
17  * @param <OUT> resulting type of process ticket
18  */
19 public interface Ticket<IN, OUT> extends TicketResult<OUT> {
20
21     /**
22      * @return connection wrapper
23      */
24     ConnectionConductor getConductor();
25
26     /**
27      * @return processed message
28      */
29     IN getMessage();
30     
31     /**
32      * @return queue type associated with ticket
33      */
34     QueueType getQueueType();
35 }